Function at 0x437df0
Capabilities:
Check if file exists
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45aa70
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xe0]
lea eax, [esp + 0x54]
push eax
call fcn.0042dab0
xor ebx, ebx
push 0x98
mov dword [esp + 0xdc], ebx
call fcn.0043f2d6
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0xd8], 1
je 0x437e6a
push eax
call fcn.0042e640
jmp 0x437e6c
xor eax, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xd8], bl
call fcn.0042ccf0
mov esi, 7
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
cmp dword [esp + 0xe4], ebx
mov byte [esp + 0xd8], 2
lea ecx, [esp + 0x14]
je 0x437f89
lea eax, [ebp + 0x20]
call fcn.0041bae0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0xe0], 3
call fcn.00406cc0
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x2c], 8
jb 0x437edf
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043ef40
add esp, 4
push ebx
push ebx
lea edx, [esp + 0x40]
push edx
push 1
call fcn.00438260
lea ecx, [esp + 0x54]
mov edi, eax
call fcn.0042ccf0
cmp dword [esp + 0xe4], ebx
mov dword [esp + 0x30], 0x1388
push edi
je 0x438045
lea eax, [ebp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call fcn.00438400
push 4
mov dword [esp + 0x30], esi
push str.size
lea esi, [esp + 0x1c]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00406f20
mov byte [esp + 0xd8], 5
mov edx, dword [ebp + 8]
push edx
mov eax, esi
push eax
call fcn.0042d180
mov esi, 8
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x2c], esi
jb 0x437f75
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [ebp + 0x8c], esi
jb 0x4380d4
mov eax, dword [ebp + 0x78]
jmp 0x4380d7
lea eax, [ebp + 0x58]
call fcn.0041bae0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0xe0], 4
call fcn.00406cc0
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x2c], 8
jb 0x437fc1
mov edx, dword [esp + 0x18]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x4c], ebx
jne 0x437edf
cmp dword [esp + 0x50], 8
jb 0x437fdf
mov eax, dword [esp + 0x3c]
push eax
call fcn.0043ef40
add esp, 4
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
mov dword [esp + 0x54], vtable.TiXmlDocument.0
jb 0x438019
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0043ef40
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.0042cc60
mov eax, 1
jmp 0x438230
lea edx, [ebp + 0x58]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.00438400
push 4
mov dword [esp + 0x30], esi
push str.size
lea esi, [esp + 0x1c]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], edx
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00406f20
mov byte [esp + 0xd8], 6
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, esi
push edx
call fcn.0042d180
mov esi, 8
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x2c], esi
jb 0x4380ac
mov eax, dword [esp + 0x18]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [ebp + 0xa8], esi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
jb 0x438169
mov eax, dword [ebp + 0x94]
jmp 0x43816f
lea eax, [ebp + 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4380f9
cmp dword [ebp + 0x8c], esi
jb 0x4380ef
mov eax, dword [ebp + 0x78]
jmp 0x4380f2
lea eax, [ebp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x8c], esi
jb 0x438106
mov ebp, dword [ebp + 0x78]
jmp 0x438109
add ebp, 0x78
mov eax, ebp
lea edi, [esp + 0x54]
call fcn.0042df40
cmp dword [esp + 0x50], esi
movzx edi, al
jb 0x43812a
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0043ef40
add esp, 4
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
mov dword [esp + 0x54], vtable.TiXmlDocument.0
jb 0x43820c
mov edx, dword [esp + 0xa4]
push edx
jmp 0x438204
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438197
cmp dword [ebp + 0xa8], esi
jb 0x43818a
mov eax, dword [ebp + 0x94]
jmp 0x438190
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xa8], esi
jb 0x4381a7
mov ebp, dword [ebp + 0x94]
jmp 0x4381ad
add ebp, 0x94
mov eax, ebp
lea edi, [esp + 0x54]
call fcn.0042df40
cmp dword [esp + 0x50], esi
movzx edi, al
jb 0x4381ce
mov eax, dword [esp + 0x3c]
push eax
call fcn.0043ef40
add esp, 4
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
mov dword [esp + 0x54], vtable.TiXmlDocument.0
jb 0x43820c
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0043ef40
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.0042cc60
mov eax, edi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0043ef12
add esp, 0xc8
ret 8