joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4051eb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4a6178], 0
je 0x405253
mov eax, dword [0x4a6178]
mov dword [ebp - 4], eax
mov ecx, dword [0x4a6178]
mov edx, dword [ecx + 0xa6]
mov dword [0x4a6178], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0xa6], 0
cmp dword [0x4a617c], 0
je 0x405237
mov ecx, dword [0x4a617c]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xa6], edx
mov eax, dword [ebp - 4]
mov dword [0x4a617c], eax
cmp dword [0x4a6174], 0
jne 0x405251
mov ecx, dword [ebp - 4]
mov dword [0x4a6174], ecx
jmp 0x405267
mov dword [ebp - 4], 0
push str.CITY_node_overflow
call fcn.00450260
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 [0x4a7c24]
push eax
mov ecx, dword [0x4a7c20]
push ecx
call fcn.0040b46e
add esp, 8
cmp dword [ebp + 0xc], 0
jne 0x40b0cf
mov dword [ebp - 0x28], 0x487068
mov edx, dword [ebp + 8]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x48], 0x40ae70
mov eax, dword [0x4a79c8]
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 [0x4c39c0], eax
jmp 0x40b076
mov dword [0x4c39c0], 0
mov edx, dword [0x4c39c0]
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 [0x4c39b0], 0x14
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x1e0
cdq
sub eax, edx
sar eax, 1
mov dword [0x4c39b4], eax
mov edx, dword [0x4c39b0]
add edx, 0x289
mov dword [0x4c39b8], edx
mov eax, dword [0x4c39b4]
add eax, 0x1fc
mov dword [0x4c39bc], eax
cmp dword [0x486998], 1
jne 0x40b152
push 1
call fcn.00451381
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 0x48707c
push 0x487088
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
jmp 0x40b1a6
push 0
call fcn.00451381
add esp, 4
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov eax, dword [0x4c39bc]
sub eax, dword [0x4c39b4]
push eax
mov ecx, dword [0x4c39b8]
sub ecx, dword [0x4c39b0]
push ecx
mov edx, dword [0x4c39b4]
push edx
mov eax, dword [0x4c39b0]
push eax
push 0xcf0000
push str.Sango2x
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 [0x4c39c4], ecx
mov edx, dword [ebp - 4]
mov dword [0x4a66f0], 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 [0x4a7c24]
mov ecx, dword [eax]
movsx edx, byte [ecx + 1]
cmp edx, 0x3a
jne 0x40b1f9
mov eax, dword [0x4a7c24]
mov ecx, dword [eax]
mov dl, byte [ecx]
mov byte [0x4869a4], dl
call fcn.0042fde0
movsx eax, byte [0x4a6500]
test eax, eax
je 0x40b21f
push 0
push str.SANGO_II_Error_Message
push 0x4a6500
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 [0x486998], 1
jne 0x40b2d5
mov eax, dword [0x4bd3ac]
push eax
mov ecx, dword [0x4bd3a4]
push ecx
mov edx, dword [0x4bd398]
push edx
mov eax, dword [0x4a66f0]
push eax
call fcn.00451211
add esp, 0x10
push 1
call fcn.00451381
add esp, 4
push 0
push 0x1e0
push 0x280
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [0x4a66f0]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xffffffffffffffec
mov edx, dword [0x4a66f0]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
or al, 8
push eax
push 0xffffffffffffffec
mov eax, dword [0x4a66f0]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 8
push 0xffffffffffffffec
mov ecx, dword [0x4a66f0]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x80000000
push 0xfffffffffffffff0
mov edx, dword [0x4a66f0]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x40b438
push 0
call fcn.00451381
add esp, 4
mov eax, dword [0x4bd3ac]
push eax
mov ecx, dword [0x4bd3a4]
push ecx
mov edx, dword [0x4bd398]
push edx
mov eax, dword [0x4a66f0]
push eax
call fcn.00451211
add esp, 0x10
push 0xffffffffffffffec
mov ecx, dword [0x4a66f0]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0xf7
push eax
push 0xffffffffffffffec
mov edx, dword [0x4a66f0]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xcf0000
push 0xfffffffffffffff0
mov eax, dword [0x4a66f0]
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 [0x4a66f0]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
mov edx, dword [0x4c39bc]
sub edx, dword [0x4c39b4]
push edx
mov eax, dword [0x4c39b8]
sub eax, dword [0x4c39b0]
push eax
mov ecx, dword [0x4c39b4]
push ecx
mov edx, dword [0x4c39b0]
push edx
push 0xfffffffffffffffe
mov eax, dword [0x4a66f0]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [0x4a66f0]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x4c39b0
mov eax, dword [0x4a66f0]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, 0x280
sub ecx, dword [ebp - 8]
mov edx, dword [0x4c39b8]
add edx, ecx
mov dword [0x4c39b8], edx
mov eax, 0x1e0
sub eax, dword [ebp - 4]
mov ecx, dword [0x4c39bc]
add ecx, eax
mov dword [0x4c39bc], ecx
push 6
mov edx, dword [0x4c39bc]
sub edx, dword [0x4c39b4]
push edx
mov eax, dword [0x4c39b8]
sub eax, dword [0x4c39b0]
push eax
mov ecx, dword [0x4c39b4]
push ecx
mov edx, dword [0x4c39b0]
push edx
push 0xfffffffffffffffe
mov eax, dword [0x4a66f0]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x4a66f0]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x4c39c4]
push edx
mov eax, dword [0x4a66f0]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x10
push 0x1e0
push 0x280
mov ecx, dword [0x4a66f0]
push ecx
call fcn.00450dc4
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x40bba8
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.0046df10
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0x4871b0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40bcb8
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x4871d4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bc22
mov ecx, dword [ebp - 4]
mov dword [0x486dc4], ecx
mov dword [ebp - 8], 4
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4871dc
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bc51
mov edx, dword [ebp - 4]
mov dword [0x486dc8], edx
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x4871e8
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bc7f
mov eax, dword [ebp - 4]
mov dword [0x486dcc], eax
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x4871f4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bcae
mov ecx, dword [ebp - 4]
mov dword [0x486dd0], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x40bcbc
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 0x40bdb2
mov edx, dword [0x486dc4]
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 [0x486dc8]
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 [0x486dcc]
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 [0x486dd0]
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 0x42c21e
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.00455662
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42c370
lea eax, [ebp - 0x84]
push eax
call fcn.0040539b
add esp, 4
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x42c333
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x91], 8
jne 0x42c2a6
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406ed2
add esp, 8
mov eax, 1
jmp 0x42c372
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x91], 0x2000
jne 0x42c2c4
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xd7], 0
jmp 0x42c331
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x10], 0
jne 0x42c305
mov ecx, dword [ebp + 0xc]
push ecx
push 0x48c38c
call fcn.00450260
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 0x42c372
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 0x42c372
jmp 0x42c370
movsx ecx, byte [ebp - 0x84]
test ecx, ecx
je 0x42c356
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x48c39c
call fcn.00450260
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 0x42d8f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov dword [ebp - 0xb0], 0
jmp 0x42d914
mov eax, dword [ebp - 0xb0]
add eax, 1
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [0x4bd278]
jg 0x42db42
mov edx, dword [ebp - 0xb0]
push edx
push str.CITY_02d
lea eax, [ebp - 0x24]
push eax
call fcn.0046dae0
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
push 0x48c620
lea edx, [ebp - 0xd0]
push edx
call fcn.0046dae0
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.00455513
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x42db3d
lea eax, [ebp - 0xac]
push eax
call fcn.0046dd50
add esp, 4
cmp eax, 0xc
jae 0x42db3d
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.0046dc60
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.0042d589
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.0042c0d0
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x92], eax
push 0
push 0x48c630
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042c0d0
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.0042c0d0
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 0x42da85
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x82]
mov dword [ebp - 0xd4], edx
jmp 0x42da8f
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.0042d60e
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.0042d7b3
add esp, 0xc
push 0
push str.FLAGS
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042c0d0
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 0x48c64c
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042c0d0
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 0x42db34
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x6c]
test edx, edx
jg 0x42db3d
mov eax, dword [ebp - 4]
mov word [eax + 0x6c], 3
jmp 0x42d905
mov esp, ebp
pop ebp
ret
Function at 0x42db46
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
call fcn.0040546f
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x42dd7b
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
push str.CITY_02dMAJOR
lea eax, [ebp - 0xb0]
push eax
call fcn.0046dae0
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
push 0
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00455513
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42dc49
lea ecx, [ebp - 0x84]
push ecx
call fcn.00406a0b
add esp, 4
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x42dbe9
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x88]
mov dword [edx + 0x14], eax
jmp 0x42dc47
mov ecx, dword [ebp - 0x90]
cmp dword [ecx + 0x24], 0
jne 0x42dc0d
cmp dword [ebp - 0x88], 0
je 0x42dc3a
mov edx, dword [ebp - 0x88]
cmp dword [edx + 0x91], 1
je 0x42dc3a
mov eax, dword [ebp - 0x90]
add eax, 4
push eax
lea ecx, [ebp - 0x84]
push ecx
push 0x48c664
call fcn.00450260
add esp, 0xc
mov edx, dword [ebp - 0x90]
mov dword [edx + 0x14], 0
jmp 0x42dc47
mov eax, dword [ebp - 0x90]
mov dword [eax + 0x14], 0
jmp 0x42dc73
mov ecx, dword [ebp - 0x90]
cmp dword [ecx + 0x24], 0
je 0x42dc73
mov edx, dword [ebp - 0x90]
add edx, 4
push edx
lea eax, [ebp - 0x84]
push eax
push 0x48c680
call fcn.00450260
add esp, 0xc
mov ecx, dword [ebp - 0x8c]
push ecx
push str.CITY_02dWISE
lea edx, [ebp - 0xb0]
push edx
call fcn.0046dae0
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push 0
lea ecx, [ebp - 0xb0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00455513
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42dd46
lea eax, [ebp - 0x84]
push eax
call fcn.00406a0b
add esp, 4
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x42dce6
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0xb4]
mov dword [ecx + 0x18], edx
jmp 0x42dd44
mov eax, dword [ebp - 0x90]
cmp dword [eax + 0x24], 0
jne 0x42dd0a
cmp dword [ebp - 0xb4], 0
je 0x42dd37
mov ecx, dword [ebp - 0xb4]
cmp dword [ecx + 0x91], 1
je 0x42dd37
mov edx, dword [ebp - 0x90]
add edx, 4
push edx
lea eax, [ebp - 0x84]
push eax
push 0x48c6a8
call fcn.00450260
add esp, 0xc
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 0x18], 0
jmp 0x42dd44
mov edx, dword [ebp - 0x90]
mov dword [edx + 0x18], 0
jmp 0x42dd64
mov eax, dword [ebp - 0x90]
add eax, 4
push eax
lea ecx, [ebp - 0x84]
push ecx
push 0x48c6c4
call fcn.00450260
add esp, 0xc
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0xa6]
mov dword [ebp - 0x90], eax
jmp 0x42db5a
mov esp, ebp
pop ebp
ret
Function at 0x450260
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1f8]
push eax
call fcn.0046e3b0
add esp, 0xc
mov dword [ebp - 0x1fc], 0
lea ecx, [ebp - 0x1f8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x29c], 0x94
lea edx, [ebp - 0x29c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x28c], 1
je 0x4502c8
jmp 0x450407
push str.DBWIN_BUFFER_READY
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
jne 0x4502eb
jmp 0x450407
push str.DBWIN_DATA_READY
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jne 0x45031b
mov eax, dword [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x450407
push str.DBWIN_BUFFER
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45035b
mov ecx, dword [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x450407
push 0x200
push 0
push 0
push 2
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 0
jne 0x45039b
mov ecx, dword [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x450407
push 0xffffffffffffffff
mov eax, dword [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call sub.KERNEL32.dll_GetCurrentProcessId
mov ecx, dword [ebp - 0x200]
mov dword [ecx], eax
lea edx, [ebp - 0x1f8]
push edx
push 0x49233c
mov eax, dword [ebp - 0x200]
add eax, 4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x450962
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
push str._nGroup
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 4], 0
je 0x45099c
mov edx, dword [ebp - 4]
push edx
push str.___08X
call fcn.00450260
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
jmp 0x45097a
mov esp, ebp
pop ebp
ret
Function at 0x45209e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0x4520b4
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x452107
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x14
mov dword [ecx + 0x4c8320], 0
mov edx, dword [ebp - 4]
imul edx, edx, 0x14
mov dword [edx + 0x4c8324], 0
mov eax, dword [ebp - 4]
imul eax, eax, 0x14
mov dword [eax + 0x4c8328], 0
mov ecx, dword [ebp - 4]
add ecx, 1
imul ecx, ecx, 0x14
add ecx, 0x4c8320
mov edx, dword [ebp - 4]
imul edx, edx, 0x14
mov dword [edx + 0x4c8330], ecx
jmp 0x4520ab
mov dword [0x4c83c0], 0
mov dword [0x4c83bc], 0
mov dword [0x4c8304], 0x4c8320
mov dword [0x4c7dd0], 0
mov eax, dword [0x4c7dd0]
mov dword [0x4c83c4], eax
mov dword [ebp - 4], 0
jmp 0x45214b
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x20
jge 0x4521b2
mov edx, dword [ebp - 4]
imul edx, edx, 0x24
mov eax, dword [ebp - 4]
mov dword [edx + 0x4c7e80], eax
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x24
mov dword [ecx + 0x4c7e84], 0
mov edx, dword [ebp - 4]
imul edx, edx, 0x24
mov dword [edx + 0x4c7e88], 0
mov eax, dword [ebp - 4]
imul eax, eax, 0x24
mov dword [eax + 0x4c7e8c], 0
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x24
mov dword [ecx + 0x4c7e90], 0
mov edx, dword [ebp - 4]
imul edx, edx, 0x24
mov dword [edx + 0x4c7e94], 0
jmp 0x452142
mov dword [0x4c7dcc], 0
push 0x492380
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x492380
call fcn.00452050
add esp, 4
mov dword [0x492378], 1
mov dword [0x49237c], 1
mov esp, ebp
pop ebp
ret

Function at 0x453de2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4924ac]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
jmp 0x453e06
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1a
jge 0x453e34
mov ecx, dword [ebp - 4]
add ecx, 0x41
mov byte [ebp - 0x10], cl
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jne 0x453e32
mov eax, dword [ebp - 4]
mov dword [0x4924a8], eax
jmp 0x453e34
jmp 0x453dfd
mov eax, dword [0x4924a8]
mov esp, ebp
pop ebp
ret

Function at 0x453e3d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4924b0]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
jmp 0x453e62
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x1a
jge 0x453e91
mov eax, dword [ebp - 4]
add eax, 0x41
mov byte [ebp - 0x10], al
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jne 0x453e8f
mov edx, dword [ebp - 4]
mov dword [0x4924a8], edx
jmp 0x453e91
jmp 0x453e59
mov esp, ebp
pop ebp
ret