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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509126
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x5645bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf4], ecx
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14e4], ecx
mov ecx, dword [ebp - 0xf4]
call fcn.00409c70
mov ecx, dword [ebp - 0xf4]
call fcn.0040a690
mov ecx, dword [ebp - 0xf4]
call fcn.0040a3d0
mov ecx, dword [ebp - 0xf4]
call fcn.00409f90
mov ecx, dword [ebp - 0xf4]
call fcn.00409b50
mov ecx, dword [ebp - 0xf4]
call fcn.0040ab50
push 0x10
call fcn.0045ac81
add esp, 4
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x94], 0
je 0x4092b5
mov ecx, dword [ebp - 0x94]
call fcn.00423170
mov dword [ebp - 0xf8], eax
jmp 0x4092bf
mov dword [ebp - 0xf8], 0
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x90], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x90]
mov dword [eax + 0x230], ecx
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0xf4]
call fcn.00409f00
mov dword [ebp - 4], 1
push 0x512d9c
lea ecx, [ebp - 0x48]
call fcn.00403ac0
push 0x512da8
lea ecx, [ebp - 0x48]
call fcn.00403ac0
push 0x512dc0
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.00409f00
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x100]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.004042c0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.00401cd0
push str.Configure.xml
lea ecx, [ebp - 0x2c]
call fcn.00403ac0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x8c], 0
jmp 0x409399
mov ecx, dword [ebp - 0x8c]
add ecx, 1
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0x40
jge 0x409401
push str.configure
mov edx, dword [ebp - 0x8c]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xf4]
lea ecx, [eax + edx + 0x2d8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4093ff
mov edx, dword [ebp - 0x8c]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + edx + 0x318]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x8c]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x50]
add ecx, dword [eax + edx + 0x31c]
mov dword [ebp - 0x4c], ecx
jmp 0x409401
jmp 0x40938a
lea ecx, [ebp - 0x2c]
call fcn.00401e80
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401c90
mov byte [ebp - 4], 5
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.0043bc30
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
call fcn.00401cd0
lea ecx, [ebp - 0x48]
call fcn.00401e80
push eax
lea ecx, [ebp - 0xe8]
call fcn.00401c90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.0043bc30
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.00401cd0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004020d0
push eax
lea ecx, [ebp - 0x88]
call fcn.004020d0
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.0040a190
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xec], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00403a40
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0xf4]
call fcn.00409680
lea ecx, [ebp - 0x2c]
call fcn.00401e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4094e7
lea ecx, [ebp - 0x2c]
call fcn.00401e80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xf4]
call fcn.00409570
push 0x512df4
mov eax, dword [ebp - 0xf4]
add eax, 0x12c
push eax
call fcn.00465aa0
add esp, 8
mov dword [ebp - 0xf0], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00401c50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00401c50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401cd0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463ee8
mov esp, ebp
pop ebp
ret 4