joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40af20
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f95d
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x40af50
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x40af50
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f95d
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x40b025
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x40af79
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40af85
movsx eax, bl
jmp 0x40afbc
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x40b025
cmp eax, 1
jle 0x40afe6
cmp eax, 3
jne 0x40b025
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f95d
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40b004
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40b025
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x40b025
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f95d
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f95d
mov esp, ebp
pop ebp
ret 4
Function at 0x40d450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40d50c
cmp byte [esi + 0x3d], 0
je 0x40d50c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40d4fa
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x40d4c1
sub eax, 1
je 0x40d4c5
sub eax, 2
jne 0x40d4fa
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f95d
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40d4e3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40d4fa
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f95d
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f95d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040f95d
mov esp, ebp
pop ebp
ret
Function at 0x40f670
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41253d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x84]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x67452301
mov dword [ebp - 0x34], 0xefcdab89
mov dword [ebp - 0x30], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
call fcn.0040f510
cmp byte [ebp - 0x84], 0
jne 0x40f7c1
xor edx, edx
lea ecx, [ebp - 0x3f]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x18], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x17], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x16], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x15], al
add edx, 4
cmp edx, 8
jb 0x40f705
mov edx, dword [ebp - 0x40]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x84]
push eax
push 0x419018
call fcn.0040f510
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.0040f510
xor edx, edx
lea ecx, [ebp - 0x37]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x28], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x27], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x26], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x25], al
add edx, 4
cmp edx, 0x10
jb 0x40f774
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.0040f5c0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40f803
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f7f9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fbef
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040f95d
mov esp, ebp
pop ebp
ret
Function at 0x531390
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4b9015
lea edi, [esi - 0xb8015]
mov dword [edi + 0x11c5c4], 0x56016add
push edi
or ebp, 0xffffffff
jmp 0x5313ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5313c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5313b0
mov eax, 1
add ebx, ebx
jne 0x5313d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5313e4
jne 0x531403
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x531403
dec eax
add ebx, ebx
jne 0x5313f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5313c8
add ebx, ebx
jne 0x5313ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x531455
xor ecx, ecx
sub eax, 3
jb 0x53141b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53148a
sar eax, 1
mov ebp, eax
jmp 0x531426
add ebx, ebx
jne 0x531426
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5313f4
inc ecx
add ebx, ebx
jne 0x531434
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5313f4
add ebx, ebx
jne 0x531441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x531436
jne 0x531452
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x531436
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x531474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x531466
jmp 0x5313b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x531474
add edi, ecx
jmp 0x5313b6
pop esi
mov edi, esi
mov ecx, 0x4001
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x531492
cmp byte [edi], 0x22
jne 0x531492
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x531497
lea edi, [esi + 0x12b000]
mov eax, dword [edi]
or eax, eax
je 0x531506
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1314ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x131528]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5314c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x131530]
or eax, eax
je 0x531500
mov dword [ebx], eax
add ebx, 4
jmp 0x5314e1
call dword [esi + 0x13152c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x531537
cmp al, 0xef
ja 0x53152a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x53150c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x531519
mov ebp, dword [esi + 0x131534]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x131592]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x531583
sub esp, 0xffffff80
jmp 0x4013f0
Function at 0x4142e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 0x3f800000
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
push 0x3f800000
push 0x3f800000
lea ecx, [esi + 0x1a0]
mov dword [esi + 0x54], ebx
mov byte [esi + 0x50], 1
mov dword [esi + 0x8c], 0x3f800000
mov dword [esi + 0x88], 0x3f800000
call fcn.00449330
mov eax, dword [esi + 0x88]
push 0x3f800000
push 0x3f800000
push eax
lea ecx, [esi + 0x4d0]
call fcn.00449330
mov byte [esi + 0xa3c], bl
mov byte [esi + 0xa3d], bl
mov dword [esi + 0x92c], ebx
mov byte [esi + 0x74], 1
mov ecx, esi
pop esi
pop ebx
jmp fcn.00413e50

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

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 0x3f800000
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
push 0x3f800000
push 0x3f800000
lea ecx, [esi + 0x1a0]
mov dword [esi + 0x54], ebx
mov byte [esi + 0x50], 1
mov dword [esi + 0x8c], 0x3f800000
mov dword [esi + 0x88], 0x3f800000
call fcn.00449330
mov eax, dword [esi + 0x88]
push 0x3f800000
push 0x3f800000
push eax
lea ecx, [esi + 0x4d0]
call fcn.00449330
mov byte [esi + 0xa3c], bl
mov byte [esi + 0xa3d], bl
mov dword [esi + 0x92c], ebx
mov byte [esi + 0x74], 1
mov ecx, esi
pop esi
pop ebx
jmp fcn.00413e50
Function at 0x42be60
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x244
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
mov dword [esp + 0x10], edi
lea esi, [ebp + 0x1e1b8]
jmp 0x42be80
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x158]
push 0x4a4670
push ecx
mov dword [esi], 0
call fcn.00463c2f
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42bf43
mov edx, dword [esi]
add edx, edi
shl edx, 7
lea ecx, [esp + 0x40]
lea edx, [edx + ebp + 0xa1b8]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x42bed0
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
inc edx
push ebx
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x42bf21
nop
mov edx, dword [esi]
add edx, edi
shl edx, 7
lea ecx, [esp + 0x40]
lea edx, [edx + ebp + 0xa1b8]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x42bf02
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
inc edx
push ebx
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42bef0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x10]
inc ebx
add edi, 0x40
add esi, 4
cmp edi, 0x280
mov dword [esp + 0x10], ebx
jl 0x42be80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x244
ret
Function at 0x42c050
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x440
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov esi, ecx
push str.ModelsEnvironmentGeneric.dmf
mov dword [esi + 0x222f0], 0
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42c13b
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x254]
push str.Generic_s
push edx
call fcn.00463c2f
mov eax, dword [esi + 0x222f0]
add esp, 0xc
shl eax, 7
lea ecx, [esp + 0x250]
lea edx, [eax + esi + 0x202f0]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x42c0c0
inc dword [esi + 0x222f0]
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
test eax, eax
je 0x42c134
lea esp, [esp]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x254]
push str.Generic_s
push eax
call fcn.00463c2f
mov edx, dword [esi + 0x222f0]
add esp, 0xc
shl edx, 7
lea ecx, [esp + 0x250]
lea edx, [edx + esi + 0x202f0]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x42c111
mov edx, dword [esi + 0x222f0]
lea eax, [esp + 0x10]
push eax
inc edx
push edi
mov dword [esi + 0x222f0], edx
call ebp
test eax, eax
jne 0x42c0e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edi, [esi + 0x201ec]
push edi
lea ecx, [esp + 0x354]
push str.ModelsEnvironment_s.dmf
push ecx
call fcn.00463c2f
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x354]
push eax
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42c21c
lea ecx, [esp + 0x3c]
push ecx
push edi
lea edx, [esp + 0x158]
push str._s_s
push edx
call fcn.00463c2f
mov eax, dword [esi + 0x222f0]
add esp, 0x10
shl eax, 7
lea ecx, [esp + 0x150]
lea edx, [eax + esi + 0x202f0]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x42c1a3
inc dword [esi + 0x222f0]
lea ecx, [esp + 0x10]
push ecx
push ebx
call ebp
test eax, eax
je 0x42c215
nop
lea edx, [esp + 0x3c]
push edx
push edi
lea eax, [esp + 0x158]
push str._s_s
push eax
call fcn.00463c2f
mov edx, dword [esi + 0x222f0]
add esp, 0x10
shl edx, 7
lea ecx, [esp + 0x150]
lea edx, [edx + esi + 0x202f0]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x42c1f2
mov edx, dword [esi + 0x222f0]
lea eax, [esp + 0x10]
push eax
inc edx
push ebx
mov dword [esi + 0x222f0], edx
call ebp
test eax, eax
jne 0x42c1c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x440
ret
Function at 0x432d20
Capabilities:
Get geographical location

Disassembly:
push ecx
push ebx
push esi
push edi
push 0xac
mov ebx, ecx
call fcn.00459630
add esp, 4
test eax, eax
je 0x432d42
mov ecx, eax
call fcn.00436620
mov edi, eax
jmp 0x432d44
xor edi, edi
mov al, byte [ebx + 0x45]
mov esi, dword [esp + 0x14]
mov byte [edi + 0x9b], al
mov ecx, dword [0x4b3634]
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00433830
test al, al
jne 0x432d72
pop edi
pop esi
mov byte [ebx + 0x44], al
pop ebx
pop ecx
ret 4
push str.behavior
mov ecx, esi
call fcn.0045c4a0
test eax, eax
jne 0x432d9a
mov eax, dword [ebx + 0x1c]
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [eax + 0x1c]
add eax, 4
cmp ecx, 0x10
jb 0x432db7
mov eax, dword [eax + 4]
jmp 0x432dba
push str.behavior
mov ecx, esi
call fcn.0045c4a0
mov edx, dword [eax + 4]
push edx
mov ecx, ebx
call fcn.004323e0
test eax, eax
jne 0x432dc2
jmp 0x432d82
add eax, 4
mov ecx, ebx
push eax
call fcn.004323e0
push str.RADIUS
mov ecx, esi
mov dword [edi + 0x68], eax
call fcn.0045c570
test eax, eax
je 0x432df3
push str.RADIUS
mov ecx, esi
call fcn.0045c570
mov eax, dword [eax + 4]
push eax
call fcn.00463bd0
fstp dword [edi + 0x9c]
add esp, 4
push str.LONGITUDE
mov ecx, esi
call fcn.0045c570
test eax, eax
je 0x432e27
push str.LONGITUDE
mov ecx, esi
call fcn.0045c570
mov ecx, dword [eax + 4]
push ecx
call fcn.00463bd0
fmul dword [0x4a4d7c]
add esp, 4
fstp dword [edi + 0xa0]
push str.LATITUDE
mov ecx, esi
call fcn.0045c570
test eax, eax
je 0x432e5b
push str.LATITUDE
mov ecx, esi
call fcn.0045c570
mov edx, dword [eax + 4]
push edx
call fcn.00463bd0
fmul dword [0x4a4d7c]
add esp, 4
fstp dword [edi + 0xa4]
push str.INVERTED
mov ecx, esi
call fcn.0045c570
test eax, eax
setne al
push str.TEXTURE
mov ecx, esi
mov byte [edi + 0xa8], al
call fcn.0045c570
test eax, eax
je 0x432e94
push str.TEXTURE
mov ecx, esi
call fcn.0045c570
mov ecx, dword [eax + 4]
push ecx
jmp 0x432e96
push 0
mov ecx, edi
call fcn.00436780
lea edx, [esp + 0xc]
push edx
lea ecx, [ebx + 4]
call fcn.004329e0
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x436ef0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40c
push edi
mov edi, ecx
mov dword [esp + 8], edi
call fcn.00401bb0
test al, al
jne 0x436f0e
pop edi
add esp, 0x40c
ret
mov eax, dword [0x4b3998]
push esi
push str.highscores.hst
push eax
lea ecx, [esp + 0x1c]
push 0x4a2340
push ecx
call fcn.00463c2f
lea edx, [esp + 0x24]
push 0x4a2694
push edx
call fcn.00463fc2
mov esi, eax
add esp, 0x18
test esi, esi
mov dword [esp + 0x10], esi
je 0x436fc0
push esi
push 1
lea eax, [esp + 0x10]
push 4
push eax
mov dword [esp + 0x18], 0xa
call fcn.00463e3b
mov eax, dword [esp + 0x18]
add esp, 0x10
test eax, eax
jle 0x436fa6
push ebx
mov esi, 0xffffffe5
push ebp
lea ecx, [edi + 0x1c]
sub esi, edi
mov ebx, eax
mov edi, 0x1c
lea ebx, [ebx]
mov eax, 0x77
cdq
lea ebp, [esi + ecx]
idiv ebp
add dl, byte [ecx]
xor dl, 0x53
mov byte [ecx], dl
inc ecx
dec edi
jne 0x436f80
sub esi, 0x1c
dec ebx
jne 0x436f75
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
pop ebp
pop ebx
push esi
push 1
push 0xaf0
add edi, 0x1c
push edi
call fcn.00463e3b
push esi
call fcn.00463f42
add esp, 0x14
mov ecx, dword [0x4b3118]
pop esi
mov dword [ecx + 0x2c], 0
mov al, 1
pop edi
add esp, 0x40c
ret

Function at 0x43ac40
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov edx, dword [esi + 4]
lea ecx, [esi + 0xc]
push ecx
push 0
push esi
push edx
push 0
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
mov dword [esi + 0x18], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
ret 4

Function at 0x43ac80
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x43acba
push edi
lea edi, [esi + 0x18]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [edi], 0x103
pop edi
jne 0x43acb3
mov al, byte [esp + 8]
test al, al
je 0x43acb3
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 8], 0
mov eax, dword [esi + 0x18]
pop esi
ret 4
Function at 0x4598b0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x459969
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x459969
push esi
lea eax, [esp + 0x10]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x18], eax
jbe 0x45995d
push eax
call fcn.00459630
mov esi, eax
add esp, 4
test esi, esi
jne 0x4598fc
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x459954
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4a447c
push esi
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x459954
mov eax, dword [esp + 0xc]
test eax, eax
je 0x459954
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.00459680
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call fcn.00459680
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
add esp, 8
ret
pop edi
mov eax, 0x80070057
pop ebx
add esp, 8
ret
Function at 0x460bf0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push edi
push 0
push 0x23
push 0x4cebf0
push 0
call esi
mov al, byte [0x4cebf1]
mov bl, 0x3a
cmp al, bl
je 0x460c9f
push 0
push 0x24
push 0x4cebf0
push 0
call esi
mov edi, 0x4cebf0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x460c28
mov ecx, 7
mov esi, str.All_UsersApplication_Data
rep movsd dword es:[edi], dword [esi]
cmp byte [0x4cebf1], bl
je 0x460c9f
push str.windir
call fcn.00464bc6
add esp, 4
test eax, eax
je 0x460c84
mov edx, 0x4cebf0
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x460c60
mov edi, 0x4cebf0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x460c70
mov ecx, 7
mov esi, str.All_UsersApplication_Data
rep movsd dword es:[edi], dword [esi]
cmp byte [0x4cebf1], bl
je 0x460c9f
mov ecx, 9
mov esi, str.C:WindowsAll_UsersApplication_Data
mov edi, 0x4cebf0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, 0x4cebf0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x460ca5
mov ecx, 7
mov esi, str.Sandlot_GamesIncrediball_
mov eax, 0x4cebf0
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4cebf3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x460cc6
sub eax, edx
lea ebx, [eax + 0x4cebf0]
cmp ebx, 0x4cebf3
je 0x460d01
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [esi]
cmp al, 0x5c
je 0x460ced
cmp al, 0x2f
jne 0x460cfc
push 0
push 0x4cebf0
mov byte [esi], 0
call edi
mov byte [esi], 0x5c
inc esi
cmp esi, ebx
jne 0x460ce3
pop edi
pop esi
pop ebx
ret

Function at 0x4623c0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x540
mov eax, dword [str.Fonts]
mov ecx, dword [0x4a7570]
mov dword [esp + 0x140], eax
lea eax, [esp + 0x140]
mov dword [esp + 0x144], ecx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4623f0
push esi
sub eax, edx
push edi
lea edx, [esp + 8]
lea edi, [esp + eax + 0x147]
push edx
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x462474
push ebx
mov ebx, dword [esp + 0x550]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x462430
test byte [esp + 0x10], 0x10
jne 0x46245f
cmp byte [esp + 0x3c], 0x2e
je 0x46245f
lea eax, [esp + 0x3c]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x462448
lea edx, [esp + 0x150]
push edx
call ebx
add esp, 4
lea eax, [esp + 0x10]
push eax
push esi
call ebp
test eax, eax
jne 0x462430
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x540
ret