joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004598c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100459fa
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
mov dword [ecx + eax], edx
jmp 0x10045a02
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret
Function at 0x1007e5e7
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1009338c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10078744
mov dword [ebp - 0x14], eax
cmp dword [0x14b2953c], esi
jne 0x1007e6da
push 0x800
push esi
push 0x100079e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007e667
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007e7ba
push esi
push esi
push 0x100079e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007e7ba
push 0x100079fc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007e7ba
push eax
call ebx
push 0x10007a08
push edi
mov dword [0x14b2953c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007a18
push edi
mov dword [0x14b29540], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007a2c
push edi
mov dword [0x14b29544], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x14b2954c], eax
test eax, eax
je 0x1007e6d7
push 0x10007a48
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x14b29548], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007e6ff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007e6f2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007e714
push 4
pop eax
jmp 0x1007e7bc
cmp dword [ebp - 0x14], esi
je 0x1007e714
push dword [0x14b2953c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007e6f9
mov eax, dword [0x14b29548]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007e772
cmp dword [0x14b2954c], edi
je 0x1007e772
push eax
call ebx
push dword [0x14b2954c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007e772
test eax, eax
je 0x1007e772
call ecx
test eax, eax
je 0x1007e767
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007e767
test byte [ebp - 8], 1
jne 0x1007e772
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007e7a2
mov eax, dword [0x14b29540]
cmp eax, edi
je 0x1007e79f
push eax
call ebx
test eax, eax
je 0x1007e79f
call eax
mov esi, eax
test esi, esi
je 0x1007e79f
mov eax, dword [0x14b29544]
cmp eax, edi
je 0x1007e79f
push eax
call ebx
test eax, eax
je 0x1007e79f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x14b2953c]
call ebx
test eax, eax
je 0x1007e7ba
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007e7bc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x69a4c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a7000]
push edi
or ebp, 0xffffffff
jmp 0x69a4e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x69a4e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69a4d8
mov eax, 1
add ebx, ebx
jne 0x69a4fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x69a50c
jne 0x69a52b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69a52b
dec eax
add ebx, ebx
jne 0x69a518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x69a4f0
add ebx, ebx
jne 0x69a527
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x69a57d
xor ecx, ecx
sub eax, 3
jb 0x69a543
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x69a5b2
sar eax, 1
mov ebp, eax
jmp 0x69a54e
add ebx, ebx
jne 0x69a54e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69a51c
inc ecx
add ebx, ebx
jne 0x69a55c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69a51c
add ebx, ebx
jne 0x69a569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x69a55e
jne 0x69a57a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x69a55e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x69a59c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x69a58e
jmp 0x69a4de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x69a59c
add edi, ecx
jmp 0x69a4de
pop esi
mov edi, esi
mov ecx, 0x629a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x69a5ba
cmp byte [edi], 0x19
jne 0x69a5ba
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 0x69a5bf
lea edi, [esi + 0x291000]
mov eax, dword [edi]
or eax, eax
je 0x69a637
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x29ffac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a00ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x69a5ec
mov ecx, edi
jns 0x69a61b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a00f0]
or eax, eax
je 0x69a631
mov dword [ebx], eax
add ebx, 4
jmp 0x69a609
call dword [esi + 0x2a0100]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x69a668
cmp al, 0xef
ja 0x69a65b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x69a63d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x69a64a
mov ebp, dword [esi + 0x2a00f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x69a69c
sub esp, 0xffffff80
jmp 0x4a81be
Function at 0x4051eb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4a4098], 0
je 0x405253
mov eax, dword [0x4a4098]
mov dword [ebp - 4], eax
mov ecx, dword [0x4a4098]
mov edx, dword [ecx + 0xa6]
mov dword [0x4a4098], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0xa6], 0
cmp dword [0x4a409c], 0
je 0x405237
mov ecx, dword [0x4a409c]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xa6], edx
mov eax, dword [ebp - 4]
mov dword [0x4a409c], eax
cmp dword [0x4a4094], 0
jne 0x405251
mov ecx, dword [ebp - 4]
mov dword [0x4a4094], ecx
jmp 0x405267
mov dword [ebp - 4], 0
push str.CITY_node_overflow
call fcn.00450460
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40b00a
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [0x4a5b44]
push eax
mov ecx, dword [0x4a5b40]
push ecx
call fcn.0040b46e
add esp, 8
cmp dword [ebp + 0xc], 0
jne 0x40b0cf
mov dword [ebp - 0x28], 0x485078
mov edx, dword [ebp + 8]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x48], 0x40ae70
mov eax, dword [0x4a58e8]
and eax, 0x100
test eax, eax
jne 0x40b06c
push 0x67
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4c19e0], eax
jmp 0x40b076
mov dword [0x4c19e0], 0
mov edx, dword [0x4c19e0]
mov dword [ebp - 0x34], edx
push 0x7b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], 0xb
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x40b0cf
xor eax, eax
jmp 0x40b227
mov dword [0x4c19d0], 0x14
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x1e0
cdq
sub eax, edx
sar eax, 1
mov dword [0x4c19d4], eax
mov edx, dword [0x4c19d0]
add edx, 0x289
mov dword [0x4c19d8], edx
mov eax, dword [0x4c19d4]
add eax, 0x1fc
mov dword [0x4c19dc], eax
cmp dword [0x4849a8], 1
jne 0x40b152
push 1
call fcn.00451581
add esp, 4
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0xa
push 0xa
push 0
push 0
push 0x80000000
push 0x48508c
push 0x485098
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
jmp 0x40b1a6
push 0
call fcn.00451581
add esp, 4
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov eax, dword [0x4c19dc]
sub eax, dword [0x4c19d4]
push eax
mov ecx, dword [0x4c19d8]
sub ecx, dword [0x4c19d0]
push ecx
mov edx, dword [0x4c19d4]
push edx
mov eax, dword [0x4c19d0]
push eax
push 0xcf0000
push 0x4850ac
push str.Sango2_for_Windows
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40b1b0
xor eax, eax
jmp 0x40b227
mov ecx, dword [ebp + 0x14]
mov dword [0x4c19e4], ecx
mov edx, dword [ebp - 4]
mov dword [0x4a4610], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4a5b44]
mov ecx, dword [eax]
movsx edx, byte [ecx + 1]
cmp edx, 0x3a
jne 0x40b1f9
mov eax, dword [0x4a5b44]
mov ecx, dword [eax]
mov dl, byte [ecx]
mov byte [0x4849b4], dl
call fcn.004300f0
movsx eax, byte [0x4a4420]
test eax, eax
je 0x40b21f
push 0
push str.SANGO_II_Error_Message
push 0x4a4420
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40b22d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4849a8], 1
jne 0x40b2d5
mov eax, dword [0x4bb3cc]
push eax
mov ecx, dword [0x4bb3c4]
push ecx
mov edx, dword [0x4bb3b8]
push edx
mov eax, dword [0x4a4610]
push eax
call fcn.00451411
add esp, 0x10
push 1
call fcn.00451581
add esp, 4
push 0
push 0x1e0
push 0x280
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [0x4a4610]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xffffffffffffffec
mov edx, dword [0x4a4610]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
or al, 8
push eax
push 0xffffffffffffffec
mov eax, dword [0x4a4610]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 8
push 0xffffffffffffffec
mov ecx, dword [0x4a4610]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x80000000
push 0xfffffffffffffff0
mov edx, dword [0x4a4610]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x40b438
push 0
call fcn.00451581
add esp, 4
mov eax, dword [0x4bb3cc]
push eax
mov ecx, dword [0x4bb3c4]
push ecx
mov edx, dword [0x4bb3b8]
push edx
mov eax, dword [0x4a4610]
push eax
call fcn.00451411
add esp, 0x10
push 0xffffffffffffffec
mov ecx, dword [0x4a4610]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0xf7
push eax
push 0xffffffffffffffec
mov edx, dword [0x4a4610]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xcf0000
push 0xfffffffffffffff0
mov eax, dword [0x4a4610]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x60
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
push 0
push 0xfffffffffffffffe
mov ecx, dword [0x4a4610]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
mov edx, dword [0x4c19dc]
sub edx, dword [0x4c19d4]
push edx
mov eax, dword [0x4c19d8]
sub eax, dword [0x4c19d0]
push eax
mov ecx, dword [0x4c19d4]
push ecx
mov edx, dword [0x4c19d0]
push edx
push 0xfffffffffffffffe
mov eax, dword [0x4a4610]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [0x4a4610]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x4c19d0
mov eax, dword [0x4a4610]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, 0x280
sub ecx, dword [ebp - 8]
mov edx, dword [0x4c19d8]
add edx, ecx
mov dword [0x4c19d8], edx
mov eax, 0x1e0
sub eax, dword [ebp - 4]
mov ecx, dword [0x4c19dc]
add ecx, eax
mov dword [0x4c19dc], ecx
push 6
mov edx, dword [0x4c19dc]
sub edx, dword [0x4c19d4]
push edx
mov eax, dword [0x4c19d8]
sub eax, dword [0x4c19d0]
push eax
mov ecx, dword [0x4c19d4]
push ecx
mov edx, dword [0x4c19d0]
push edx
push 0xfffffffffffffffe
mov eax, dword [0x4a4610]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x4a4610]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x4c19e4]
push edx
mov eax, dword [0x4a4610]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x10
push 0x1e0
push 0x280
mov ecx, dword [0x4a4610]
push ecx
call fcn.00450fc4
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x40ba27
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0x14
push str.ODIN
push str.NIDO
call fcn.0046d960
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0x48518c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40bb37
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x4851b0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40baa1
mov ecx, dword [ebp - 4]
mov dword [0x484dd4], ecx
mov dword [ebp - 8], 4
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4851b8
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bad0
mov edx, dword [ebp - 4]
mov dword [0x484dd8], edx
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x4851c4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bafe
mov eax, dword [ebp - 4]
mov dword [0x484ddc], eax
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x4851d0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bb2d
mov ecx, dword [ebp - 4]
mov dword [0x484de0], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x40bb3b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareODINSOFTSango2Settings
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40bc31
mov edx, dword [0x484dd4]
mov dword [ebp - 4], edx
mov dword [ebp - 8], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.Status
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [0x484dd8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 4
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 4
push 0
push str.SoundVolume
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [0x484ddc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 4
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.MusicVolume
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x484de0]
mov dword [ebp - 4], edx
mov dword [ebp - 8], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.Effect
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x42c52e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xd7], 0
lea ecx, [ebp - 0x84]
push ecx
push 1
push str.CITY
mov edx, dword [ebp + 8]
push edx
call fcn.00455282
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42c680
lea eax, [ebp - 0x84]
push eax
call fcn.0040539b
add esp, 4
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x42c643
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x91], 8
jne 0x42c5b6
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406ed2
add esp, 8
mov eax, 1
jmp 0x42c682
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x91], 0x2000
jne 0x42c5d4
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xd7], 0
jmp 0x42c641
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x10], 0
jne 0x42c615
mov ecx, dword [ebp + 0xc]
push ecx
push 0x48a420
call fcn.00450460
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x91], 8
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00406ed2
add esp, 8
xor eax, eax
jmp 0x42c682
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406d93
add esp, 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xcb]
mov dword [ecx + 0xcf], eax
mov eax, 1
jmp 0x42c682
jmp 0x42c680
movsx ecx, byte [ebp - 0x84]
test ecx, ecx
je 0x42c666
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x48a430
call fcn.00450460
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x91], 0x2000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xd7], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42dc00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov dword [ebp - 0xb0], 0
jmp 0x42dc24
mov eax, dword [ebp - 0xb0]
add eax, 1
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [0x4bb298]
jg 0x42de52
mov edx, dword [ebp - 0xb0]
push edx
push str.CITY_02d
lea eax, [ebp - 0x24]
push eax
call fcn.0046d530
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
push 0x48a6b4
lea edx, [ebp - 0xd0]
push edx
call fcn.0046d530
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
push 0
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00455133
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x42de4d
lea eax, [ebp - 0xac]
push eax
call fcn.0046d7a0
add esp, 4
cmp eax, 0xc
jae 0x42de4d
call fcn.004051eb
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xb0]
mov dword [ecx + 0x14], edx
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call fcn.0046d6b0
add esp, 8
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042d899
add esp, 0xc
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00405432
add esp, 8
push 0
push str.MONEY
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042c3e0
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x92], eax
push 0
push 0x48a6c4
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042c3e0
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x8e], eax
push 0
push str.POPULATION
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042c3e0
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x8a], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x8a]
cdq
mov ecx, 0x9c4
idiv ecx
add eax, 0x6e
mov edx, dword [ebp - 4]
mov dword [edx + 0x82], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x82], 0x258
jge 0x42dd95
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x82]
mov dword [ebp - 0xd4], edx
jmp 0x42dd9f
mov dword [ebp - 0xd4], 0x258
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xd4]
mov dword [eax + 0x82], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x86], 0
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042d91e
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042dac3
add esp, 0xc
push 0
push str.FLAGS
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042c3e0
add esp, 0x10
mov edx, dword [ebp - 4]
mov dword [edx + 0x9e], eax
mov eax, dword [ebp - 4]
push eax
call fcn.00406056
add esp, 4
push 3
push 0x48a6e0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042c3e0
add esp, 0x10
mov ecx, dword [ebp - 4]
mov word [ecx + 0x6c], ax
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x6c]
cmp eax, 5
jg 0x42de44
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x6c]
test edx, edx
jg 0x42de4d
mov eax, dword [ebp - 4]
mov word [eax + 0x6c], 3
jmp 0x42dc15
mov esp, ebp
pop ebp
ret