joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428140
Capabilities:
Check if file exists
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4caef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42819d
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a350
mov eax, dword [ebp - 0x38]
jmp 0x4282f3
push 0
push 0x3a
lea ecx, [ebp + 8]
call fcn.00434f10
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040a650
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040a370
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00427b70
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00434ff0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.0040a350
push 0x4bdd18
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.004350a0
add esp, 0xc
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
call fcn.0040a350
cmp dword [ebp - 0x40], 0
je 0x42827d
lea ecx, [ebp - 0x10]
call fcn.0040a8b0
push eax
call fcn.00426a90
add esp, 4
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
adc ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 0x10]
jb 0x4282c2
ja 0x42828f
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
jbe 0x4282c2
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040a350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a350
mov eax, dword [ebp - 0x48]
jmp 0x4282f3
mov dword [ebp - 0x4c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040a350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a350
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4288c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.00428d50
push 1
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0041cee0
push 0x77
mov ecx, 0x4d5a94
call fcn.00401410
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x14], eax
push 1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0041d230
push 1
mov ecx, 0x4d6e78
call fcn.00404ff0
push eax
mov ecx, 0x4d6e78
call fcn.00404fd0
push eax
push 0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0041cf00
push 1
push 0xc9
push 0x194
push 0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0041cf00
lea ecx, [ebp - 0x10]
call fcn.00401f70
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0041cfc0
mov ecx, dword [ebp - 0x18]
call fcn.004296b0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0041b220
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
push 0x428400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42ac00
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeb1b
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x4caef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x210], ecx
lea ecx, [ebp - 0x1ec]
call fcn.0042ae00
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1f0], esp
push 0x4bde94
call fcn.0040a2d0
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x1ec]
call fcn.0040a020
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1f4], esp
push 0
call fcn.0041cbf0
push 0
push 0x90000000
push 0
push 0xc9
push 0x194
push 0
push 0
lea ecx, [ebp - 0x208]
call fcn.00401fb0
push ecx
mov ecx, esp
mov dword [ebp - 0x1f8], esp
push eax
call fcn.0041cbf0
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.004366a0
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.0041b220
call fcn.00427230
test eax, eax
je 0x42acf1
push 3
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x1e8]
call fcn.0041cf80
push 0
mov ecx, dword [ebp - 0x210]
add ecx, 4
call fcn.0041d1a0
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x42ad2b
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x42ad01
push 1
mov ecx, dword [ebp - 0x210]
add ecx, 4
call fcn.0041d1a0
mov ecx, dword [ebp - 0x210]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 4
mov ecx, dword [ebp - 0x210]
call fcn.00431270
push 0
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 0xe38]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0xe38]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x1ec]
call fcn.004269b0
cmp eax, 2
jne 0x42adb9
push 0
mov ecx, dword [ebp - 0x210]
add ecx, 0x1a4
call fcn.004011c0
push eax
push 0x111
mov ecx, dword [ebp - 0x210]
add ecx, 4
call fcn.0041ceb0
mov ecx, dword [ebp - 0x210]
mov dword [ecx + 0x6b0], 0
mov dword [ebp - 0x20c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.0042bd00
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42b050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af1eb
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], ecx
push 0
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.0041d180
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.0040a290
mov dword [ebp - 4], 0
fild dword [ebp - 0x10]
fdiv qword [0x4c0fa8]
sub esp, 8
fstp qword [esp]
push 0x4bdeb8
lea eax, [ebp - 0x14]
push eax
call fcn.004140a0
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.0040a8b0
push eax
mov ecx, dword [ebp - 0x298]
add ecx, 0x590
call fcn.00405ea0
mov ecx, dword [ebp - 0x298]
call fcn.0042b2b0
test eax, eax
je 0x42b1d7
lea ecx, [ebp - 0x288]
push ecx
mov ecx, dword [ebp - 0x298]
call fcn.0042c890
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2a0]
push eax
mov ecx, dword [ebp - 0x298]
add ecx, 0x48c
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00434ff0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x288]
call fcn.0040a350
lea ecx, [ebp - 0x18]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b1af
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x298]
call fcn.0042dfd0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42b1ad
mov dword [ebp - 0x28c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a350
mov eax, dword [ebp - 0x28c]
jmp 0x42b28b
jmp 0x42b1c6
push 0
push 0x3e8
push 2
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.0041d150
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040a350
jmp 0x42b26c
push 2
mov ecx, dword [ebp - 0x298]
call fcn.00431270
push 0x254
push 0
lea ecx, [ebp - 0x27c]
push ecx
call fcn.00497550
add esp, 0xc
lea edx, [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 0x638]
push ecx
call fcn.0043fe70
mov edx, dword [eax + 0x10]
call edx
add esp, 8
mov ecx, dword [ebp - 0x298]
call fcn.00433c10
add eax, dword [0x4d5330]
mov ecx, dword [0x4d5334]
adc ecx, edx
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], ecx
mov ecx, dword [ebp - 0x298]
call fcn.0042ac00
mov dword [ebp - 0x290], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a350
mov eax, dword [ebp - 0x290]
jmp 0x42b28b
mov dword [ebp - 0x294], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a350
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret
Function at 0x42d2b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x63c]
push ecx
call fcn.0043fe70
mov ecx, eax
call fcn.0043ff40
mov ecx, dword [ebp - 4]
call fcn.0042afd0
test eax, eax
je 0x42d2f2
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x42b4c0
push 0
push 0
call fcn.004969a8
add esp, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x638]
push ecx
call fcn.0043fe70
mov ecx, eax
call fcn.0043fef0
mov esp, ebp
pop ebp
ret
Function at 0x42ed80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad830
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4caef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x4d57c8
call fcn.00424720
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x70]
push edx
mov ecx, 0x4d5ad4
call fcn.00429650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00414990
mov dword [0x4d5330], 0
mov dword [0x4d5334], 0
push 0
mov ecx, dword [ebp - 0x68]
add ecx, 0x9c
call fcn.00425c80
lea ecx, [ebp - 0x30]
call fcn.0040a290
mov dword [ebp - 4], 1
push 0x4d5ad4
lea ecx, [ebp - 0x2c]
call fcn.004248c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00416200
test eax, eax
jbe 0x42eef3
lea ecx, [ebp - 0x2c]
call fcn.00435e60
add eax, 8
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a2d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00435e80
lea ecx, [ebp - 0x40]
call fcn.0040a760
mov dword [ebp - 0x3c], eax
push 0x2f
lea ecx, [ebp - 0x40]
call fcn.00434f80
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x34]
sub eax, 1
push eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040a5c0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x68]
add eax, 0x48c
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00434ff0
add esp, 0xc
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a370
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.0040a350
lea ecx, [ebp - 0x30]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0040a350
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040a350
jmp 0x42ee27
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0xe38], 0
push 0
push 0xa
push 0x111
mov edx, dword [0x4d531c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00414990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040a350
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x432090
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
call fcn.004330d0
add esp, 4
lea ecx, [ebp - 4]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 8], 0
push 0
push 0
push 4
push 0
push 1
push 0x40000000
lea ecx, [ebp - 4]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4320ec
lea ecx, [ebp - 4]
call fcn.0040a350
jmp 0x4320fe
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 4]
call fcn.0040a350
mov esp, ebp
pop ebp
ret

Function at 0x432110
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 8]
push eax
call fcn.004330d0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
call fcn.0040a350
cmp dword [ebp - 4], 0
je 0x43214f
mov eax, 1
jmp 0x432151
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x432160
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae078
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x4caef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.004336d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040a780
movzx ecx, al
test ecx, ecx
jne 0x4321bf
lea ecx, [ebp - 0x30]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4321d3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040a350
jmp 0x43231e
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x4d57c8
call fcn.00424720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00416200
test eax, eax
jbe 0x432303
lea ecx, [ebp - 0x2c]
call fcn.00435e60
mov edi, dword [ebp - 0x4c]
add edi, 0x818
mov ecx, 0x188
mov esi, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x2c]
call fcn.00435e60
add eax, 8
push eax
lea ecx, [ebp - 0x48]
call fcn.0040a2d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00435e80
lea ecx, [ebp - 0x48]
call fcn.0040a760
mov dword [ebp - 0x44], eax
push 0x2f
lea ecx, [ebp - 0x48]
call fcn.00434f80
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x3c]
sub eax, 1
push eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040a5c0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00434ff0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43229b
lea ecx, [ebp - 0x40]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4be8d4
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.004350a0
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4322d2
lea ecx, [ebp - 0x34]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x34]
call fcn.0040a350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040a350
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0040a350
jmp 0x4321e5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00414990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040a350
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae668
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x4caef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
add eax, 0x48c
push eax
lea ecx, [ebp - 0x34]
call fcn.0040a2b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x4d57c8
call fcn.00424720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00416200
test eax, eax
jbe 0x432489
lea ecx, [ebp - 0x30]
call fcn.00435e60
mov edi, dword [ebp - 0x50]
add edi, 0x818
mov ecx, 0x188
mov esi, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x30]
call fcn.00435e60
add eax, 8
push eax
lea ecx, [ebp - 0x48]
call fcn.0040a2d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00435e80
lea ecx, [ebp - 0x48]
call fcn.0040a760
mov dword [ebp - 0x44], eax
push 0x2f
lea ecx, [ebp - 0x48]
call fcn.00434f80
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x3c]
sub edx, 1
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040a5c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00434ff0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x432460
mov ecx, dword [ebp - 0x50]
call fcn.00432160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040a350
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0040a350
jmp 0x432489
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040a350
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0040a350
jmp 0x43238b
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00414990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040a350
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
lea ecx, [ebp + 8]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x433060
mov dword [ebp - 0xc], 0
lea ecx, [ebp + 8]
call fcn.0040a350
mov eax, dword [ebp - 0xc]
jmp 0x4330c7
lea ecx, [ebp + 8]
call fcn.0040a8b0
push eax
call fcn.00426a90
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
je 0x4330a1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x818]
jne 0x4330a1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x81c]
je 0x4330b5
mov dword [ebp - 0x10], 0
lea ecx, [ebp + 8]
call fcn.0040a350
mov eax, dword [ebp - 0x10]
jmp 0x4330c7
mov dword [ebp - 0x14], 1
lea ecx, [ebp + 8]
call fcn.0040a350
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4
Function at 0x4330d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad6cc
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.004a76e0
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x10], 0x800
xor eax, eax
mov word [ebp - 0x1014], ax
push 0xffe
push 0
lea ecx, [ebp - 0x1012]
push ecx
call fcn.00497550
add esp, 0xc
lea edx, [ebp - 0x1014]
push edx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1018]
call fcn.0040a2d0
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x1020]
push ecx
lea ecx, [ebp - 0x1018]
call fcn.0040a5c0
mov dword [ebp - 0x1034], eax
push 0x4be9e0
mov edx, dword [ebp - 0x1034]
push edx
call fcn.00435190
add esp, 8
mov byte [ebp - 0x1019], al
lea ecx, [ebp - 0x1020]
call fcn.0040a350
movzx eax, byte [ebp - 0x1019]
test eax, eax
je 0x4331b4
push 0x4be9e4
lea ecx, [ebp - 0x1018]
call fcn.00434e10
lea ecx, [ebp - 0x1024]
push ecx
mov ecx, 0x4d57c8
call fcn.00415160
mov dword [ebp - 0x1038], eax
mov edx, dword [ebp - 0x1038]
mov dword [ebp - 0x103c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x103c]
push eax
lea ecx, [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x1028]
push edx
call fcn.00434ff0
add esp, 0xc
mov dword [ebp - 0x1040], eax
mov eax, dword [ebp - 0x1040]
mov dword [ebp - 0x1044], eax
mov byte [ebp - 4], 2
push 0x4be9e8
mov ecx, dword [ebp - 0x1044]
push ecx
lea edx, [ebp - 0x102c]
push edx
call fcn.004350a0
add esp, 0xc
mov dword [ebp - 0x1048], eax
mov eax, dword [ebp - 0x1048]
mov dword [ebp - 0x104c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x104c]
push ecx
lea ecx, [ebp - 0x1018]
call fcn.0040a370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x102c]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1028]
call fcn.0040a350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1024]
call fcn.0040a350
lea edx, [ebp - 0x1018]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040a2b0
mov eax, dword [ebp - 0x1030]
or eax, 1
mov dword [ebp - 0x1030], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1018]
call fcn.0040a350
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret
Function at 0x433320
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad673
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00497550
add esp, 0xc
lea ecx, [ebp + 0x14]
call fcn.0040a8b0
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x4be9fc
lea ecx, [ebp + 0x10]
call fcn.0040a8b0
push eax
lea ecx, [ebp + 0xc]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040a2d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040a2b0
mov edx, dword [ebp - 0x224]
or edx, 1
mov dword [ebp - 0x224], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0040a350
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040a350
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret

Function at 0x433d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x26c], ecx
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0x490]
call fcn.004240b0
test eax, eax
jne 0x433d57
xor eax, eax
xor edx, edx
jmp 0x433e21
push 0x254
push 0
lea ecx, [ebp - 0x260]
push ecx
call fcn.00497550
add esp, 0xc
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0x63c]
push ecx
call fcn.0043fe70
mov edx, dword [eax + 0x10]
call edx
add esp, 8
mov eax, dword [ebp - 0x250]
or eax, dword [ebp - 0x24c]
jne 0x433e15
mov ecx, dword [ebp - 0x26c]
add ecx, 0x48c
push ecx
mov edx, esp
mov dword [ebp - 0x268], esp
push ecx
mov ecx, edx
call fcn.0040a2b0
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x264]
push eax
call fcn.004275b0
add esp, 8
mov dword [ebp - 0x274], eax
lea ecx, [ebp - 0x264]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433e0a
lea ecx, [ebp - 0x264]
call fcn.0040a8b0
push eax
call fcn.00426a90
add esp, 4
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], edx
lea ecx, [ebp - 0x264]
call fcn.0040a350
mov eax, dword [ebp - 0x250]
mov edx, dword [ebp - 0x24c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret