Function at 0x4b2a03
Capabilities:
Delete file

Disassembly:
mov eax, 0x4c5112
call fcn.004c2540
sub esp, 0x480
mov eax, dword [0x4e7384]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
call fcn.004b1306
test eax, eax
je 0x4b2d5b
push ebx
push edi
push dword [ebp + 8]
lea edi, [ebp - 0x480]
call fcn.00402e10
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x480]
push dword [0x4ebd20]
call dword [sym.imp.MSVCRT.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x4b2a83
or eax, 0xffffffff
xor edi, edi
mov ecx, 0x4ebd08
call fcn.004b5128
lea edi, [ebp - 0x480]
mov eax, 0x4ebd20
mov dword [0x4ebd18], ebx
mov dword [0x4ebd1c], ebx
call fcn.00402e80
mov eax, dword [0x4ebd1c]
mov edx, dword [ebp + 0x10]
cmp eax, edx
mov ecx, dword [0x4ebd18]
push esi
ja 0x4b2ace
jb 0x4b2a9d
cmp ecx, dword [ebp + 0xc]
jae 0x4b2ace
mov esi, dword [ebp + 0xc]
sub esi, ecx
sbb edx, eax
cmp edx, ebx
jb 0x4b2ace
ja 0x4b2aaf
cmp esi, dword [ebp + 0x14]
jbe 0x4b2ace
mov eax, dword [ebp - 0x480]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4b2ac6
push eax
call fcn.004013aa
xor eax, eax
inc eax
jmp 0x4b2d58
mov edx, dword [0x4ebd0c]
cmp edx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x47c], edx
mov dword [ebp - 0x478], ebx
jle 0x4b2c53
mov eax, dword [ebp - 0x478]
mov ecx, 0x4ebd08
call fcn.004a6c6c
mov ecx, eax
lea esi, [ebp - 0x484]
call fcn.00402de7
mov word [ebp - 0x1c], 0x5c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x224], bx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x484]
lea ebx, [ebp - 0x474]
call fcn.00407e63
test eax, eax
mov esi, 0x4ebd08
je 0x4b2b82
mov eax, dword [ebp - 0x478]
mov ecx, esi
call fcn.004a6c6c
lea ecx, [ebp - 0x474]
mov ebx, eax
call fcn.004b1385
cmp eax, dword [ebx + 0x10]
jne 0x4b2b82
cmp edx, dword [ebx + 0x14]
jne 0x4b2b82
mov eax, dword [ebp - 0x478]
mov ecx, esi
call fcn.004a6c6c
mov ecx, eax
add ecx, 4
lea eax, [ebp - 0x474]
call fcn.004b13a7
jmp 0x4b2c08
push str..tmp
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x488]
push eax
call fcn.0040302d
push str..xml
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.0040302d
mov byte [ebp - 4], 4
push dword [ebp - 0x488]
call edi
mov ebx, dword [ebp - 0x48c]
push ebx
call edi
push dword [ebp - 0x478]
mov eax, esi
call fcn.004b15f0
dec dword [ebp - 0x47c]
dec dword [ebp - 0x478]
lea eax, [ebx - 0xc]
cmp eax, dword [0x4e9154]
je 0x4b2bf1
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x488]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4b2c08
push eax
call fcn.004013aa
lea eax, [ebp - 0x474]
call fcn.00407f42
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x484]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4b2c2e
push eax
call fcn.004013aa
inc dword [ebp - 0x478]
mov eax, dword [ebp - 0x478]
xor ebx, ebx
cmp eax, dword [ebp - 0x47c]
jl 0x4b2aee
mov eax, dword [0x4ebd1c]
mov ecx, dword [0x4ebd18]
cmp eax, dword [ebp + 0x10]
ja 0x4b2c7c
jb 0x4b2c5f
cmp ecx, dword [ebp + 0xc]
jae 0x4b2c7c
mov edx, dword [ebp + 0xc]
sub edx, ecx
mov ecx, dword [ebp + 0x10]
sbb ecx, eax
cmp ecx, ebx
jb 0x4b2c7c
ja 0x4b2aaf
cmp edx, dword [ebp + 0x14]
ja 0x4b2aaf
mov eax, 0x4ebd08
call fcn.004b1619
mov eax, dword [0x4ebd0c]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x478], ebx
lea ebx, [ecx + eax]
mov eax, dword [0x4ebd18]
mov ecx, dword [0x4ebd1c]
xor edi, edi
mov esi, eax
add esi, ebx
mov edx, ecx
adc edx, edi
cmp edx, dword [ebp + 0x10]
jb 0x4b2d25
jbe 0x4b2d20
mov edx, dword [ebp - 0x478]
cmp edx, dword [ebp - 0x47c]
jge 0x4b2d25
mov esi, 0x4ebd08
mov eax, edx
mov ecx, esi
call fcn.004a6c6c
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4b2cfd
push dword [ebp - 0x478]
mov eax, esi
call fcn.004b15f0
dec dword [ebp - 0x47c]
dec dword [ebp - 0x478]
mov eax, dword [0x4ebd18]
inc dword [ebp - 0x478]
mov ecx, dword [0x4ebd1c]
mov esi, eax
push 0
add esi, ebx
mov edx, ecx
pop edi
adc edx, edi
cmp edx, dword [ebp + 0x10]
ja 0x4b2cbc
jb 0x4b2d25
cmp esi, dword [ebp + 0xc]
ja 0x4b2cbc
push 0
add eax, ebx
pop edx
adc ecx, edx
cmp ecx, dword [ebp + 0x10]
ja 0x4b2d3d
jb 0x4b2d38
cmp eax, dword [ebp + 0xc]
jae 0x4b2d3d
xor esi, esi
inc esi
jmp 0x4b2d3f
xor esi, esi
mov eax, dword [ebp - 0x480]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4b2d56
push eax
call fcn.004013aa
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004c2215
leave
ret