joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430120
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x507b40]
xor eax, esp
mov dword [esp + 0x10], eax
cmp byte [0x509328], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov ebp, ecx
push edi
je 0x430181
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x43014b
mov eax, dword [esi]
mov ecx, 0x509328
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x430170
test dl, dl
je 0x43016c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x430170
add ecx, 2
add eax, 2
test dl, dl
jne 0x430150
xor eax, eax
jmp 0x430175
sbb eax, eax
or eax, 1
test eax, eax
jne 0x430181
mov edi, dword [0x509320]
jmp 0x4301b8
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x43018b
mov eax, dword [esi]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x430241
cmp dword [esi + 0x14], 0xf
jbe 0x4301a4
mov esi, dword [esi]
push esi
push 0x509328
call fcn.0042fea0
add esp, 8
mov dword [0x509320], edi
push 0x33
push dword [ebp + 8]
push dword [ebp]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x430241
mov eax, dword [edi + 0xc]
mov ecx, 2
push dword [esp + 0x2c]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp + 4], eax
mov word [esp + 0x14], cx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push 0x10
push eax
push dword [ebp]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43022a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
cmp eax, 0x2733
pop ebp
sete al
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00498846
add esp, 0x14
ret 8
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00498846
add esp, 0x14
ret 8
mov ecx, dword [esp + 0x20]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00498846
add esp, 0x14
ret 8

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

Disassembly:
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x430282
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor al, al
ret 8
mov al, 1
ret 8
Function at 0x430290
Capabilities:
Create tcp socket
Create thread

Disassembly:
sub esp, 0x18
mov eax, dword [0x507b40]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
mov dword [esi + 0x18], eax
cmp edi, 0xffffffff
jne 0x4302c6
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, edi
je 0x430365
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 8], eax
test eax, eax
je 0x430365
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x430365
cmp edi, 0xffffffff
je 0x430322
push 0x23
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x430365
lea eax, [esp + 8]
mov dword [esp + 8], 0x10
push eax
lea eax, [esp + 0x10]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x430365
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x42ffb0
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x430365
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00498846
add esp, 0x18
ret 0xc
mov ecx, dword [esp + 0x1c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00498846
add esp, 0x18
ret 0xc

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

Disassembly:
sub esp, 0x14
mov eax, dword [0x507b40]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x24]
mov eax, 2
push edi
push dword [esp + 0x24]
mov word [esp + 0xc], ax
mov edi, ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
push eax
push 0
push dword [esp + 0x38]
push esi
push dword [edi]
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x18]
cmp eax, 0xffffffff
pop edi
setne al
pop esi
xor ecx, esp
call fcn.00498846
add esp, 0x14
ret 0x10
Function at 0x430cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c42cc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x507b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x430d06
lea ecx, [edi + 0x70]
mov dword [edi], 0x4ca390
call fcn.00430e80
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 0x10]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00432c70
mov eax, dword [edi]
push 8
mov dword [ebp - 4], 2
mov dword [ebp + 8], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00498854
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x430ddd
push 1
mov byte [ebp - 4], 3
call fcn.00499d11
add esp, 4
mov dword [ebx + 4], eax
jmp 0x430ddf
xor ebx, ebx
mov ecx, esi
mov dword [esi + 0x34], ebx
call fcn.00432030
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
mov byte [esi + 0x48], 0
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea edx, [esi + 0x14]
mov byte [esi + 0x3d], 0
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ebx
mov dword [ecx], 0
mov dword [ebx], 0
mov dword [eax], 0
mov dword [esi + 4], 0
mov dword [edx], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x509374]
mov ecx, dword [0x509378]
mov dword [esi + 0x40], eax
mov eax, edi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x431bb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00498b20
push 0xffffffffffffffff
push 0x4c4470
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x507b40]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x100c]
mov esi, dword [ebp + 0x1010]
mov dword [ebp - 0x18], esi
test edi, edi
jne 0x431c1a
push 0x58
push 0x4ca0c8
push str.szFilename
call fcn.004aa62c
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x431c39
push 0x59
push 0x4ca108
push str.lstrlen_szFilename_
call fcn.004aa62c
add esp, 0xc
push 1
lea ecx, [ebp - 0xd0]
xor ebx, ebx
call fcn.00430cb0
push 0x40
push 0x21
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xd0]
push edi
mov dword [esi], 0xffffffff
mov byte [ebp - 4], 1
call fcn.00432ee0
cmp dword [ebp - 0x74], ebx
je 0x431cd1
push 0
push 0x1000
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004332b0
mov edi, dword [eax + 8]
test edi, edi
je 0x431caf
xor eax, eax
test edi, edi
jle 0x431c6a
nop dword [eax]
mov ebx, dword [esi]
movzx ecx, byte [ebp + eax]
inc eax
movzx edx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [edx*4 + 0x4f00a8]
mov dword [esi], ebx
cmp eax, edi
jl 0x431c90
jmp 0x431c6a
lea ecx, [ebp - 0xd0]
call fcn.00432830
xor ebx, ebx
jmp 0x431cd1
cmp dword [ebp - 0x74], 0
mov dword [ebp - 4], 0
je 0x431ce9
lea ecx, [ebp - 0xd0]
call fcn.00432830
mov eax, dword [ebp - 0xd0]
not dword [esi]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xc0]
call fcn.004313d0
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0xd4], ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.0049a226
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00498846
lea esp, [ebp + 0x1004]
pop ebp
ret
Function at 0x431d90
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x431db2
push 0x86
push 0x4ca158
push 0x4ca180
call fcn.004aa62c
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x431dd4
push 0x87
push str.srcHelpercrc.cpp
push str.lstrlen_string_
call fcn.004aa62c
add esp, 0xc
mov ecx, edi
or edx, 0xffffffff
xor esi, esi
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431de0
sub ecx, ebx
je 0x431e1d
nop dword [eax + eax]
movzx ecx, byte [edi + esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4f00a8]
mov ecx, edi
inc esi
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431e10
sub ecx, ebx
cmp esi, ecx
jb 0x431df0
pop edi
pop esi
mov eax, edx
pop ebx
ret
Function at 0x433ae0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x1c]
test eax, eax
jg 0x433b05
jl 0x433af9
test esi, esi
jne 0x433b05
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 0xc
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x433bd4
mov ebp, eax
lea ecx, [ebx + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x433b37
mov eax, dword [ecx]
mov eax, dword [eax]
jmp 0x433b39
xor eax, eax
cdq
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x433b86
jg 0x433b4c
test esi, esi
je 0x433b86
cmp ebp, eax
jg 0x433b5c
jl 0x433b56
cmp edi, esi
jae 0x433b5c
mov esi, edi
mov dword [esp + 0x10], ebp
push esi
push dword [esp + 0x18]
push dword [esp + 0x28]
call fcn.0049bcf0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x20]
sub edi, esi
sbb ebp, dword [esp + 0x10]
mov eax, dword [ecx]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x433ba6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x433bbe
mov edx, dword [esp + 0x20]
lea ecx, [ebx + 0x2c]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [edx], al
add edx, esi
mov dword [esp + 0x20], edx
test ebp, ebp
jg 0x433b20
jl 0x433bbe
test edi, edi
jne 0x433b20
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x433c17
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x433c1e
cmp ecx, dword [esp + 0x24]
cmovb esi, ecx
push esi
push edx
push ebp
call fcn.0049bcf0
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x24]
jmp 0x433c1e
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x433c87
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x433c48
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x433c72
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.004ab359
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x433c87
cmp edi, eax
ja 0x433c50
test edi, edi
je 0x433c87
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.004ab359
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x28]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
add esp, 0xc
ret 0xc
Function at 0x434810
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c461d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x507b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0xd]
mov dword [ebp - 4], 0
push eax
push 0x100
lea ecx, [ebp - 0x24]
call fcn.00434430
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x14]
push eax
push 0
mov dword [ebp - 0x14], 0
call esi
push dword [ebp - 0x14]
call fcn.00498892
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push eax
push ebx
call esi
mov edi, dword [ebp - 0x24]
mov esi, ebx
test ebx, ebx
je 0x4348fe
mov ebx, dword [ebp - 0x20]
nop dword [eax]
cmp dword [esi + 0x1a0], 6
jne 0x4348f5
cmp dword [esi + 0x190], 6
jne 0x4348f5
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
mov eax, ebx
push str._02X__02X__02X__02X__02X__02X
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x24
mov esi, dword [esi]
test esi, esi
jne 0x4348a0
mov ebx, dword [ebp - 0x18]
push edi
call fcn.00431d90
push ebx
mov esi, eax
call fcn.0049889b
add esp, 8
test edi, edi
je 0x43493c
mov ecx, dword [ebp - 0x1c]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x434932
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434950
push ecx
push edi
call fcn.00498884
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004a9ef2
int3
Function at 0x4436c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
mov eax, dword [0x507b40]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x15
push 0
push 0
push 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
push 0
push eax
mov eax, dword [0x509420]
mov dword [esp + 0x3c], 0
push dword [eax + 0x2a3d8]
call fcn.00405959
mov eax, dword [esp + 8]
lea edx, [esp + 0x20]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esp + 8]
lea edx, [esp + 0x18]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
push 0
mov ecx, dword [eax]
push 0
push edx
push 0
push eax
mov dword [esp + 0x20], esi
call dword [ecx + 0x40]
test esi, esi
jle 0x4437a8
push ebx
mov ebx, dword [esp + 0x20]
lea eax, [ebp*4]
push edi
test ebp, ebp
jle 0x44379b
mov ecx, ebx
mov edi, ebp
nop
mov esi, dword [ecx]
cmp esi, 0xffffffff
je 0x443788
mov edx, esi
mov eax, 0x80808081
shr edx, 0x18
and esi, 0xffffff
imul edx, dword [esp + 0x58]
mul edx
shr edx, 7
shl edx, 0x18
or edx, esi
mov dword [ecx], edx
add ecx, 4
sub edi, 1
jne 0x443760
mov esi, dword [esp + 0x14]
lea eax, [ebp*4]
add ebx, eax
sub esi, 1
mov dword [esp + 0x14], esi
jne 0x443757
pop edi
pop ebx
mov eax, dword [esp + 8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
pop esi
pop ebp
mov dword [ecx + edx*4 + 0x194], eax
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00498846
add esp, 0x3c
ret 0xc
Function at 0x46aa90
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov ebx, ecx
mov ecx, 0x50936c
push str.GroundObjectTiles::Generate
call fcn.004304a0
cmp dword [esp + 0x1c], 0
jne 0x46aab0
call fcn.004ad3e4
push edi
lea edi, [ebx + 0x108]
mov dword [ebx + 0x10c], 0x100
mov dword [edi], 0x100
push 0x1c0000
call fcn.00498892
mov ecx, dword [ebx + 0x10c]
add esp, 4
xor ebp, ebp
mov dword [ebx + 0x120], eax
test ecx, ecx
jle 0x46aba1
nop word [eax + eax]
xor eax, eax
cmp dword [edi], eax
jle 0x46ab8a
nop word [eax + eax]
xor esi, esi
mov ecx, dword [edi]
imul ecx, ebp
add ecx, eax
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [ebx + 0x120]
lea ecx, [ecx + edx*4]
mov byte [ecx + esi], 0
mov ecx, dword [edi]
imul ecx, ebp
add ecx, eax
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [ebx + 0x120]
lea ecx, [ecx + edx*4]
mov byte [ecx + esi + 1], 0
mov ecx, dword [edi]
imul ecx, ebp
add ecx, eax
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [ebx + 0x120]
lea ecx, [ecx + edx*4]
mov byte [ecx + esi + 2], 0
mov ecx, dword [edi]
imul ecx, ebp
add ecx, eax
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [ebx + 0x120]
lea ecx, [ecx + edx*4]
mov byte [ecx + esi + 3], 0
add esi, 4
cmp esi, 0x1c
jl 0x46ab02
inc eax
cmp eax, dword [edi]
jl 0x46ab00
mov ecx, dword [ebx + 0x10c]
inc ebp
cmp ebp, ecx
jl 0x46aaf0
lea ebp, [ebx + 0x108]
jmp 0x46aba3
mov ebp, edi
mov eax, dword [edi]
imul eax, ecx
push eax
call fcn.00498892
add esp, 4
mov dword [ebx + 0x194], eax
mov eax, dword [ebx + 0x110]
pop edi
test eax, eax
jne 0x46abdd
push 0x4cffc0
push str.dat_roads_256.raw
call fcn.004aa88b
mov ecx, dword [ebp]
imul ecx, dword [ebx + 0x10c]
jmp 0x46abfb
cmp eax, 1
jne 0x46ac15
push 0x4cffd8
push str.dat_roads2_256.raw
call fcn.004aa88b
mov ecx, dword [ebx + 0x10c]
imul ecx, dword [ebp]
mov esi, eax
push esi
push ecx
push 1
push dword [ebx + 0x194]
call fcn.004ab359
push esi
call fcn.004aa799
add esp, 0x1c
push 0x4cfff0
mov ecx, 0x50936c
call fcn.004304a0
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x474d10
Capabilities:
Check http status code

Disassembly:
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x50ab9c]
push edi
call fcn.00442d60
mov edi, dword [esp + 0x24]
xor ebx, ebx
cmp edi, 0xc8
mov byte [esp + 0x14], 0x13
setne bl
lea ebx, [ebx*2 + 1]
cmp edi, 0xc9
jne 0x474d4d
mov ebx, 2
jmp 0x474d5b
cmp edi, 0xcb
mov eax, 4
cmove ebx, eax
mov ecx, dword [esi + 0x2b8]
add ecx, 0x140
push 0x1a
call fcn.00434e20
test eax, eax
jne 0x474de7
cmp edi, 0xc8
jne 0x474dcb
mov ecx, dword [esi + 0x2c0]
add ecx, 0x140
push 0x88
call fcn.00434e20
test eax, eax
jne 0x474dcb
mov ecx, dword [0x509434]
lea edx, [esp + 0xc]
push 0
push 0
mov byte [esp + 0x14], 0x40
mov eax, dword [ecx]
push edx
push 5
call dword [eax + 4]
mov ecx, dword [esi + 0x2c0]
push dword [esi + 0x2fc]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x2c0]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x2b8]
push dword [esi + 0x2c0]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x2b8]
jmp 0x474e85
mov ecx, dword [esi + 0x2c0]
add ecx, 0x140
cmp edi, dword [esi + 0x23bc]
je 0x474ebd
push 0x88
call fcn.00434e20
cmp edi, 0xc8
je 0x474e6a
test eax, eax
je 0x474e8a
mov ecx, dword [esi + 0x2b8]
add ecx, 0x140
push 0x87
call fcn.00434e20
test eax, eax
je 0x474e51
mov ecx, dword [esi + 0x2b8]
push dword [esi + 0x2c8]
add ecx, 0x140
call fcn.00435100
mov ecx, dword [esi + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x2c0]
push dword [esi + 0x2fc]
add ecx, 0x140
call fcn.00435100
jmp 0x474e7f
test eax, eax
jne 0x474e8a
mov ecx, dword [esi + 0x2c0]
push dword [esi + 0x2fc]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x2c0]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [0x509434]
lea edx, [esp + 0x14]
mov eax, dword [esi + 0x23a4]
push 0
push 0
mov byte [esp + 0x21], bl
mov dword [esp + 0x1d], eax
mov eax, dword [ecx]
push edx
push 0xa
call dword [eax + 4]
mov dword [esi + 0x23bc], edi
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
push dword [esi + 0x2fc]
call fcn.00435100
mov ecx, dword [esi + 0x2c0]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x2b8]
push dword [esi + 0x2c0]
add ecx, 0x140
call fcn.00435100
mov ecx, dword [esi + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x2b8]
push dword [esi + 0x2c8]
add ecx, 0x140
call fcn.00435100
mov ecx, dword [esi + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
pop edi
mov dword [esi + 0x23bc], 0
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x48da30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c75bb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x507b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x20]
lea eax, [edi + 0x10c]
push eax
mov eax, dword [0x509420]
push 0
push 0
push 0xffff00ff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x15
push 0
push 0
push 0
push 0
push 0x4d6a20
push dword [eax + 0x2a3d8]
call fcn.00405959
push 0x170
call fcn.00498854
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x48dadf
mov ecx, dword [0x509420]
call fcn.0043e2c0
mov ecx, dword [0x509420]
mov esi, eax
call fcn.0043e2d0
push 0
push 0x4d6a34
push esi
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00446a10
jmp 0x48dae1
xor eax, eax
mov dword [edi + 0x19c], eax
mov byte [eax + 0x168], 0
mov eax, dword [edi + 0x19c]
push 0x1ac
mov dword [ebp - 4], 0xffffffff
mov byte [eax + 0x139], 1
call fcn.00498854
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
test ebx, ebx
je 0x48db57
mov ecx, dword [0x509420]
call fcn.0043e2c0
mov ecx, dword [0x509420]
mov esi, eax
call fcn.0043e2c0
push 0
push 0x4d6a3c
push esi
push 0xff
sub eax, 0x7f
mov ecx, ebx
push eax
push 0
push 0
call fcn.004434c0
mov esi, eax
jmp 0x48db59
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push str.Continue
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x30]
push 0
push 0x4d6a58
push 1
mov ecx, esi
mov byte [esi + 0x168], 0
mov dword [esi + 0x150], 0x48de20
mov dword [esi + 0x16c], 9
call fcn.00443680
push 0
push 0x4d6a70
push 2
mov ecx, esi
call fcn.00443680
push 0
push 0x4d6a88
push 0
mov ecx, esi
call fcn.00443680
mov dword [esi + 0x18c], 0xffffffd3
mov dword [esi + 0x190], 0x52
mov ecx, dword [edi + 0x19c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
push 0x17c
call fcn.00498854
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 2
test ebx, ebx
je 0x48dc2a
mov ecx, dword [0x509420]
call fcn.0043e2c0
mov ecx, dword [0x509420]
lea esi, [eax - 0x64]
call fcn.0043e2d0
push 0
push 0x4d6aa0
push esi
sub eax, 0x46
mov ecx, ebx
push eax
push 0x64
push 0x46
push 1
call fcn.00446360
mov esi, eax
jmp 0x48dc2c
xor esi, esi
mov edx, dword [esi]
lea eax, [edi + 0x1a0]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 0x30]
mov dword [esi + 0x150], 0x48de20
mov byte [esi + 0x168], 0
mov dword [esi + 0x16c], 9
mov ecx, dword [edi + 0x19c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x19c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret