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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509ce6
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x5655bc]
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.0040a3c0
mov ecx, dword [ebp - 0xf4]
call fcn.0040adf0
mov ecx, dword [ebp - 0xf4]
call fcn.0040ab30
mov ecx, dword [ebp - 0xf4]
call fcn.0040a6e0
mov ecx, dword [ebp - 0xf4]
call fcn.0040a2a0
mov ecx, dword [ebp - 0xf4]
call fcn.0040b2b0
push 0x10
call fcn.0045a5e1
add esp, 4
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x94], 0
je 0x409a05
mov ecx, dword [ebp - 0x94]
call fcn.004221d0
mov dword [ebp - 0xf8], eax
jmp 0x409a0f
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.0040a650
mov dword [ebp - 4], 1
push 0x513dac
lea ecx, [ebp - 0x48]
call fcn.00403bf0
push 0x513db8
lea ecx, [ebp - 0x48]
call fcn.00403bf0
push 0x513dd0
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.0040a650
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.00404420
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.00401cc0
push str.Configure.xml
lea ecx, [ebp - 0x2c]
call fcn.00403bf0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x8c], 0
jmp 0x409ae9
mov ecx, dword [ebp - 0x8c]
add ecx, 1
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0x40
jge 0x409b51
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 0x409b4f
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 0x409b51
jmp 0x409ada
lea ecx, [ebp - 0x2c]
call fcn.00401e70
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401c80
mov byte [ebp - 4], 5
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.0043b7f0
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
call fcn.00401cc0
lea ecx, [ebp - 0x48]
call fcn.00401e70
push eax
lea ecx, [ebp - 0xe8]
call fcn.00401c80
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.0043b7f0
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.00401cc0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00403b40
push eax
lea ecx, [ebp - 0x88]
call fcn.00403b40
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.0040a8e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xec], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00403b70
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0xf4]
call fcn.00409dd0
lea ecx, [ebp - 0x2c]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409c37
lea ecx, [ebp - 0x2c]
call fcn.00401e70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xf4]
call fcn.00409cc0
push 0x513e04
mov eax, dword [ebp - 0xf4]
add eax, 0x12c
push eax
call fcn.004655c0
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.00401cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401cc0
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.00463a0b
mov esp, ebp
pop ebp
ret 4