Function at 0x42bfb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 0x10]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
cmp dword [esi + 0xc], edi
jbe 0x42bff0
call fcn.00446257
mov ebx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
cmp ebx, dword [esi + 0x10]
jbe 0x42c002
call fcn.00446257
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi]
push edi
push ecx
push ebx
push eax
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
call fcn.00429560
lea ecx, [ebp - 0x88]
call fcn.00422680
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.00425460
push str.ProductList.xml
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.0040f860
add esp, 0x10
mov bl, 3
push 0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.004233d0
push 1
lea ecx, [ebp - 0x88]
call fcn.00421520
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x88]
call fcn.00422050
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00422020
push 0xa
lea ecx, [ebp - 0x88]
call fcn.00421510
lea ecx, [ebp - 0x88]
call fcn.004233c0
lea ecx, [ebp - 0x88]
call fcn.00421530
cmp eax, 0x6000
jne 0x42c112
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x88]
call fcn.00421ab0
mov eax, dword [ebp + 0xc]
push esi
push eax
mov byte [ebp - 4], 4
call fcn.0042ad00
mov ecx, dword [ebp + 0xc]
add esp, 8
push ecx
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c112
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
xor edi, edi
sar eax, 7
test eax, eax
jbe 0x42c145
xor ebx, ebx
cmp edi, eax
jb 0x42c12c
call fcn.00446257
mov ecx, dword [esi + 0xc]
mov byte [ebx + ecx + 0x20], 1
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 7
sub ebx, 0xffffff80
cmp edi, eax
jb 0x42c12c
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c168
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c18b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.00421d40
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c1c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret