joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450b24
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450ccf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450cb0
mov dl, 1
mov eax, dword [0x411894]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450c9f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043eb30
test al, al
je 0x450c92
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x450ce0
lea eax, [ebp - 0x254]
call fcn.0040892c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450c92
xor eax, eax
push ebp
push 0x450c8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x450d18
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450c74
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x450c74
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450c92
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450b95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415370
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450cd6
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

Function at 0x451604
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46bbb0]
cmp byte [eax + 0xa5], 0
jne 0x451675
cmp dword [0x46bbc8], 0
jne 0x451636
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4515c0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46bbc8], eax
cmp dword [0x46bbc4], 0
jne 0x451651
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x46bbc4], eax
cmp dword [0x46bbcc], 0
jne 0x451675
push esp
push 0
push 0
push 0x451564
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x46bbcc], eax
pop edx
ret
Function at 0x45176c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x451783
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419180
mov eax, dword [0x46a8c0]
cmp word [eax + 2], 0
jne 0x4517ab
mov eax, dword [0x46a8c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452e44
mov eax, dword [0x46a970]
cmp word [eax + 2], 0
jne 0x4517c5
mov eax, dword [0x46a970]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045303c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411478]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411478]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b6bc]
call fcn.00422d58
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45194c
mov eax, dword [0x46a7e8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423128
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4535dc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46a7e8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bff4
test eax, eax
je 0x4518ba
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408320
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c01c
test eax, eax
je 0x4518ce
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x46a6d4]
cmp byte [eax], 0
jne 0x451902
mov eax, ebx
call fcn.00451a74
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004537b8
mov eax, ebx
call fcn.0045417c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451942
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451cf4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46bbb0]
cmp dword [eax + 0x30], 0
je 0x451d9e
cmp dword [ebx + 0x94], 0
jne 0x451d98
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451c84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451d98
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x451d5e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451d98
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004137e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451d6d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452900
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452935
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x452942
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453994
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4539d5
mov eax, esi
call fcn.0043a15c
test al, al
je 0x4539d5
mov eax, dword [ebx + 0x84]
call fcn.00439e58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4539d5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439e58
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x457560
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45758e
mov eax, ebx
call fcn.00458014
cmp dword [ebx + 0x40], 0
je 0x457587
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4575ff
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4575f1
cmp dword [ebx + 8], 0
je 0x4575b0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4575c2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4575f1
cmp dword [ebx + 8], 0
je 0x4575a3
cmp eax, 3
je 0x4575d5
dec eax
jne 0x4575a3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4575a3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4575a3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45761d
cmp dword [ebx + 0x14], 0xcc
je 0x45761d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00457628
pop ebx
ret
Function at 0x468114
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.004040bc
add esp, 0x14
pop ebx
ret
Function at 0x4051eb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4a68f8], 0
je 0x405253
mov eax, dword [0x4a68f8]
mov dword [ebp - 4], eax
mov ecx, dword [0x4a68f8]
mov edx, dword [ecx + 0xa6]
mov dword [0x4a68f8], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0xa6], 0
cmp dword [0x4a68fc], 0
je 0x405237
mov ecx, dword [0x4a68fc]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xa6], edx
mov eax, dword [ebp - 4]
mov dword [0x4a68fc], eax
cmp dword [0x4a68f4], 0
jne 0x405251
mov ecx, dword [ebp - 4]
mov dword [0x4a68f4], ecx
jmp 0x405267
mov dword [ebp - 4], 0
push str.CITY_node_overflow
call fcn.00450670
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40baaa
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 [0x4a83a4]
push eax
mov ecx, dword [0x4a83a0]
push ecx
call fcn.0040bf0e
add esp, 8
cmp dword [ebp + 0xc], 0
jne 0x40bb6f
mov dword [ebp - 0x28], 0x487908
mov edx, dword [ebp + 8]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x48], 0x40b910
mov eax, dword [0x4a8168]
and eax, 0x100
test eax, eax
jne 0x40bb0c
push 0x67
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4c4120], eax
jmp 0x40bb16
mov dword [0x4c4120], 0
mov edx, dword [0x4c4120]
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 0x40bb6f
xor eax, eax
jmp 0x40bcc7
mov dword [0x4c4110], 0x14
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x1e0
cdq
sub eax, edx
sar eax, 1
mov dword [0x4c4114], eax
mov edx, dword [0x4c4110]
add edx, 0x289
mov dword [0x4c4118], edx
mov eax, dword [0x4c4114]
add eax, 0x1fc
mov dword [0x4c411c], eax
cmp dword [0x487238], 1
jne 0x40bbf2
push 1
call fcn.00451791
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 0x48791c
push 0x487928
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
jmp 0x40bc46
push 0
call fcn.00451791
add esp, 4
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov eax, dword [0x4c411c]
sub eax, dword [0x4c4114]
push eax
mov ecx, dword [0x4c4118]
sub ecx, dword [0x4c4110]
push ecx
mov edx, dword [0x4c4114]
push edx
mov eax, dword [0x4c4110]
push eax
push 0xcf0000
push 0x48793c
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 0x40bc50
xor eax, eax
jmp 0x40bcc7
mov ecx, dword [ebp + 0x14]
mov dword [0x4c4124], ecx
mov edx, dword [ebp - 4]
mov dword [0x4a6e90], 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 [0x4a83a4]
mov ecx, dword [eax]
movsx edx, byte [ecx + 1]
cmp edx, 0x3a
jne 0x40bc99
mov eax, dword [0x4a83a4]
mov ecx, dword [eax]
mov dl, byte [ecx]
mov byte [0x487244], dl
call fcn.00430790
movsx eax, byte [0x4a6ca0]
test eax, eax
je 0x40bcbf
push 0
push str.SANGO_II_Error_Message
push 0x4a6ca0
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 0x40bccd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x487238], 1
jne 0x40bd75
mov eax, dword [0x4bdb0c]
push eax
mov ecx, dword [0x4bdb04]
push ecx
mov edx, dword [0x4bdaf8]
push edx
mov eax, dword [0x4a6e90]
push eax
call fcn.00451621
add esp, 0x10
push 1
call fcn.00451791
add esp, 4
push 0
push 0x1e0
push 0x280
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [0x4a6e90]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xffffffffffffffec
mov edx, dword [0x4a6e90]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
or al, 8
push eax
push 0xffffffffffffffec
mov eax, dword [0x4a6e90]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 8
push 0xffffffffffffffec
mov ecx, dword [0x4a6e90]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x80000000
push 0xfffffffffffffff0
mov edx, dword [0x4a6e90]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x40bed8
push 0
call fcn.00451791
add esp, 4
mov eax, dword [0x4bdb0c]
push eax
mov ecx, dword [0x4bdb04]
push ecx
mov edx, dword [0x4bdaf8]
push edx
mov eax, dword [0x4a6e90]
push eax
call fcn.00451621
add esp, 0x10
push 0xffffffffffffffec
mov ecx, dword [0x4a6e90]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0xf7
push eax
push 0xffffffffffffffec
mov edx, dword [0x4a6e90]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xcf0000
push 0xfffffffffffffff0
mov eax, dword [0x4a6e90]
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 [0x4a6e90]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
mov edx, dword [0x4c411c]
sub edx, dword [0x4c4114]
push edx
mov eax, dword [0x4c4118]
sub eax, dword [0x4c4110]
push eax
mov ecx, dword [0x4c4114]
push ecx
mov edx, dword [0x4c4110]
push edx
push 0xfffffffffffffffe
mov eax, dword [0x4a6e90]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [0x4a6e90]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x4c4110
mov eax, dword [0x4a6e90]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, 0x280
sub ecx, dword [ebp - 8]
mov edx, dword [0x4c4118]
add edx, ecx
mov dword [0x4c4118], edx
mov eax, 0x1e0
sub eax, dword [ebp - 4]
mov ecx, dword [0x4c411c]
add ecx, eax
mov dword [0x4c411c], ecx
push 6
mov edx, dword [0x4c411c]
sub edx, dword [0x4c4114]
push edx
mov eax, dword [0x4c4118]
sub eax, dword [0x4c4110]
push eax
mov ecx, dword [0x4c4114]
push ecx
mov edx, dword [0x4c4110]
push edx
push 0xfffffffffffffffe
mov eax, dword [0x4a6e90]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x4a6e90]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x4c4124]
push edx
mov eax, dword [0x4a6e90]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x10
push 0x1e0
push 0x280
mov ecx, dword [0x4a6e90]
push ecx
call fcn.004511d4
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x40c648
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.0046de00
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0x487a50
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c758
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x487a74
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40c6c2
mov ecx, dword [ebp - 4]
mov dword [0x487664], ecx
mov dword [ebp - 8], 4
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x487a7c
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40c6f1
mov edx, dword [ebp - 4]
mov dword [0x487668], edx
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x487a88
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40c71f
mov eax, dword [ebp - 4]
mov dword [0x48766c], eax
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x487a94
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40c74e
mov ecx, dword [ebp - 4]
mov dword [0x487670], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x40c75c
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 0x40c852
mov edx, dword [0x487664]
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 [0x487668]
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 [0x48766c]
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 [0x487670]
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 0x42cc2e
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.00455a72
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42cd80
lea eax, [ebp - 0x84]
push eax
call fcn.0040539b
add esp, 4
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x42cd43
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x91], 8
jne 0x42ccb6
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406ed2
add esp, 8
mov eax, 1
jmp 0x42cd82
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x91], 0x2000
jne 0x42ccd4
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xd7], 0
jmp 0x42cd41
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x10], 0
jne 0x42cd15
mov ecx, dword [ebp + 0xc]
push ecx
push 0x48cc3c
call fcn.00450670
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 0x42cd82
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 0x42cd82
jmp 0x42cd80
movsx ecx, byte [ebp - 0x84]
test ecx, ecx
je 0x42cd66
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x48cc4c
call fcn.00450670
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 0x42e2a6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov dword [ebp - 0xb0], 0
jmp 0x42e2ca
mov eax, dword [ebp - 0xb0]
add eax, 1
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [0x4bd9d8]
jg 0x42e4f8
mov edx, dword [ebp - 0xb0]
push edx
push str.CITY_02d
lea eax, [ebp - 0x24]
push eax
call fcn.0046db10
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
push 0x48cebc
lea edx, [ebp - 0xd0]
push edx
call fcn.0046db10
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.00455923
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x42e4f3
lea eax, [ebp - 0xac]
push eax
call fcn.0046dd80
add esp, 4
cmp eax, 0xc
jae 0x42e4f3
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.0046dc90
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.0042df3f
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.0042cae0
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x92], eax
push 0
push 0x48cecc
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042cae0
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.0042cae0
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 0x42e43b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x82]
mov dword [ebp - 0xd4], edx
jmp 0x42e445
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.0042dfc4
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.0042e169
add esp, 0xc
push 0
push str.FLAGS
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042cae0
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 0x48cee8
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042cae0
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 0x42e4ea
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x6c]
test edx, edx
jg 0x42e4f3
mov eax, dword [ebp - 4]
mov word [eax + 0x6c], 3
jmp 0x42e2bb
mov esp, ebp
pop ebp
ret