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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46fbf8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4a2a04]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x4a2a04]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor edi, edi
mov ebx, ecx
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
jmp 0x403b62
xor edi, edi
mov ecx, dword [ebx + 0x3c8]
add eax, ecx
cmp byte [eax], 0
je 0x403d74
add eax, 0x202
xor edx, edx
mov ecx, eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], edi
mov word [esp + 0x60], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x403b90
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x60]
call fcn.00404400
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], edi
mov eax, dword [ebx + 0x3c8]
lea edi, [ebx + 0x374]
lea ebx, [ecx + eax + 0x1202]
push edi
lea esi, [esp + 0x20]
call fcn.00404ea0
mov ebx, 8
add esp, 4
cmp dword [eax + 0x18], ebx
jb 0x403be3
mov eax, dword [eax + 4]
jmp 0x403be6
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp dword [esp + 0x34], ebx
jb 0x403c02
mov edx, dword [esp + 0x20]
push edx
call fcn.00444c3b
add esp, 4
test esi, esi
je 0x403c54
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c8]
mov edx, dword [esp + 0x14]
lea ebx, [edx + ecx + 0x1202]
push edi
lea esi, [esp + 0x20]
call fcn.00404ea0
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x403c37
mov eax, dword [eax + 4]
jmp 0x403c3a
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x34], esi
jb 0x403c54
mov eax, dword [esp + 0x20]
push eax
call fcn.00444c3b
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x3c8]
mov eax, dword [esp + 0x14]
push 0
lea ebx, [eax + edx + 0x1202]
push edi
lea esi, [esp + 0x24]
call fcn.00404ea0
sub esp, 0x18
mov bl, 1
mov byte [esp + 0xa8], bl
mov ecx, esp
mov dword [esp + 0x5c], esp
push ecx
mov ecx, eax
call fcn.0040b8a0
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x74], esp
push edx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 2
call fcn.0040b8a0
add esp, 4
mov byte [esp + 0xc4], bl
call fcn.0040b010
mov byte [esp + 0x88], 0
cmp dword [esp + 0x34], 8
mov bl, al
jb 0x403cda
mov eax, dword [esp + 0x20]
push eax
call fcn.00444c3b
add esp, 4
test bl, bl
je 0x403d51
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x3c8]
mov eax, dword [esp + 0x14]
lea ebx, [eax + edx + 0x1202]
push edi
lea esi, [esp + 0x44]
call fcn.00404ea0
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x403d0f
mov eax, dword [eax + 4]
jmp 0x403d12
add eax, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x3c8]
add edx, dword [esp + 0x14]
mov ecx, eax
call fcn.00401400
cmp dword [esp + 0x58], esi
jb 0x403d3a
mov edx, dword [esp + 0x44]
push edx
call fcn.00444c3b
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x74], 8
jb 0x403d70
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00444c3b
add esp, 4
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, 0x1602
cmp eax, 0x4206
mov dword [esp + 0x14], eax
jl 0x403b60
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004516c6
mov esp, ebp
pop ebp
ret