joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429da0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.0041c120
mov dword [ebp - 0x14], 0
mov eax, dword [0x4c0c44]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x4c11c8]
cmp eax, dword [edx + 4]
jle 0x429e0a
push 0x4c11c8
call fcn.0041c4ab
add esp, 4
cmp dword [0x4c11c8], 0xffffffff
jne 0x429e0a
mov ecx, 0x4c11b0
call fcn.0041e310
push 0x496210
call fcn.0041c387
add esp, 4
push 0x4c11c8
call fcn.0041c461
add esp, 4
mov ecx, dword [0x4c11c0]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x429e22
mov dword [ebp - 8], 1
jmp 0x429e29
mov dword [ebp - 8], 0
mov dl, byte [ebp - 8]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x429ef3
push 0x1000
push 0
lea ecx, [ebp - 0x183c]
push ecx
call fcn.00459400
add esp, 0xc
mov dword [ebp - 0x1c], 0x800
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x183c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x429ece
push 0x800
push 0
lea ecx, [ebp - 0x83c]
push ecx
call fcn.00459400
add esp, 0xc
lea edx, [ebp - 0x83c]
mov dword [ebp - 0xc], edx
push 0x44
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x183c]
push ecx
call fcn.0042ae10
add esp, 0xc
test eax, eax
je 0x429ece
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00420c20
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x4c11b0
call fcn.00415e00
lea ecx, [ebp - 0x3c]
call fcn.00422fe0
mov edx, dword [0x4c11c0]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x429ee6
mov dword [ebp - 0x10], 1
jmp 0x429eed
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov byte [ebp - 2], al
push 0x4c11b0
mov ecx, dword [ebp + 8]
call fcn.00407ed0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x42ab50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 4], 0
jmp 0x42ab96
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x42abec
movzx ecx, word [ebp - 0x44]
mov edx, dword [ebp - 4]
cmp ecx, dword [edx*8 + 0x4bf1d0]
jne 0x42abea
cmp dword [ebp + 8], 0
je 0x42abe6
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x4bf1d4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00464e60
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ccc0
mov al, 1
jmp 0x42ac26
jmp 0x42ab8d
cmp dword [ebp + 8], 0
je 0x42ac24
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*8 + 0x4bf1cc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00464e60
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ccc0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x42ac30
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov dword [ebp - 4], 0xffffffff
cmp dword [0x4bf250], 0
je 0x42ad88
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.00459400
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42acd1
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x80c]
test ecx, ecx
je 0x42acd1
push str.SysWOW64
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x42acba
mov dword [ebp - 8], 1
jmp 0x42acc1
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [0x4bf250], 0
cmp dword [ebp - 4], 1
je 0x42ad88
cmp dword [0x4c11cc], 0
jne 0x42acf4
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4c11cc], eax
cmp dword [0x4c11cc], 0
je 0x42ad88
cmp dword [0x4c11d0], 0
jne 0x42ad21
push str.GetSystemWow64DirectoryW
mov edx, dword [0x4c11cc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c11d0], eax
cmp dword [0x4c11d0], 0
je 0x42ad88
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.00459400
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [0x4c11d0]
test eax, eax
je 0x42ad88
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x42ad71
mov dword [ebp - 0xc], 1
jmp 0x42ad78
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [0x4bf250], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42c7f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492c4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1024
call fcn.0041c120
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
call fcn.0041e3e0
mov dword [ebp - 4], 0
push 0x1000
push 0
lea eax, [ebp - 0x1030]
push eax
call fcn.00459400
add esp, 0xc
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1030]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42c882
lea eax, [ebp - 0x1030]
push eax
call fcn.00464b86
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401490
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041e380
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004230d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x42cbe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.00459400
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x808]
test ecx, ecx
je 0x42cc4d
push 0x4a2920
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x42cc4d
push 0x4a2928
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x808]
push ecx
call fcn.00464b86
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401490
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x42cc80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.00459400
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x808]
push edx
call fcn.00464b86
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x808]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401490
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x42d3d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49345d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
lea ecx, [ebp - 0x6c]
call fcn.0041e3e0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x42d40a
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x42d465
lea edx, [ebp - 0x6c]
push edx
push 0
call fcn.0042c3f0
add esp, 8
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 8
jb 0x42d436
mov dword [ebp - 0x24], 1
jmp 0x42d43d
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x42d459
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp + 8], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d5b2
mov edx, dword [ebp - 0x14]
add edx, 0x20
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0046212c
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42d4b9
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004230d0
mov eax, dword [ebp - 0x34]
jmp 0x42d5cb
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42d5a6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x4a2a30
mov eax, dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42d5a6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
and ecx, 0xffff
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
push str._d._d._d._d
lea ecx, [ebp - 0x84]
push ecx
call fcn.004211d0
add esp, 0x18
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00415e00
lea ecx, [ebp - 0x84]
call fcn.00422fe0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00461f75
add esp, 4
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004230d0
mov eax, dword [ebp - 0x50]
jmp 0x42d5cb
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00461f75
add esp, 4
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004230d0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42d740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x42d753
xor eax, eax
jmp 0x42d826
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x1ffff
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42d819
cmp dword [ebp - 4], 0
je 0x42d810
push 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.0042d830
mov ecx, dword [ebp + 0x14]
call fcn.00422cd0
mov dword [ebp - 0x14], eax
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x1ffff
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42d804
cmp dword [ebp + 0x18], 0
je 0x42d7ed
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp + 0x1c], 0
je 0x42d7fb
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ebp - 0xc], 1
jmp 0x42d80e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42d817
mov dword [ebp - 0xc], 1
jmp 0x42d823
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x431a80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov ecx, dword [ebp + 8]
call fcn.00422d20
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x431b4d
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 8
jb 0x431ab9
mov dword [ebp - 0x10], 1
jmp 0x431ac0
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x431adc
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx]
test edx, edx
je 0x431b4d
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x431b10
mov dword [ebp - 0x18], 1
jmp 0x431b17
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x431b33
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431b51
xor eax, eax
jmp 0x431b7a
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00431830
test eax, eax
je 0x431b78
mov ecx, dword [ebp - 0x20]
and ecx, 0x10
jne 0x431b78
mov eax, 1
jmp 0x431b7a
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x431b80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov ecx, dword [ebp + 8]
call fcn.00422d20
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x431c4d
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 8
jb 0x431bb9
mov dword [ebp - 0x10], 1
jmp 0x431bc0
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x431bdc
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx]
test edx, edx
je 0x431c4d
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x431c10
mov dword [ebp - 0x18], 1
jmp 0x431c17
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x431c33
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431c51
xor eax, eax
jmp 0x431c7a
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00431830
test eax, eax
je 0x431c78
mov ecx, dword [ebp - 0x20]
and ecx, 0x10
je 0x431c78
mov eax, 1
jmp 0x431c7a
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x431c80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov ecx, dword [ebp + 8]
call fcn.00422d20
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x431d7e
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 8
jb 0x431cb9
mov dword [ebp - 0x10], 1
jmp 0x431cc0
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x431cdc
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx]
test edx, edx
je 0x431d7e
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x431d14
mov dword [ebp - 0x18], 1
jmp 0x431d1b
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x431d37
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431d7e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x431d69
mov dword [ebp - 0x20], 1
jmp 0x431d70
mov dword [ebp - 0x20], 0
mov cl, byte [ebp - 0x20]
mov byte [ebp - 3], cl
movzx edx, byte [ebp - 3]
test edx, edx
je 0x431d82
xor eax, eax
jmp 0x431d8f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00431da0
mov esp, ebp
pop ebp
ret 8
Function at 0x4324b0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49233d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
cmp dword [ebp + 8], 0
je 0x4324e9
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x4324e9
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4324f0
xor al, al
jmp 0x43257d
mov eax, dword [ebp + 8]
push eax
call fcn.00432590
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040db90
mov dword [ebp - 4], 0
push 1
lea edx, [ebp - 0x2c]
push edx
call fcn.00446880
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004230d0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 8], 0
je 0x43255d
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test edx, edx
je 0x43255d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43255d
mov dword [ebp - 0x10], 1
jmp 0x432564
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x432573
mov dword [ebp - 0x14], 1
jmp 0x43257a
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x432600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
je 0x43262b
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x43262b
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x432632
xor al, al
jmp 0x4326bb
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004326c0
add esp, 0x14
movzx edx, al
test edx, edx
je 0x432696
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00432970
add esp, 0x14
movzx edx, al
test edx, edx
jne 0x43268f
jmp 0x432696
mov dword [ebp - 0x14], 1
cmp dword [ebp - 8], 0
je 0x4326a8
mov eax, dword [ebp - 8]
push eax
call fcn.00461f75
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x4326b4
mov byte [ebp - 1], 1
jmp 0x4326b8
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x43ac80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49403d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
lea ecx, [ebp - 0x78]
call fcn.0041e3e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.00439fc0
add esp, 8
lea edx, [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 8
jb 0x43acd8
mov dword [ebp - 0x20], 1
jmp 0x43acdf
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x43acfb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x43adc3
lea eax, [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x43ad2f
mov dword [ebp - 0x28], 1
jmp 0x43ad36
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x43ad52
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
test edx, edx
je 0x43adc3
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x43ad86
mov dword [ebp - 0x30], 1
jmp 0x43ad8d
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
je 0x43ada9
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ade6
lea edx, [ebp - 0x78]
push edx
call fcn.0043aa80
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004230d0
mov eax, dword [ebp - 0x5c]
jmp 0x43adff
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004230d0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret