joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53c680
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5a6ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x14], esi
jne 0x53c6bf
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push ebx
mov ebx, dword [esp + 0x30]
or ebx, 1
mov eax, ebx
and eax, 3
cmp eax, 3
push edi
mov edi, 0x10
jne 0x53c6de
mov edi, 0x12
jmp 0x53c6f2
test al, 1
je 0x53c6e9
mov edi, 0x30
jmp 0x53c6f2
test al, 2
je 0x53c6f2
mov edi, 0x11
push ecx
lea ecx, [esp + 0x38]
call fcn.0056bdb0
test bl, 4
mov dword [esp + 0x28], ebp
je 0x53c73c
mov eax, dword [esp + 0x34]
push ebp
or edi, 0x1000
push edi
push eax
mov ecx, esi
call fcn.0056cfa0
test eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
je 0x53c86f
call fcn.0056bd20
mov eax, 1
jmp 0x53c876
test bl, 8
je 0x53c851
push 0x5c852c
lea ecx, [esp + 0x1c]
call fcn.0056bdb0
push 0x5c8528
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.0056bdb0
mov ecx, dword [esp + 0x34]
mov bl, byte [ecx]
mov byte [esp + 0x28], 2
mov byte [esp + 0x14], bl
mov esi, dword [esp + 0x14]
push esi
push 0
lea ecx, [esp + 0x18]
call fcn.0056c120
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
dec eax
je 0x53c7a8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push 0
push edi
push eax
call fcn.0056cfa0
test eax, eax
jne 0x53c81d
test ebp, ebp
jne 0x53c7da
lea ecx, [esp + 0x34]
call fcn.0056c180
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.0056be60
mov eax, dword [esp + 0x30]
cmp byte [eax + 1], 0x3a
lea ecx, [esp + 0x34]
jne 0x53c7d4
add eax, 2
push eax
call fcn.0056bfe0
push esi
push 0
lea ecx, [esp + 0x3c]
call fcn.0056c120
cmp bl, 0x5a
jne 0x53c7ef
mov bl, 0x41
jmp 0x53c7f1
inc bl
inc ebp
cmp ebp, 0x1a
mov byte [esp + 0x14], bl
jl 0x53c775
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0056bd20
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.0056bd20
jmp 0x53c863
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0056bd20
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.0056bd20
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.0056bd20
mov eax, 1
jmp 0x53c876
mov edx, dword [esp + 0x34]
push ebp
push edi
push edx
mov ecx, esi
call fcn.0056cfa0
test eax, eax
jne 0x53c839
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0056bd20
xor eax, eax
mov ecx, dword [esp + 0x20]
pop edi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x53d090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a6f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x4c]
mov dword [esp + 8], esi
mov dword [esi], 0x5c8864
call fcn.0053c900
xor edi, edi
lea ecx, [esi + 0x5c]
mov dword [esp + 0x14], edi
call fcn.0053cbb0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x1c], edi
mov word [esi + 0x3a], di
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x54e570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a7a6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
mov esi, ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push edi
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.00549660
lea ecx, [esi + 0x2b70]
mov dword [esp + 0x14], 0
mov dword [esi], 0x5ccc50
call fcn.005439b0
lea ecx, [esi + 0x2c04]
mov byte [esp + 0x14], 1
call fcn.00543510
lea ecx, [esi + 0x2cdc]
mov byte [esp + 0x14], 2
call fcn.00543510
lea ecx, [esi + 0x2db4]
mov byte [esp + 0x14], 3
call fcn.00543510
lea ecx, [esi + 0x2e8c]
mov byte [esp + 0x14], 4
call fcn.00543510
lea ecx, [esi + 0x2f64]
mov byte [esp + 0x14], 5
call fcn.00543510
lea ecx, [esi + 0x303c]
mov byte [esp + 0x14], 6
call fcn.00543510
lea ecx, [esi + 0x3114]
mov byte [esp + 0x14], 7
call fcn.00419fb0
lea ecx, [esi + 0x3158]
mov byte [esp + 0x14], 8
call fcn.00419fb0
lea ecx, [esi + 0x319c]
mov byte [esp + 0x14], 9
call fcn.00418c70
lea ecx, [esi + 0x3224]
mov byte [esp + 0x14], 0xa
call fcn.00414b30
mov edx, dword [esp + 0x38]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
push edx
push eax
push ecx
lea ecx, [esi + 0x32d4]
mov byte [esp + 0x20], 0xb
call fcn.0054b170
lea ecx, [esi + 0x32e0]
call fcn.0041bbd0
push fcn.005433d0
push 0x5433b0
push 0x12
push pe_nt_image_headers32
lea edx, [esi + 0x32f4]
push edx
call fcn.00587658
lea ecx, [esi + 0x42cc]
mov byte [esp + 0x14], 0xc
call fcn.0054b240
mov ecx, esi
call fcn.0054e480
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x42c8], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20
Function at 0x560fc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a83f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.005600d0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi], 0x5cdeac
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov eax, dword [ecx]
mov dword [esp + 0x10], 0
call dword [eax + 0x30]
mov ecx, dword [esp + 8]
mov dword [esi + 0x40], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x5611f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a8418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.005600d0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi], 0x5cdee4
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov eax, dword [ecx]
mov dword [esp + 0x10], 0
call dword [eax + 0x30]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x40], eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, dword [esp + 8]
mov dword [esi + 0x44], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x564b60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a883a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x54
mov edi, ecx
call fcn.00591ce0
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x564b9b
mov ecx, eax
call fcn.0041a320
mov esi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push 1
push ecx
shl edx, 4
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [eax*8]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0041a5c0
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
inc edx
mov dword [esi + 0x10], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 4
push ecx
push edx
push esi
mov ecx, edi
call fcn.00573f60
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x568840
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a8bd8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 1
mov eax, dword [esi + 0x44]
push edi
push eax
jne 0x568884
call fcn.0043ef10
mov edi, eax
push edi
call fcn.00404810
add esp, 8
test eax, eax
je 0x568898
mov ecx, edi
call fcn.00430720
jmp 0x5688d7
call fcn.00440560
mov edi, eax
push edi
call fcn.00404810
add esp, 8
test eax, eax
jne 0x5688d0
mov ecx, dword [esi + 0x34]
call fcn.00575c10
mov ecx, dword [esi + 0x518]
mov edx, dword [ecx]
push 0xffffffffffffffff
call dword [edx + 0x14]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x44], 0xffffffff
call fcn.00575c20
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov ecx, edi
call fcn.00424bd0
mov ecx, dword [esi + 0x34]
push ebx
mov ebp, eax
call fcn.00575c10
mov ecx, dword [esi + 0x518]
call fcn.0057c7f0
mov eax, dword [esi + 0x518]
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx + 0x18]
push 1
push ebp
call fcn.005831f0
add esp, 8
push 1
push 0
push 0x14
lea ebx, [eax*8 + 4]
push ebx
push 0x10
mov ecx, edi
call fcn.0057c160
push 0x8080e1f5
mov ecx, edi
call fcn.0057bf60
push 0
push 0x14
push ebx
push 0
push 0
mov ecx, edi
call fcn.005807c0
lea ecx, [esp + 0x20]
call fcn.0041a320
push 2
push 1
push 0
push 0x14
push ebx
push ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x94], 0
call fcn.0041a5c0
push edi
xor eax, eax
lea edx, [esp + 0x14]
push edx
push eax
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x14
call fcn.005781d0
inc word [edi + 0x1c]
mov eax, dword [esi + 0x518]
mov ecx, dword [eax + 0x10]
push edi
call fcn.00577180
mov eax, dword [esp + 0x88]
mov ecx, dword [esi + 0x518]
mov edx, dword [ecx]
add eax, 0x18
push eax
mov eax, dword [esp + 0x88]
add eax, 4
push eax
call dword [edx + 0x10]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x518]
mov edx, dword [ecx]
add eax, 9
push eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0x518]
call fcn.0057c7f0
mov ecx, dword [esi + 0x34]
call fcn.00575c20
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0041a340
mov ecx, dword [esp + 0x74]
pop ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x70
ret 8

Function at 0x56d130
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
jne 0x56d13b
ret 8
mov ecx, dword [ecx + 4]
push 0
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x56d163
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00592580
mov eax, dword [esp + 8]
ret 8
Function at 0x56d6c0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
mov esi, ecx
je 0x56d70a
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0x14]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x56d6f7
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00592580
cmp dword [esp + 0x10], edi
je 0x56d70a
mov eax, dword [esi + 0xc]
push eax
push 0xffffffffffffffff
push 0xd
call fcn.00592510
pop edi
pop esi
ret 8

Function at 0x56d740
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a8eab
push eax
mov dword fs:[0], esp
sub esp, 0x150
push esi
mov esi, dword [esp + 0x164]
push edi
mov edi, dword [esp + 0x16c]
lea eax, [esp + 0x10]
push eax
push esi
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x56d795
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
jmp 0x56d845
lea ecx, [esp + 8]
call fcn.0056bc10
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x168], 0
call fcn.0056d330
mov ecx, dword [esp + 8]
push 0
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x56d7ef
lea ecx, [esp + 8]
mov dword [esp + 0x160], 0xffffffff
call fcn.0056bd20
xor eax, eax
jmp 0x56d845
test byte [esp + 0xc], 2
jne 0x56d7fd
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [esp + 0xc], 4
jne 0x56d82c
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x56d82c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 8]
mov dword [esp + 0x160], 0xffffffff
call fcn.0056bd20
mov eax, 1
mov ecx, dword [esp + 0x158]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x15c
ret 8

Function at 0x56ecd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a901e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0056fa00
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0
mov dword [esi], 0x5d0138
call fcn.0056bc10
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call fcn.0056bc10
push 0xa
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 2
call fcn.0056dc40
mov ecx, dword [esp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x575110
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
push edi
push eax
call fcn.00574190
test eax, eax
mov edi, dword [esp + 0xc]
je 0x575151
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push edi
mov ecx, eax
call fcn.005821f0
test eax, eax
je 0x575151
mov ecx, esi
call fcn.00575c10
mov ecx, dword [esi + 0x78]
call fcn.0057c7f0
mov ecx, esi
call fcn.00575c20
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x575223
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x575223
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x575223
cmp edi, 9
je 0x575206
cmp edi, 0xd
jne 0x575223
mov eax, dword [esi + 0x78]
test eax, eax
je 0x575223
mov eax, dword [esi + 4]
push eax
call fcn.0056cdb0
push eax
call fcn.0056ab00
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x80000000
jne 0x5751f3
push eax
mov ecx, esi
call fcn.00574d70
test eax, eax
je 0x575223
mov ecx, dword [esi + 0x78]
push ecx
mov ecx, esi
call fcn.00574dc0
test eax, eax
je 0x575223
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x14]
mov edx, dword [esi]
push ecx
mov ecx, esi
call dword [edx + 0xa8]
mov ecx, esi
call fcn.00574100
mov edx, dword [esi + 0x78]
pop edi
mov dword [esi + 0x84], edx
pop esi
ret 0xc
cmp ecx, 0x40000000
jne 0x575223
pop edi
mov dword [esi + 0x84], eax
pop esi
ret 0xc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
mov ecx, esi
jns 0x57521e
call fcn.00574cf0
pop edi
pop esi
ret 0xc
call fcn.00574d30
pop edi
pop esi
ret 0xc
Function at 0x57fb30
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5a95d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x44]
call fcn.0057b740
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
push 1
push 0
push edi
push ebx
push 0x10
lea ecx, [esp + 0x58]
mov dword [esp + 0x98], 0
call fcn.0057c160
mov eax, dword [esp + 0x9c]
push eax
lea ecx, [esp + 0x48]
call fcn.0057bf60
movsx eax, word [esi + 0x20]
mov ecx, dword [esi + 0xc]
movsx edx, word [esi + 0x1e]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x3c], eax
movsx eax, word [esp + 0x62]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x90]
push 0xffffffffffffffff
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x44], ecx
movsx ecx, word [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
push eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x50]
push edi
mov dword [esp + 0x20], ecx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], edx
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.KOEIGrpX.dll_BitBltAlphablend]
add esp, 0x18
lea ecx, [esp + 0x44]
mov dword [esp + 0x84], 0xffffffff
call fcn.0057b770
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret 0x18
Function at 0x5817e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a9658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
push edi
push eax
lea ecx, [esp + 0xc]
call fcn.0056bdb0
mov ecx, dword [esi + 0x18]
lea edx, [ecx*8 + 8]
push edx
mov dword [esp + 0x18], 0
call fcn.00587b1c
push 0
mov edi, eax
mov eax, dword [esi + 0x1c]
push 1
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.00581410
mov edx, dword [esi + 0x24]
mov ecx, dword [edi + edx*8 + 4]
imul ecx, dword [esi + 0x30]
lea eax, [edi + edx*8]
add ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x2c]
imul edx, dword [eax]
mov eax, dword [esi + 0x50]
add esp, 0x18
push ecx
add edx, eax
push edx
call dword [sym.imp.USER32.dll_SetCaretPos]
push edi
call fcn.00587b17
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0056bd20
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x582f40
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
je 0x582fc7
push 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
call fcn.00582e30
test eax, eax
je 0x582fbe
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x20006
push 0
push 0x5ae5e8
push 0
push str.EUDC932
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x582fbe
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x10]
push eax
push esi
push 1
push 0
push str.SystemDefaultEUDCFont
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
mov ecx, edi
call fcn.00582e30
pop edi
pop esi
pop ecx
ret 4
Function at 0x585530
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5a9992
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x378
lea ecx, [esp]
call fcn.0056bc10
lea ecx, [esp + 8]
mov dword [esp + 0x380], 0
call fcn.0056bc10
lea ecx, [esp + 4]
mov byte [esp + 0x380], 1
call fcn.0056bc10
mov byte [esp + 0x380], 2
call fcn.005938e0
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x44]
push 0x104
lea ecx, [esp + 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0xc]
call fcn.0056bec0
push 0x5c
lea ecx, [esp + 0xc]
call fcn.0056c320
inc eax
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call fcn.0056c350
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x384], 3
call fcn.0056be60
lea ecx, [esp + 0xc]
mov byte [esp + 0x380], 2
call fcn.0056bd20
push str.Scene
lea ecx, [esp + 8]
call fcn.0056bfe0
mov edx, dword [esp + 4]
lea ecx, [esp + 0x260]
push ecx
push edx
call fcn.00591fe0
test eax, eax
jne 0x585619
push eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 4]
mov byte [esp + 0x380], 1
call fcn.0056bd20
lea ecx, [esp + 8]
mov byte [esp + 0x380], 0
call fcn.0056bd20
mov eax, dword [0x1a569a8]
test eax, eax
jne 0x58566d
lea ecx, [esp]
mov dword [esp + 0x380], 0xffffffff
call fcn.0056bd20
mov ecx, dword [esp + 0x378]
mov dword fs:[0], ecx
add esp, 0x384
ret
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.0057b740
push 1
push 0
mov byte [esp + 0x390], 4
call fcn.00580880
push eax
call fcn.00580870
push eax
push 0x18
lea ecx, [esp + 0x3c]
call fcn.0057c160
push 0xffffffffffffffff
push 0
push 0
call fcn.00580880
push eax
call fcn.00580870
push eax
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0x1a569a8]
call fcn.0057fa30
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.0056d4f0
push edi
lea edx, [esp + 0x168]
push str.Scene_03d.bmp
push edx
mov byte [esp + 0x394], 5
call fcn.00587c9a
lea eax, [esp + 0x170]
push eax
lea esi, [esp + 0x18]
call fcn.00585450
mov ecx, dword [esp + 0x18]
add esp, 0x10
push 0
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.0056cfa0
test eax, eax
lea ecx, [esp + 0x18]
je 0x585736
call fcn.0056d210
lea ecx, [esp + 0x18]
mov byte [esp + 0x388], 4
call fcn.0056d5b0
inc edi
cmp edi, 0x3e8
jl 0x5856c3
jmp 0x585743
mov byte [esp + 0x388], 4
call fcn.0056d5b0
mov edx, dword [esp + 8]
push edx
lea ecx, [esp + 0x2c]
call fcn.0057be60
lea ecx, [esp + 0x28]
mov byte [esp + 0x388], 0
call fcn.0057b770
lea ecx, [esp + 8]
mov dword [esp + 0x388], 0xffffffff
call fcn.0056bd20
mov ecx, dword [esp + 0x380]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x384
ret
Function at 0x586fa0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x587044
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
call fcn.00586bf0
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 8]
mov ebp, dword [esp + 0x18]
cdq
sub eax, edx
mov esi, eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
sar esi, 1
sub esi, eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x1c]
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sar edi, 1
sub edi, eax
add ecx, edi
lea edx, [esp + 0x30]
mov dword [esp + 0x2c], ecx
push edx
mov ecx, ebx
add ebp, esi
mov dword [esp + 0x34], 0x2c
call fcn.0056ab30
cmp dword [esp + 0x38], 2
jne 0x587029
mov eax, dword [ebx + 0x18]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x18]
push 1
sub eax, edi
push eax
sub ebp, esi
push ebp
push edi
push esi
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4