Function at 0x437120
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493a76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.0041e210
lea ecx, [ebp - 0xf8]
call fcn.00423200
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x64]
call fcn.0041e210
lea ecx, [ebp - 0xe0]
call fcn.00423200
mov byte [ebp - 4], 1
lea edx, [ebp - 0xc8]
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x68]
call fcn.0041e210
lea ecx, [ebp - 0xc8]
call fcn.00423200
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xe0]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.00439650
add esp, 0xc
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x4371dc
mov dword [ebp - 0x30], 1
jmp 0x4371e3
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x4371ff
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437273
lea edx, [ebp - 0xf8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x43723a
mov dword [ebp - 0x38], 1
jmp 0x437241
mov dword [ebp - 0x38], 0
mov dl, byte [ebp - 0x38]
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x43725d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x437294
mov dword [ebp - 0x40], 1
jmp 0x43729b
mov dword [ebp - 0x40], 0
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x4372bd
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43734f
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x14], 8
jb 0x437304
mov dword [ebp - 0x48], 1
jmp 0x43730b
mov dword [ebp - 0x48], 0
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x10], al
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x43732d
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.00439340
add esp, 8
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x437383
mov dword [ebp - 0x50], 1
jmp 0x43738a
mov dword [ebp - 0x50], 0
mov cl, byte [ebp - 0x50]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x4373ac
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43743e
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x14], 8
jb 0x4373f3
mov dword [ebp - 0x58], 1
jmp 0x4373fa
mov dword [ebp - 0x58], 0
mov al, byte [ebp - 0x58]
mov byte [ebp - 0x12], al
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x43741c
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.004230d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe0]
call fcn.004230d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.004230d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret