joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42eae0
Capabilities:
Check os version

Disassembly:
sub esp, 0x12c
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [0x489438]
cmp eax, 0xffffffff
jne 0x42ec08
lea eax, [esp + 0xc]
push eax
mov dword [0x489438], 6
mov dword [esp + 0x10], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42ec03
mov eax, dword [esp + 0x10]
cmp eax, 5
jne 0x42eb57
cmp dword [esp + 0x14], 1
jne 0x42ec03
xor eax, eax
mov dword [0x489438], eax
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0044c790
add esp, 0x12c
ret
cmp eax, 6
jne 0x42ec03
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, ecx
jne 0x42eb89
mov eax, 1
mov dword [0x489438], eax
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0044c790
add esp, 0x12c
ret
cmp eax, 1
jne 0x42ebba
xor cx, cx
cmp cx, word [esp + 0x120]
sbb eax, eax
neg eax
add eax, 2
mov dword [0x489438], eax
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0044c790
add esp, 0x12c
ret
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
push eax
lea ecx, [esp + 8]
push ecx
call fcn.0042eaa0
xor eax, eax
add esp, 0xc
cmp dword [esp], 0xa
sete al
add eax, 4
mov dword [0x489438], eax
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0044c790
add esp, 0x12c
ret
mov eax, dword [0x489438]
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0044c790
add esp, 0x12c
ret

Function at 0x42ecd0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebp
mov ebp, dword [esp + 0x238]
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x42ed16
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0044c790
add esp, 0x230
ret
push ebx
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x22c
xor bl, bl
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42ed4f
cmp dword [esp + 0x14], ebp
je 0x42ed47
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42ed30
jmp 0x42ed4f
mov edx, dword [esp + 0x24]
mov dword [edi], edx
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
mov al, bl
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.0044c790
add esp, 0x230
ret

Function at 0x42f210
Capabilities:
Clear file content

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
push 0
push ecx
push edx
push esi
call eax
and eax, edx
cmp eax, 0xffffffff
jne 0x42f236
xor al, al
pop esi
ret 0xc
mov ecx, dword [esi + 4]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [esi]
push 0
push 0
push 0
mov edi, eax
mov eax, dword [edx + 0x18]
push esi
call eax
test edi, edi
pop edi
mov byte [esi + 8], 0
setne al
pop esi
ret 0xc
Function at 0x42f2e0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov byte [eax + 8], 0
mov eax, dword [eax + 4]
test ecx, ecx
je 0x42f326
mov edx, dword [esp + 0xc]
test edx, edx
je 0x42f326
push esi
push 0
lea esi, [esp + 0xc]
push esi
push edx
push ecx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
jne 0x42f31f
or eax, 0xffffffff
ret 0xc
mov eax, dword [esp + 4]
ret 0xc
xor eax, eax
ret 0xc

Function at 0x42f5e0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [esi], vtable.CAuntecBasedThread.0
je 0x42f621
mov al, byte [esi + 4]
test al, al
je 0x42f600
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 8]
test eax, eax
je 0x42f610
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
test byte [esp + 8], 1
je 0x42f631
push esi
call fcn.0044caf8
add esp, 4
mov eax, esi
pop esi
ret 4

Function at 0x42f7b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
cmp dword [esi + 8], 0
jne 0x42f816
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor ecx, ecx
cmp dword [esi + 0x28], 8
mov word [esp + 0x40], cx
mov dword [esp + 0x3c], 1
jb 0x42f7de
mov eax, dword [esi + 0x14]
jmp 0x42f7e1
lea eax, [esi + 0x14]
lea edx, [esp]
push edx
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42f809
xor al, al
add esp, 0x5c
ret
mov edx, dword [esp]
mov eax, dword [esp + 4]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov al, 1
add esp, 0x5c
ret
Function at 0x42f930
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x487550]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0xffffffffffffffff
mov edi, edx
push 0
lea ebx, [esi + 4]
push edi
mov ecx, ebx
mov dword [ebp - 0x128], esi
call fcn.004038f0
mov ax, word [ebp + 8]
mov word [esi + 0x24], ax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x120], 0
test eax, eax
jne 0x42f9b7
cmp dword [edi + 0x18], 0x10
jb 0x42f9a8
mov edi, dword [edi + 4]
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
jmp 0x42fa7b
add edi, 4
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
jmp 0x42fa7b
cmp eax, 1
jne 0x42fa7f
push 0xff
lea ecx, [ebp - 0x11b]
push 0
push ecx
mov byte [ebp - 0x11c], 0
call fcn.00452c80
xor eax, eax
push 0x50
push eax
lea edx, [ebp - 0x180]
mov dword [ebp - 4], eax
push edx
mov dword [ebp - 0x184], eax
call fcn.00452c80
mov eax, 0x10
add esp, 0x18
cmp dword [esi + 0x78], eax
jb 0x42fa06
mov edx, dword [esi + 0x64]
jmp 0x42fa09
lea edx, [esi + 0x64]
cmp dword [edi + 0x18], eax
jb 0x42fa13
mov edi, dword [edi + 4]
jmp 0x42fa16
add edi, 4
push edi
lea ecx, [ebp - 0x184]
call fcn.004372e0
add esp, 4
cmp eax, 0xffffffff
je 0x42fa6e
cmp dword [ebp - 0x184], 0
jle 0x42fa6e
lea eax, [ebp - 0x180]
push 0x100
push eax
lea ecx, [ebp - 0x11c]
call fcn.00437870
add esp, 8
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
lea edx, [ebp - 0x11c]
push edx
mov ecx, ebx
mov dword [ebp - 0x120], eax
call fcn.004039d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x120]
test eax, eax
jne 0x42faaf
push 0x47de10
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0x124], str.Cant_resolve_host_name
call fcn.0044f4cb
mov dword [ebp - 4], 0xffffffff
mov eax, 0x42faa7
ret
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
push ecx
mov dword [esi + 0x20], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0x26], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0044c790
mov esp, ebp
pop ebp
ret 4
Function at 0x42ff50
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x46c7ab
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x844], eax
push ebx
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x59]
push ebx
push eax
mov esi, ecx
mov byte [esp + 0x60], bl
call fcn.00452c80
add esp, 0xc
push 0x3ff
lea ecx, [esp + 0x459]
push ebx
push ecx
mov byte [esp + 0x460], bl
call fcn.00452c80
mov edi, 0x10
add esp, 0xc
cmp dword [esi + 0x1c], edi
jb 0x42ffd1
mov eax, dword [esi + 8]
jmp 0x42ffd4
lea eax, [esi + 8]
movzx edx, word [esi + 0x24]
push edx
push eax
push str.CONNECT__s:_d_HTTP_1.1_r_n_r_n
lea edx, [esp + 0x60]
call fcn.00435090
lea eax, [esp + 0x60]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42fff2
mov ecx, dword [esi + 0x34]
push ebx
sub eax, edx
push eax
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [esi + 0x34]
push ebx
push 0x3ff
lea edx, [esp + 0x45c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 1
jl 0x4300eb
lea edx, [esp + 0x454]
lea ecx, [esp + 0x38]
call fcn.0042c3c0
mov dword [esp + 0x860], ebx
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x430052
lea edx, [esp + 0x3c]
mov eax, edx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x430067
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00403b10
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x34], edi
jae 0x430091
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push 0x47a358
push eax
call fcn.0044d7d7
add esp, 0xc
cmp dword [esp + 0x14], 0xc8
jne 0x4300b4
cmp dword [esp + 0x18], ebx
je 0x4300bb
mov byte [esp + 0x13], 1
jmp 0x4300bf
mov byte [esp + 0x13], bl
cmp dword [esp + 0x34], edi
jb 0x4300d2
mov edx, dword [esp + 0x20]
push edx
call fcn.0044caf8
add esp, 4
cmp byte [esp + 0x13], bl
je 0x4300ef
cmp dword [esp + 0x50], edi
jb 0x4300eb
mov eax, dword [esp + 0x3c]
push eax
call fcn.0044caf8
add esp, 4
xor al, al
jmp 0x430104
cmp dword [esp + 0x50], edi
jb 0x430102
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0044caf8
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.0044c790
add esp, 0x854
ret
Function at 0x431350
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ffd1
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov edi, ecx
mov ecx, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebx
call fcn.0042faf0
push esi
mov eax, edi
call fcn.004318c0
lea eax, [esp + 0x20]
push eax
call fcn.00433790
mov edi, 1
mov dword [esp + 0x7c], edi
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
mov edx, esi
mov byte [esp + 0x84], 2
call fcn.00431bb0
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
lea edi, [ebx + 0x10]
jl 0x4314c9
mov eax, dword [esp + 0x18]
jg 0x431413
cmp eax, ebx
jbe 0x4314c9
push esi
mov ebx, eax
lea ecx, [esp + 0x3c]
call fcn.00431f80
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x88], 3
call fcn.004038f0
cmp dword [esp + 0x50], edi
jb 0x431446
mov eax, dword [esp + 0x3c]
push eax
call fcn.0044caf8
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x6c], edi
jb 0x43145b
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0044caf8
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp eax, ebx
je 0x43148e
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
push edx
call fcn.004157f0
mov eax, dword [esp + 0x30]
push eax
call fcn.0044caf8
add esp, 8
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0044caf8
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044c790
add esp, 0x70
ret 4
push ebp
push esi
call fcn.00431940
jmp 0x431448

Function at 0x4318c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x431904
cmp dword [eax + 0x18], 0x10
push edi
jb 0x4318d9
mov edi, dword [eax + 4]
jmp 0x4318dc
lea edi, [eax + 4]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov eax, dword [ebp + 0x34]
push 0
push esi
push edi
push eax
call ebx
cmp eax, 0xffffffff
je 0x431909
test eax, eax
je 0x431920
cmp eax, esi
je 0x431902
sub esi, eax
add edi, eax
test esi, esi
jg 0x4318e3
pop ebx
pop edi
pop esi
pop ebp
ret 4
push 0x47de5c
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], str.socket_send_failed
call fcn.0044f4cb
push 0x47de5c
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], str.Server_cant_recv_data
call fcn.0044f4cb
int3
Function at 0x431b40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_recv]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov esi, eax
mov edi, ecx
mov eax, dword [ebp + 0x34]
push 0
push esi
push edi
push eax
call ebx
cmp eax, 0xffffffff
je 0x431b78
test eax, eax
je 0x431b8f
cmp eax, esi
je 0x431b71
sub esi, eax
add edi, eax
test esi, esi
ja 0x431b52
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 0x47de5c
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], str.socket_recv_failed
call fcn.0044f4cb
push 0x47de5c
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], str.Server_cant_send_data
call fcn.0044f4cb
int3
Function at 0x437c80
Capabilities:
Get networking parameters

Disassembly:
push 0xffffffffffffffff
push 0x46c48b
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x294]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x1c], 0x248
call sub.IPHLPAPI.DLL_GetNetworkParams
test eax, eax
jne 0x437d5c
mov edi, dword [esp + 0x140]
xor ebx, ebx
cmp edi, ebx
je 0x437d5c
jmp 0x437cf2
xor ebx, ebx
lea ecx, [edi + 4]
mov eax, ecx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x437d10
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00403b10
lea edx, [esp + 0x18]
mov dword [esp + 0x28c], ebx
push edx
mov ebx, ebp
call fcn.00421b70
mov dword [esp + 0x28c], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x437d56
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044caf8
add esp, 4
mov edi, dword [edi]
test edi, edi
jne 0x437cf0
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0044c790
add esp, 0x27c
ret

Function at 0x437f60
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x21c
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_select]
push ebp
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x12c]
push edx
mov ebp, 1
lea edi, [esi + 1]
push edi
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0
call ebx
cmp eax, 0xffffffff
jne 0x437ffc
lea esp, [esp]
call fcn.0044e1bf
cmp dword [eax], 4
jne 0x437ffc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x12c]
push edx
push edi
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebp
call ebx
cmp eax, 0xffffffff
je 0x437fc0
lea eax, [esp + 0x18]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x438047
lea ecx, [esp + 0x120]
push ecx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x438047
mov edx, dword [esp + 0x234]
mov eax, dword [esp + 0x230]
mov ecx, dword [esp + 0x22c]
push edx
push eax
push 0
push 0x10000
push ecx
push esi
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jge 0x43804a
or eax, 0xffffffff
pop edi
pop ebp
pop ebx
add esp, 0x21c
ret
Function at 0x43d540
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46a65b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0044c3af
push 4
mov dword [esp + 0x20], 0
call fcn.0044cbec
mov edi, eax
add esp, 4
test edi, edi
je 0x43d5be
call fcn.0044c220
mov dword [edi], eax
call fcn.0044c04e
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0044c370
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x43d5b3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0044c398
jmp 0x43d5c0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x442bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46b5c8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
lea eax, [esi + 4]
mov dword [esp + 0x14], ebx
push eax
mov dword [esi], vtable.Json::StyledWriter.0
call fcn.00433790
mov dword [esi + 0x30], ebx
mov eax, 0xf
mov dword [esi + 0x34], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x54], 0x4a
mov dword [esi + 0x58], 3
mov byte [esi + 0x5c], bl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x445db0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x864
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x860], eax
push ebp
mov ebp, dword [esp + 0x86c]
push esi
push edi
push 0x7ff
lea eax, [esp + 0x6d]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], 0
mov byte [esp + 0x74], 0
call fcn.00452c80
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x445e04
mov esi, dword [esi + 4]
jmp 0x445e07
add esi, 4
push esi
push ebx
call fcn.00446af0
add esp, 8
test eax, eax
jne 0x445f04
push eax
push eax
push eax
lea ecx, [esp + 0x24]
push ecx
mov eax, ebx
call fcn.004467b0
add esp, 0x10
test eax, eax
jne 0x445f04
mov edi, dword [esp + 0x34]
test edi, edi
jbe 0x445f04
push ebx
call fcn.00446e20
add esp, 4
test eax, eax
jne 0x445ed0
cmp dword [ebp + 0x18], 8
jb 0x445e5b
mov ebp, dword [ebp + 4]
jmp 0x445e5e
add ebp, 4
push 0x47b30c
lea edx, [esp + 0x14]
push ebp
push edx
call fcn.0044eb06
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x445ee1
xor ebp, ebp
mov dword [esp + 0x14], 0
test edi, edi
jbe 0x445ed0
mov esi, edi
sub esi, ebp
cmp esi, 0x800
jbe 0x445e97
mov esi, 0x800
lea eax, [esp + 0x68]
push eax
push ebx
mov ecx, esi
call fcn.00446fc0
add esp, 8
test eax, eax
jle 0x445ec8
mov ecx, dword [esp + 0x10]
push ecx
push 1
push eax
lea edx, [esp + 0x74]
push edx
call fcn.0044ecbb
add ebp, esi
add esp, 0x10
cmp ebp, edi
jb 0x445e86
jmp 0x445ed0
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x10]
test eax, eax
je 0x445ee1
push eax
call fcn.0044edb4
add esp, 4
mov edi, ebx
call fcn.00447220
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x860]
xor ecx, esp
call fcn.0044c790
add esp, 0x864
ret
mov ecx, dword [esp + 0x86c]
pop edi
pop esi
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.0044c790
add esp, 0x864
ret
Function at 0x445f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
lea eax, [esp + 0x20]
mov esi, ecx
push eax
mov dword [esp + 0x3c], esi
mov edi, edx
mov dword [esp + 0x18], 0xffffffff
call fcn.00433790
xor ebx, ebx
cmp esi, ebx
je 0x446092
cmp edi, ebx
je 0x446092
mov eax, esi
lea edx, [eax + 2]
jmp 0x445f70
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x445f70
sub eax, edx
sar eax, 1
je 0x446092
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x445f90
sub eax, edx
sar eax, 1
je 0x446092
mov eax, edi
call fcn.004465b0
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, ebx
je 0x446092
lea ecx, [esp + 0x20]
push ecx
call fcn.00445bc0
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
mov dword [esp + 0xc], eax
je 0x44606d
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp eax, ebx
jbe 0x44606d
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x20]
call fcn.004154c0
mov ecx, eax
lea ebx, [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.0042be40
mov edx, dword [esp + 0x38]
push eax
push edx
lea edi, [esp + 0x60]
call fcn.0040c6b0
add esp, 8
mov esi, ebx
call fcn.00418c90
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov eax, edi
push eax
call fcn.00445db0
add esp, 4
mov esi, edi
test eax, eax
jne 0x44605c
call fcn.00418c90
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0xc]
jb 0x445ff8
jmp 0x446069
mov dword [esp + 0x14], 0xffffffff
call fcn.00418c90
mov esi, ebx
xor ebx, ebx
cmp dword [esi + 0x9c], ebx
je 0x44607c
mov edi, esi
call fcn.00447220
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
push ecx
push edx
call eax
push esi
call fcn.0044d5a4
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4460b8
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x30]
push ecx
call fcn.004157f0
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.0044caf8
add esp, 4
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0044caf8
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044c790
mov esp, ebp
pop ebp
ret

Function at 0x446290
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret