joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4577f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x204
push esi
mov esi, ecx
cmp dword [esi + 0x98], 0xfffffffd
jne 0x45780c
xor eax, eax
pop esi
add esp, 0x204
ret
mov eax, dword [0x4e5bb8]
push eax
push 0
push str.ShowLastMPInfo
push str.Scan
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x457830
pop esi
add esp, 0x204
ret
mov edx, dword [esi + 0x1c]
push edi
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x9a
push edx
call fcn.0048fab0
add esp, 0xc
test eax, eax
pop edi
jne 0x457870
lea eax, [esp + 4]
push 0x4d8340
push eax
mov dword [esp + 0xc], 0x20300
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [esp + 0x34]
test al, al
je 0x45791c
mov al, byte [esi + 0x24]
cmp al, 0x10
jne 0x45788a
mov byte [esp + 4], 0x30
jmp 0x45789a
cmp al, 0x90
setne cl
dec ecx
and ecx, 0x20
add ecx, 0x32
mov byte [esp + 4], cl
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
mov ecx, dword [esi + 0x1c]
push 1
push 0
push 0
push 0
push 0
push eax
push 0
push 0x13
push 0xfa
push ecx
call fcn.00482460
add esp, 0x2c
test eax, eax
jne 0x4578de
lea edx, [esp + 4]
push 0x4d8340
push edx
mov dword [esp + 0xc], 0x20300
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [esp + 0x1f6]
test al, 1
je 0x4578f0
push str.__B_
jmp 0x457904
test al, 8
je 0x4578fb
push str.__S_
jmp 0x457904
test al, 4
je 0x45790f
push str.__P_
lea ecx, [esi + 0xe4]
call fcn.004a5764
mov ecx, esi
call fcn.00457930
mov dword [esi + 0xe8], eax
mov eax, 1
pop esi
add esp, 0x204
ret
Function at 0x45f7e0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x854
push ebx
push esi
mov esi, ecx
mov byte [eax], 0xff
mov ecx, dword [esp + 0x864]
push edi
mov word [ecx], 0xffff
mov al, byte [esi + 0x110]
test al, 8
je 0x45f820
cmp byte [esi + 0xec], 1
jne 0x45f820
mov edx, dword [esp + 0x874]
mov ecx, esi
push edx
call fcn.0045ca90
mov eax, dword [0x4e5bb8]
mov ecx, dword [0x4e6170]
push eax
push 2
push str.WriteScriptSectorNum
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edi, [esi + 0x124]
mov bl, al
push str.H27UCG8T2MYR
mov ecx, edi
mov byte [esp + 0x12], bl
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x45f8ac
push str.H27UBG8T2BTR
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x45f8ac
push str.H27UCG8T2ATR
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x45f8ac
push str.H27UBG8T2CTR
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x45f8ac
push str.H27UCG8T2BYR
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x45f8ac
push str.H27UCG8T2BLR
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x45f8ba
cmp bl, 0xa
mov byte [esp + 0xe], bl
ja 0x45f8ba
mov byte [esp + 0xe], 0xa
mov ax, word [esi + 0x26]
mov edx, dword [esi]
push eax
lea ecx, [esp + 0x64]
lea eax, [esp + 0x1d]
push ecx
push eax
lea ecx, [esp + 0x27]
lea eax, [esp + 0x26]
push ecx
push eax
mov ecx, esi
call dword [edx + 0xc]
mov ecx, 0x10
or eax, 0xffffffff
lea edi, [esp + 0x20]
xor bl, bl
rep stosd dword es:[edi], eax
mov al, byte [esp + 0xe]
mov byte [esp + 0xf], 0
test al, al
jbe 0x45f98d
mov edi, dword [esp + 0x86c]
push ebp
mov ebp, dword [esp + 0x874]
mov eax, dword [esp + 0x878]
lea ecx, [esp + 0x13]
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x46c]
push eax
push ecx
lea edx, [esp + 0x28]
push edi
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x30], 0xff
mov dword [esp + 0x34], 0xffff
call fcn.0045f9c0
test eax, eax
je 0x45f95a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebp
push edi
push ecx
push edx
mov ecx, esi
call fcn.0045eac0
test bl, bl
jne 0x45f97a
mov ecx, dword [esp + 0x868]
mov al, byte [esp + 0x14]
mov dx, word [esp + 0x18]
mov byte [ecx], al
mov eax, dword [esp + 0x86c]
mov word [eax], dx
mov al, byte [esp + 0x12]
inc bl
cmp bl, al
jb 0x45f90a
mov al, byte [esp + 0x13]
pop ebp
test al, al
jne 0x45f9a4
lea ecx, [esp + 0x1c]
push 0x4d8340
push ecx
mov dword [esp + 0x24], 0x40f00
call sub.MSVCRT.dll__CxxThrowException
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x854
ret 0x14
Function at 0x469a90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4e5bb8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ecx, dword [0x4e6188]
push eax
push 2
push str.WriteScriptSectorNum
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edi, [esi + 0x124]
push str.H27UCG8T2MYR
mov ecx, edi
mov bl, al
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x469b28
push str.H27UBG8T2BTR
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x469b28
push str.H27UCG8T2ATR
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x469b28
push str.H27UBG8T2CTR
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x469b28
push str.H27UAG8T2CTR
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x469b2f
cmp bl, 0xa
ja 0x469b2f
mov bl, 0xa
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push 1
push edx
push edi
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00436d20
mov ecx, esi
call fcn.00438210
push edi
lea ecx, [ebp + 0xf]
push 0
push ecx
mov ecx, esi
call fcn.00438d80
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 0x192]
mov cx, word [esi + 0x190]
imul edx, ecx
movzx cx, byte [esi + 0x34]
movzx si, bl
lea ecx, [ecx + esi + 2]
and ecx, 0xffff
imul ecx, edx
cmp eax, ecx
jbe 0x469bb3
sub eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4722c0
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
test byte [esi + 0x15c], 0x40
je 0x47234a
mov eax, dword [0x4e5bb8]
push eax
push 0
push str.CheckIsHalfMode
push str.Scan
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x47234a
mov ecx, esi
call fcn.00446160
cmp byte [esi + 0xed], 4
jne 0x47234a
mov ecx, dword [esi + 0x3ac]
cmp ecx, 0x76c000
jb 0x47234a
mov eax, dword [esi + 0x3a8]
xor edx, edx
div ecx
cmp eax, 2
jb 0x47234a
mov eax, dword [esp + 0x320]
mov ecx, dword [esp + 0x640]
cmp eax, 0x3c0
jae 0x472332
cmp ecx, 0x190
jae 0x472341
cmp eax, 0x1ea
jae 0x47234a
cmp ecx, 0xc8
jb 0x47234a
mov eax, 1
pop esi
ret 0x640
xor eax, eax
pop esi
ret 0x640

Function at 0x47a000
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a99d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 4]
mov ecx, dword [0x4e60d8]
push eax
push ecx
lea edx, [esp + 0x14]
push str._sDBG_INFODBG_INFO__02X.TXT
push edx
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CString::Format
mov ebx, dword [esp + 0x34]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
push eax
push 0x80
push 4
push eax
mov eax, dword [esp + 0x1c]
push 1
not ecx
dec ecx
push 0x40000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov esi, eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4853f0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 8]
mov esi, eax
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
ret 4
Function at 0x48c770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aa3e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.0048c560
lea eax, [esp + 0x30]
lea ecx, [esi + 0x10]
push eax
call fcn.004a5776
lea ecx, [esp + 0x34]
lea edi, [esi + 0xc]
push ecx
mov ecx, edi
call fcn.004a5776
lea ebp, [esi + 4]
push 0x4e5a9c
mov ecx, ebp
call fcn.004a5764
lea edx, [esi + 8]
lea ecx, [esp + 0xc]
push edx
call fcn.004a5776
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edi
call fcn.004a57ee
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x20], esp
push str.TITLE
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x38], 4
call fcn.004a57ee
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
push ecx
mov ecx, esi
call fcn.0048caa0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.004a5776
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0xc]
mov ecx, ebp
push edx
call fcn.004a5776
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
add esp, 0x20
ret 8
Function at 0x48e9b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aaabf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x2c]
mov bl, 4
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::Find_1
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x28]
add esi, edx
mov edx, dword [esp + 0x30]
push esi
push edx
call sub.MFC42.DLL_CString::Find_2
cmp esi, 0xffffffff
je 0x48eaa3
cmp eax, 0xffffffff
je 0x48eaa3
sub eax, esi
lea ecx, [esp + 0x28]
push eax
lea eax, [esp + 0x14]
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 5
call fcn.004a5776
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 8]
push 0x4e5a9c
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48ea88
push str.nbsp_
lea ecx, [esp + 0xc]
call fcn.004a5764
mov esi, dword [esp + 0x24]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.004a57ee
mov ebx, 1
mov dword [esp + 0xc], ebx
jmp 0x48eabc
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.004a57ee
mov ebx, 1
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x48f1b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aabc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x31c
push ebx
push esi
mov eax, dword [ebp + 8]
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
push 0x80
mov edi, 1
push 3
push esi
push edi
push 0x80000000
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 8], ebx
jne 0x48f215
lea ecx, [ebp - 0x20]
push 0x4d8340
push ecx
mov dword [ebp - 0x20], esi
call sub.MSVCRT.dll__CxxThrowException
lea edx, [ebp - 0x24]
push esi
push edx
lea eax, [ebp - 0x328]
push 0x200
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x24], 0x200
je 0x48f247
lea ecx, [ebp - 0x18]
push 0x4d8340
push ecx
mov dword [ebp - 0x18], edi
call sub.MSVCRT.dll__CxxThrowException
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x328]
push edx
push 0x10
push str.ALCORFLASHCFG_SZReserved
push 0x100
push eax
call fcn.0048f590
mov esi, dword [ebp + 0xc]
add esp, 0x14
lea ecx, [ebp - 0x128]
lea edx, [ebp - 0x228]
push esi
push 0x100
push ecx
push 0x100
push edx
call fcn.0048f590
add esp, 0x14
mov ecx, 4
mov edi, str.ALCORFLASHCFG_SZReserved
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x48f2e4
lea ecx, [ebp - 0x1c]
push 0x4d8340
push ecx
mov dword [ebp - 0x1c], 2
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0x48f2e1
ret
cmp ebx, 0xffffffff
je 0x48f2f0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48f6a0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x48f70c
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x48f70c
push ebp
push esi
push edi
xor edi, edi
xor eax, eax
mov byte [eax + ecx], al
inc eax
cmp eax, 0x100
jb 0x48f6b8
mov ebp, dword [esp + 0x18]
xor esi, esi
mov eax, esi
xor edx, edx
div ebp
mov al, byte [edx + ebx]
mov dl, byte [esi + ecx]
add edi, edx
add eax, edi
and eax, 0xff
mov edi, eax
mov al, byte [edi + ecx]
xor dl, al
mov byte [esi + ecx], dl
mov al, dl
mov dl, byte [edi + ecx]
xor dl, al
mov byte [edi + ecx], dl
mov al, dl
mov dl, byte [esi + ecx]
xor dl, al
mov byte [esi + ecx], dl
inc esi
cmp esi, 0x100
jb 0x48f6c9
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x48fc90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x80]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x88]
push edi
mov dword [esp + 0x14], ebx
mov byte [esp + 0x13], 0xa
mov dl, byte [esp + 0x78]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x70]
mov cl, byte [esp + 0x74]
mov byte [esp + 0x34], al
mov al, byte [esp + 0x7c]
mov byte [esp + 0x35], cl
mov cl, byte [esp + 0x80]
mov byte [esp + 0x37], al
mov byte [esp + 0x36], dl
mov dl, byte [esp + 0x84]
lea eax, [esp + 0x14]
mov byte [esp + 0x38], cl
push ebx
push eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x20]
mov byte [esp + 0x41], dl
push 0x50
push ecx
lea edx, [esp + 0x28]
push 0x50
push edx
push 0x4d014
push eax
mov word [esp + 0x38], 0x2c
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0xa
mov byte [esp + 0x40], 1
mov byte [esp + 0x3f], 8
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 0x258
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x30
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5d], bl
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [esp + 0x1a], bl
jne 0x48fd64
cmp eax, ebx
jne 0x48fd93
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1f
jne 0x48fd89
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esp + 0x13]
dec al
mov byte [esp + 0x13], al
jne 0x48fcb0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret
Function at 0x48fda0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x84]
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x94]
push edi
shl edx, 9
mov dword [esp + 0x14], ebx
mov byte [esp + 0x13], 0xa
mov dword [esp + 0x94], edx
jmp 0x48fdd7
mov edx, dword [esp + 0x94]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x18]
push ebx
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x74]
mov cl, byte [esp + 0x78]
mov byte [esp + 0x38], al
mov al, byte [esp + 0x80]
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0x7c]
mov byte [esp + 0x39], cl
mov cl, byte [esp + 0x84]
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x8c]
mov byte [esp + 0x3a], dl
mov dl, byte [esp + 0x88]
mov byte [esp + 0x3c], cl
mov cl, byte [esp + 0x90]
mov byte [esp + 0x3e], al
mov byte [esp + 0x3d], dl
mov dl, byte [esp + 0x94]
lea eax, [esp + 0x18]
mov byte [esp + 0x3f], cl
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], dl
push 0x50
push ecx
lea edx, [esp + 0x28]
push 0x50
push edx
push 0x4d014
push ebp
mov word [esp + 0x38], 0x2c
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x10
mov byte [esp + 0x40], bl
mov byte [esp + 0x3f], 8
mov dword [esp + 0x48], 0x1e
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x30
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [esp + 0x1a], bl
jne 0x48fea2
cmp eax, ebx
jne 0x48fed1
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1f
jne 0x48fec7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esp + 0x13]
dec al
mov byte [esp + 0x13], al
jne 0x48fdd0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret
Function at 0x48fee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0xa0]
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0xb0]
push edi
shl edx, 9
mov dword [esp + 0x14], ebx
mov byte [esp + 0x13], 0xa
mov dword [esp + 0xb0], edx
jmp 0x48ff17
mov edx, dword [esp + 0xb0]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x18]
push ebx
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x78]
mov al, byte [esp + 0x74]
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0x7c]
mov byte [esp + 0x39], cl
mov cl, byte [esp + 0x84]
mov byte [esp + 0x38], al
mov al, byte [esp + 0x80]
mov byte [esp + 0x3a], dl
mov dl, byte [esp + 0x88]
mov byte [esp + 0x3c], cl
mov cl, byte [esp + 0x90]
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x8c]
mov byte [esp + 0x3d], dl
mov dl, byte [esp + 0x94]
mov byte [esp + 0x3f], cl
mov cl, byte [esp + 0x9c]
mov byte [esp + 0x3e], al
mov al, byte [esp + 0x98]
mov byte [esp + 0x40], dl
mov dl, byte [esp + 0xa0]
mov byte [esp + 0x42], cl
mov cl, byte [esp + 0xa8]
mov byte [esp + 0x41], al
mov al, byte [esp + 0xa4]
mov byte [esp + 0x43], dl
mov dl, byte [esp + 0xac]
mov byte [esp + 0x45], cl
mov byte [esp + 0x44], al
mov al, byte [esp + 0xb0]
lea ecx, [esp + 0x18]
mov byte [esp + 0x46], dl
push ecx
lea edx, [esp + 0x20]
mov byte [esp + 0x4b], al
push 0x50
push edx
lea eax, [esp + 0x28]
push 0x50
push eax
push 0x4d014
push ebp
mov word [esp + 0x38], 0x2c
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x10
mov byte [esp + 0x40], bl
mov byte [esp + 0x3f], 8
mov dword [esp + 0x48], 0x1e
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x30
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [esp + 0x1a], bl
jne 0x49002f
cmp eax, ebx
jne 0x49005e
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1f
jne 0x490054
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esp + 0x13]
dec al
mov byte [esp + 0x13], al
jne 0x48ff10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret
Function at 0x490070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0xa0]
push ebx
mov bl, byte [esp + 0xa0]
push ebp
mov ebp, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0xb0]
push edi
shl edx, 9
mov dword [esp + 0x14], 0
mov byte [esp + 0x13], 0xa
mov dword [esp + 0xb0], edx
jmp 0x4900b0
mov edx, dword [esp + 0xb0]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x18]
push 0
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x78]
mov byte [esp + 0x1f], al
mov byte [esp + 0x21], al
mov al, byte [esp + 0x74]
mov byte [esp + 0x38], al
mov al, byte [esp + 0x80]
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0x7c]
mov byte [esp + 0x39], cl
mov cl, byte [esp + 0x84]
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x8c]
mov byte [esp + 0x3a], dl
mov dl, byte [esp + 0x88]
mov byte [esp + 0x3c], cl
mov cl, byte [esp + 0x90]
mov byte [esp + 0x3e], al
mov al, byte [esp + 0x98]
mov byte [esp + 0x3d], dl
mov dl, byte [esp + 0x94]
mov byte [esp + 0x3f], cl
mov cl, byte [esp + 0x9c]
mov byte [esp + 0x41], al
mov al, byte [esp + 0xa4]
mov byte [esp + 0x40], dl
mov dl, byte [esp + 0xa0]
mov byte [esp + 0x42], cl
mov cl, byte [esp + 0xa8]
mov byte [esp + 0x44], al
mov byte [esp + 0x43], dl
mov dl, byte [esp + 0xac]
lea eax, [esp + 0x18]
mov byte [esp + 0x45], cl
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4a], dl
push 0x50
push ecx
lea edx, [esp + 0x28]
push 0x50
push edx
push 0x4d014
push ebp
mov word [esp + 0x38], 0x2c
mov byte [esp + 0x3c], 1
mov byte [esp + 0x3e], 0x10
mov byte [esp + 0x40], 1
mov byte [esp + 0x3f], 8
mov dword [esp + 0x48], 0x1e
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x30
mov byte [esp + 0x63], bl
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov cl, byte [esp + 0x1a]
test cl, cl
jne 0x4901c5
test eax, eax
jne 0x4901f4
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1f
jne 0x4901ea
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esp + 0x13]
dec al
mov byte [esp + 0x13], al
jne 0x4900a9
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret