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

Disassembly:
push 0xffffffffffffffff
push 0x45d2f0
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
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.0042eea0
xor ebx, ebx
push 0x98
mov dword [esp + 0xdc], ebx
call fcn.004419ce
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0xd8], 1
je 0x43923a
push eax
call fcn.0042fa30
jmp 0x43923c
xor eax, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xd8], bl
call fcn.0042e0e0
mov esi, 7
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
cmp dword [esp + 0xe4], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 2
push ecx
je 0x43935d
lea eax, [ebp + 0x20]
call fcn.0041dc60
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0xe0], 3
call fcn.00406d10
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x2c], 8
jb 0x4392b3
mov edx, dword [esp + 0x18]
push edx
call fcn.004415cb
add esp, 4
push ebx
push ebx
lea edx, [esp + 0x40]
push edx
push 1
call fcn.00439640
lea ecx, [esp + 0x54]
mov edi, eax
call fcn.0042e0e0
cmp dword [esp + 0xe4], ebx
mov dword [esp + 0x30], 0x1388
push edi
je 0x43941c
lea eax, [ebp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call fcn.004397e0
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.00406f80
mov byte [esp + 0xd8], 5
mov edx, dword [ebp + 8]
push edx
mov eax, esi
push eax
call fcn.0042e570
mov esi, 8
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x2c], esi
jb 0x439349
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [ebp + 0x8c], esi
jb 0x4394ab
mov eax, dword [ebp + 0x78]
jmp 0x4394ae
lea eax, [ebp + 0x58]
call fcn.0041dc60
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0xe0], 4
call fcn.00406d10
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x2c], 8
jb 0x439398
mov edx, dword [esp + 0x18]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x4c], ebx
jne 0x4392b3
cmp dword [esp + 0x50], 8
jb 0x4393b6
mov eax, dword [esp + 0x3c]
push eax
call fcn.004415cb
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 0x4393f0
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.004415cb
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.0042e050
mov eax, 1
jmp 0x439607
lea edx, [ebp + 0x58]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.004397e0
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.00406f80
mov byte [esp + 0xd8], 6
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, esi
push edx
call fcn.0042e570
mov esi, 8
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x2c], esi
jb 0x439483
mov eax, dword [esp + 0x18]
push eax
call fcn.004415cb
add esp, 4
cmp dword [ebp + 0xa8], esi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
jb 0x439540
mov eax, dword [ebp + 0x94]
jmp 0x439546
lea eax, [ebp + 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4394d0
cmp dword [ebp + 0x8c], esi
jb 0x4394c6
mov eax, dword [ebp + 0x78]
jmp 0x4394c9
lea eax, [ebp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x8c], esi
jb 0x4394dd
mov ebp, dword [ebp + 0x78]
jmp 0x4394e0
add ebp, 0x78
mov eax, ebp
lea edi, [esp + 0x54]
call fcn.0042f330
cmp dword [esp + 0x50], esi
movzx edi, al
jb 0x439501
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004415cb
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 0x4395e3
mov edx, dword [esp + 0xa4]
push edx
jmp 0x4395db
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43956e
cmp dword [ebp + 0xa8], esi
jb 0x439561
mov eax, dword [ebp + 0x94]
jmp 0x439567
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xa8], esi
jb 0x43957e
mov ebp, dword [ebp + 0x94]
jmp 0x439584
add ebp, 0x94
mov eax, ebp
lea edi, [esp + 0x54]
call fcn.0042f330
cmp dword [esp + 0x50], esi
movzx edi, al
jb 0x4395a5
mov eax, dword [esp + 0x3c]
push eax
call fcn.004415cb
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 0x4395e3
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.004415cb
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.0042e050
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.004414cc
add esp, 0xc8
ret 8