joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae020
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4ae053
push esi
call fcn.004b1130
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4ae04c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4ae0d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4ae0c2
mov eax, dword [esi + 8]
test eax, eax
je 0x4ae077
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4ae0be
cmp eax, 2
je 0x4ae0c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4ae06a
cmp eax, 3
je 0x4ae09d
cmp eax, 1
jne 0x4ae06a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4ae06a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4ae06a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004ae100
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4ae0e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004ae100
add esp, 4
pop esi
ret

Function at 0x4beb70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x883c8c]
test eax, eax
jne 0x4bec00
push str.oleaut32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.LoadRegTypeLib
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x883c8c], eax
jne 0x4beb9e
ret
push 0x883c88
push 0x40
push 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x883c8c]
mov byte [0x883c6c], 0xb8
mov dword [0x883c6d], 0x4beab0
mov byte [0x883c71], 0xff
mov byte [0x883c72], 0xe0
mov byte [0x883c73], 0
mov ecx, dword [eax]
mov dword [0x883c74], ecx
mov edx, dword [eax + 4]
mov ecx, dword [0x883c6c]
mov dword [0x883c78], edx
mov dword [eax], ecx
mov eax, dword [0x883c8c]
mov edx, dword [0x883c70]
mov dword [eax + 4], edx
mov eax, 1
ret
Function at 0x4bf8d0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4bf919
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4bfd90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f6780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004bf940
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004bf9c0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004bf9c0
lea ecx, [esi + 0xc]
call fcn.004e57fd
lea ecx, [esi + 0x10]
call fcn.004e57fd
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004c0f50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004c0f50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004c0f50
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004e5872
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004e5872
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c1140
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4c11a6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4c11a6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4c1187
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4e7c8f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e7cc7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004e5d19
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e5cf1
jmp 0x4e7cd3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e937d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4e93bf
call fcn.004ef166
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e93bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e93b6
xor eax, eax
jmp 0x4e93c7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e93cd
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ef696
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4ef6c4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ef6e2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ef5fc
jmp 0x4ef6e2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ef6e2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ef5fc
test edi, edi
mov eax, edi
jne 0x4ef6cc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100015c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, 0x10009108
jmp 0x100043a0
push 0xffffffffffffffff
push 0x1000670e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.10005da6
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [esi + 8]
mov dword [esp + 0x30], 0
call fcn.10005e2a
lea eax, [esp + 8]
mov ecx, esi
push eax
mov byte [esp + 0x1c], 1
mov dword [esi], 0x10007168
call fcn.10004a80
push eax
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.10005dac
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1000442d
push str.88888888
mov ecx, edi
call fcn.10005d88
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x10001650
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10006068
push eax
mov dword fs:[0], esp
lea eax, [esp + 0x10]
mov ecx, 0x10009100
push eax
mov dword [esp + 0xc], 0
call fcn.10005dac
push 0
push 0
push 0
push 0x10001630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0xc
ret
Function at 0x100032e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10006538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
push str.Host:_www.tao123.com
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x10003458
push str.GET___
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x1000334d
push str.GET___4462
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x10003363
push str.GET___HTTP
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x10003458
push str.__4462
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x10]
mov bl, 1
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], bl
call fcn.10002000
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.10005dac
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
push str.User_Agent:
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.10002b30
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.10005dac
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
push edi
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.10002a10
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x10004350
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10001d70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret

Function at 0x10004370
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10001d50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret

Function at 0x10004a80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x208
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push 0x80000002
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10004abe
push 0x100090f8
jmp 0x10004aec
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.WHBarId
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10004ae7
push 0x100090f8
jmp 0x10004aec
lea ecx, [esp + 0xc]
push ecx
mov esi, dword [esp + 0x214]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop esi
add esp, 0x208
ret 4

Function at 0x10004b50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
mov ebp, ecx
push 0x40
push edi
mov dword [esp + 0x18], ebp
call ebx
test eax, eax
jne 0x10004bf6
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call ebx
test eax, eax
jne 0x10004bf6
mov esi, dword [esi + 0x80]
add esi, edi
je 0x10004bf6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10004bf6
mov ebx, dword [esp + 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x14
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10004bf6
mov eax, dword [esi + 0xc]
push ebx
add eax, edi
push eax
call ebp
test eax, eax
je 0x10004bc4
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x10004ba0
mov eax, dword [esi + 0xc]
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x10004bf6
mov esi, dword [esi + 0x10]
add esi, edi
mov eax, dword [esi]
test eax, eax
je 0x10004bf6
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
cmp dword [esi], ecx
je 0x10004c02
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x10004be2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14]
push 0x1c
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x28]
push ecx
push 4
push edx
push eax
call edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
mov dword [esi], ebx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 0x10
Function at 0x10004cd0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [esp + 0x3c]
xor ecx, ecx
mov bl, 4
push edi
mov ax, word [esi]
mov byte [esp + 0x11], bl
test ax, ax
mov byte [esp + 0x10], bl
jne 0x10004cf7
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp ax, 0xffff
jne 0x10004d06
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
mov dl, byte [esi]
inc esi
mov byte [esp + 0xc], dl
mov eax, dword [esp + 0xc]
and eax, 0xff
mov eax, dword [eax*4 + 0x10008778]
test al, 0xf8
je 0x10004d58
test ecx, eax
jne 0x10004d84
or ecx, eax
test al, 0x10
je 0x10004d30
xor bl, 6
jmp 0x10004d39
test al, 0x20
je 0x10004d39
xor byte [esp + 0x11], 6
mov dl, byte [esi]
inc esi
mov byte [esp + 0xc], dl
mov eax, dword [esp + 0xc]
and eax, 0xff
mov eax, dword [eax*4 + 0x10008778]
test al, 0xf8
jne 0x10004d21
mov byte [esp + 0x10], bl
or ecx, eax
cmp dl, 0xf
jne 0x10004d91
mov al, byte [esi]
inc esi
mov byte [esp + 0xc], al
mov eax, dword [esp + 0xc]
and eax, 0xff
or ecx, dword [eax*4 + 0x10008b78]
cmp ecx, 0xffffffff
jne 0x10004dad
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
pop edi
mov byte [esp + 0xc], bl
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp dl, 0xf7
jne 0x10004da0
test byte [esi], 0x38
jne 0x10004dad
or ch, 0x20
jmp 0x10004dad
cmp dl, 0xf6
jne 0x10004dad
test byte [esi], 0x38
jne 0x10004dad
or ch, 1
test ch, 0x40
je 0x10004e1c
mov al, byte [esi]
inc esi
mov bl, al
and bl, 0x38
cmp bl, 0x20
jne 0x10004dca
cmp dl, 0xff
jne 0x10004dca
or ecx, 0x40000
mov dl, al
and al, 7
and dl, 0xc0
cmp dl, 0xc0
je 0x10004e1c
cmp byte [esp + 0x10], 4
jne 0x10004e06
cmp al, 4
jne 0x10004de9
mov al, byte [esi]
or ch, 8
inc esi
and al, 7
cmp dl, 0x40
jne 0x10004df3
or ecx, 1
jmp 0x10004e1c
cmp dl, 0x80
jne 0x10004dfd
or ecx, 4
jmp 0x10004e1c
cmp al, 5
jne 0x10004e1c
or ecx, 4
jmp 0x10004e1c
cmp dl, 0x40
jne 0x10004e10
or ecx, 1
jmp 0x10004e1c
cmp dl, 0x80
je 0x10004e19
cmp al, 6
jne 0x10004e1c
or ecx, 2
push ebp
mov ebp, ecx
mov ebx, ecx
shr ebp, 8
and ebx, 7
and ebp, 7
test ch, 0x10
je 0x10004e3b
mov edx, dword [esp + 0x14]
and edx, 0xff
add ebx, edx
test ch, 0x20
je 0x10004e4b
mov eax, dword [esp + 0x15]
and eax, 0xff
add ebp, eax
xor edi, edi
test ebx, ebx
jbe 0x10004e68
push 0x100090f8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov cl, byte [esi]
inc esi
mov byte [esp + edi + 0x30], cl
inc edi
cmp edi, ebx
jb 0x10004e51
xor edi, edi
test ebp, ebp
jbe 0x10004e85
push 0x100090f8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dl, byte [esi]
inc esi
mov byte [esp + edi + 0x38], dl
inc edi
cmp edi, ebp
jb 0x10004e6e
mov eax, dword [esp + 0x44]
pop ebp
sub esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x40147a
Capabilities:
Execute command
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push edi
push esi
push ebx
sub esp, 0x84
call sym.___main
mov dword [esp + 0x46], 0
mov word [esp + 0x4a], 0
mov ax, word [0x40304d]
mov word [esp + 0x46], ax
mov ax, word [0x40304f]
mov word [esp + 0x48], ax
mov ax, word [0x403051]
mov word [esp + 0x4a], ax
mov dword [esp + 0x60], 0
jmp 0x401691
mov dword [esp + 0x64], 0
jmp 0x40167d
mov dword [esp + 0x68], 0
jmp 0x401669
mov dword [esp + 0x6c], 0
jmp 0x401655
mov dword [esp + 0x70], 0
jmp 0x401641
mov dword [esp + 0x74], 0
jmp 0x40162d
mov dword [esp + 0x78], 0
jmp 0x401619
mov dword [esp + 0x7c], 0
jmp 0x401605
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x46]
shl edx, 1
add eax, edx
mov esi, eax
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x46]
shl edx, 1
add eax, edx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x46]
shl edx, 1
add eax, edx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x46]
shl edx, 1
add eax, edx
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x46]
shl edx, 1
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x46]
shl eax, 1
lea eax, [edx + eax]
mov ebx, eax
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x46]
shl eax, 1
lea eax, [edx + eax]
mov ecx, eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x46]
shl eax, 1
lea eax, [edx + eax]
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], str.1_s2_s3_s4_s5_s6_s7_s8_s9
lea eax, [esp + 0x4c]
mov dword [esp], eax
call sym._sprintf
lea eax, [esp + 0x4c]
mov dword [esp], eax
call sym._puts
lea eax, [esp + 0x4c]
mov dword [esp], eax
call dbg.calc(char*)
mov dword [esp], str.pause
call sub.msvcrt.dll_system
inc dword [esp + 0x7c]
cmp dword [esp + 0x7c], 2
setle al
test al, al
jne 0x401526
inc dword [esp + 0x78]
cmp dword [esp + 0x78], 2
setle al
test al, al
jne 0x401519
inc dword [esp + 0x74]
cmp dword [esp + 0x74], 2
setle al
test al, al
jne 0x40150c
inc dword [esp + 0x70]
cmp dword [esp + 0x70], 2
setle al
test al, al
jne 0x4014ff
inc dword [esp + 0x6c]
cmp dword [esp + 0x6c], 2
setle al
test al, al
jne 0x4014f2
inc dword [esp + 0x68]
cmp dword [esp + 0x68], 2
setle al
test al, al
jne 0x4014e5
inc dword [esp + 0x64]
cmp dword [esp + 0x64], 2
setle al
test al, al
jne 0x4014d8
inc dword [esp + 0x60]
cmp dword [esp + 0x60], 2
setle al
test al, al
jne 0x4014cb
mov eax, 0
add esp, 0x84
pop ebx
pop esi
pop edi
leave
ret
Function at 0x4017a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4017c6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40185a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401815
cmp eax, 0x40
je 0x401815
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4017b9
cmp eax, 0x40
je 0x4017b9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x4017b9
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x444e1e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51353e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.0050b6fc
lea edi, [esi + 0x204]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.0050b234
push 0x1d2
push 0x240
push 0x224
mov byte [esp + 0x20], 1
mov dword [esi], 0x525198
call fcn.004392f0
add esp, 0xc
and eax, 0xffff
mov ecx, esi
push eax
push 0
call fcn.0050bace
call fcn.0050b2d0
mov eax, dword [eax + 4]
push 0
push str.pla_file
lea ecx, [esp + 0x38]
push str.default_dir
push ecx
mov ecx, eax
call fcn.0050bac8
push eax
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.0050b2e2
lea ecx, [esp + 0x30]
mov byte [esp + 0x14], 1
call fcn.0050b22e
mov eax, dword [esi + 0x94]
mov edx, dword [edi]
mov ecx, dword [esp + 0xc]
and eax, 0xff7fffff
mov dword [esi + 0x94], eax
mov dword [esi + 0x8c], edx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x445e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x513634
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.0050b6fc
lea edi, [esi + 0x1fc]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.0050b2a0
mov dword [edi], 0x52057c
lea edi, [esi + 0x210]
mov byte [esp + 0x14], 1
mov ecx, edi
call fcn.0050b2a0
mov dword [edi], 0x52057c
lea edi, [esi + 0x224]
mov byte [esp + 0x14], 2
mov ecx, edi
call fcn.0050b2a0
mov dword [edi], 0x52057c
lea ecx, [esi + 0x238]
mov byte [esp + 0x14], 3
call fcn.00478560
lea ecx, [esi + 0x274]
mov byte [esp + 0x14], 4
call fcn.0050b234
lea edi, [esi + 0x288]
mov byte [esp + 0x14], 5
mov ecx, edi
call fcn.0050b234
mov byte [esp + 0x14], 6
mov dword [esi], 0x525330
mov dword [esi + 0x28c], 0
call fcn.0050b2d0
mov eax, dword [eax + 4]
push 0
push str.prj_file
lea ecx, [esp + 0x38]
push str.default_dir
push ecx
mov ecx, eax
call fcn.0050bac8
push eax
mov ecx, edi
mov byte [esp + 0x18], 7
call fcn.0050b2e2
lea ecx, [esp + 0x30]
mov byte [esp + 0x14], 6
call fcn.0050b22e
mov edx, dword [edi]
mov edi, dword [esi + 0x94]
push 0x9d
and edi, 0xff7fffff
push 0x241
push 0x223
mov dword [esi + 0x8c], edx
mov dword [esi + 0x94], edi
call fcn.004392f0
add esp, 0xc
and eax, 0xffff
push eax
push 0
mov ecx, esi
call fcn.0050bace
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18