Function at 0x4b3453
Capabilities:
Delete file

Disassembly:
mov eax, 0x4caa3c
call fcn.004c7e20
sub esp, 0x8dc
mov eax, dword [0x4ed384]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
call fcn.004b2844
test eax, eax
je 0x4b37ad
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea edi, [ebp - 0x8dc]
call fcn.00402f03
and dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
push dword [ebp - 0x8dc]
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x4b34d4
lea ecx, [ebx + 8]
or eax, 0xffffffff
xor edi, edi
call fcn.00403907
lea eax, [ebx + 0x30]
call fcn.0048fe09
lea esi, [ebx + 0x18]
call fcn.004b2886
lea edi, [ebp - 0x8dc]
lea eax, [ebx + 4]
call fcn.00402f73
mov eax, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x2c]
cmp ebx, dword [ebp + 0x14]
ja 0x4b351c
jb 0x4b34e6
cmp eax, dword [ebp + 0x10]
jae 0x4b351c
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
sbb eax, ebx
xor edx, edx
cmp eax, edx
jb 0x4b351c
ja 0x4b34fd
cmp ecx, dword [ebp + 0x18]
jbe 0x4b351c
mov eax, dword [ebp - 0x8dc]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4b3514
push eax
call fcn.004013aa
xor eax, eax
inc eax
jmp 0x4b37aa
xor eax, eax
mov word [ebp - 0x1c], 0x5c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov word [ebp - 0x224], ax
push str..tmp
lea eax, [ebp - 0x8dc]
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call fcn.00403120
mov eax, dword [eax]
lea ebx, [ebp - 0x474]
call fcn.00407cb1
mov esi, eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4b356d
push eax
call fcn.004013aa
test esi, esi
je 0x4b35ab
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x474]
call fcn.00407c1d
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4b359c
push eax
call fcn.004013aa
lea eax, [ebp - 0x474]
call fcn.00407d67
test eax, eax
jne 0x4b3571
mov edi, dword [ebp + 8]
and dword [ebp + 0xc], 0
cmp dword [edi + 0x1c], 0
jle 0x4b36c9
lea eax, [edi + 0x18]
mov dword [ebp - 0x8e4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x8e4]
call fcn.004ab76d
mov ecx, eax
lea esi, [ebp - 0x8e0]
call fcn.00402eaa
xor eax, eax
mov word [ebp - 0x480], 0x5c
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x478], eax
mov word [ebp - 0x688], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x8e0]
lea ebx, [ebp - 0x8d8]
call fcn.00407cb1
test eax, eax
je 0x4b3649
mov ecx, ebx
call fcn.0043511d
mov esi, dword [ebp - 0x8e4]
mov edi, eax
mov eax, dword [ebp + 0xc]
call fcn.004b28c2
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.004ab76d
mov ecx, eax
add ecx, 4
mov eax, ebx
call fcn.004b2867
mov edi, dword [ebp + 8]
jmp 0x4b3694
push str..xml
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x8e8]
push eax
call fcn.00403120
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x8e8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x8e4]
call fcn.004b289b
dec dword [ebp + 0xc]
lea eax, [esi - 0xc]
cmp eax, dword [0x4f0984]
je 0x4b3694
push eax
call fcn.004013aa
lea eax, [ebp - 0x8d8]
call fcn.00407d90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x8e0]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4b36ba
push eax
call fcn.004013aa
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi + 0x1c]
jl 0x4b35c5
mov edx, dword [edi + 0x2c]
cmp edx, dword [ebp + 0x14]
mov eax, dword [edi + 0x28]
ja 0x4b3702
jb 0x4b36db
cmp eax, dword [ebp + 0x10]
jae 0x4b3702
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
sbb eax, edx
xor edx, edx
cmp eax, edx
jb 0x4b3702
ja 0x4b36f2
cmp ecx, dword [ebp + 0x18]
jbe 0x4b3702
lea eax, [ebp - 0x474]
call fcn.00407d90
jmp 0x4b34fd
lea eax, [edi + 0x18]
call fcn.004b28e2
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
and dword [ebp + 8], 0
lea ebx, [ecx + eax]
xor esi, esi
mov ecx, ebx
add ecx, dword [edi + 0x28]
mov eax, esi
adc eax, dword [edi + 0x2c]
cmp eax, dword [ebp + 0x14]
jb 0x4b376d
jbe 0x4b3768
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x1c]
jge 0x4b376d
lea ecx, [edi + 0x18]
call fcn.004ab76d
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4b3754
push dword [ebp + 8]
lea eax, [edi + 0x18]
call fcn.004b289b
dec dword [ebp + 8]
inc dword [ebp + 8]
mov ecx, ebx
add ecx, dword [edi + 0x28]
mov eax, esi
adc eax, dword [edi + 0x2c]
cmp eax, dword [ebp + 0x14]
ja 0x4b372a
jb 0x4b376d
cmp ecx, dword [ebp + 0x10]
ja 0x4b372a
add ebx, dword [edi + 0x28]
adc esi, dword [edi + 0x2c]
cmp esi, dword [ebp + 0x14]
ja 0x4b3784
jb 0x4b377f
cmp ebx, dword [ebp + 0x10]
jae 0x4b3784
xor esi, esi
inc esi
jmp 0x4b3786
xor esi, esi
lea eax, [ebp - 0x474]
call fcn.00407d90
mov eax, dword [ebp - 0x8dc]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4b37a8
push eax
call fcn.004013aa
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004c7b01
leave
ret 0x18