Function at 0x40b4e8
Capabilities:
Delete file

Disassembly:
push 0x8c
mov eax, 0x43a9fd
call fcn.00438496
mov dword [ebp - 0x7c], ecx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x20]
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
mov edx, dword [ebp + 0x18]
inc ebx
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x24]
shr eax, 4
and eax, ebx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x88], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x4426c4]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp - 0x7c]
xorps xmm0, xmm0
push edx
push dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], ecx
mov ecx, edi
push esi
movlpd qword [ebp - 0x98], xmm0
call fcn.0040aa62
test eax, eax
je 0x40b754
test dword [esi + 0x24], 0x400
je 0x40b580
mov eax, dword [edi]
mov ecx, edi
push esi
push dword [ebp + 0x10]
call dword [eax + 0x7c]
lea ecx, [ebp - 0x78]
call fcn.0040b766
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
push dword [eax]
call fcn.00407528
mov eax, dword [edi + 0x25c]
mov edx, dword [edi + 0x274]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
cmp edx, 0x2e
je 0x40b5d6
cmp edx, 0x2f
je 0x40b5d6
mov byte [ebp - 0x47], bl
xor ecx, ecx
jmp 0x40b5db
xor ecx, ecx
mov byte [ebp - 0x47], cl
mov byte [ebp - 0x34], bl
lea eax, [edi + 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], edx
cmp edx, 0xd
jne 0x40b616
cmp dword [esi + 0x70], ecx
je 0x40b616
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
cmp edx, ecx
jl 0x40b616
jg 0x40b60d
cmp eax, ecx
jb 0x40b616
mov byte [ebp - 0x46], bl
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [edi + 0x260]
call dword [edi + 0x258]
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x7c], ecx
test ecx, ecx
jne 0x40b68e
push esi
push dword [ebp - 0x14]
lea ecx, [edi + 4]
call fcn.0040b1e9
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp eax, 0xa0000059
je 0x40b656
mov edx, dword [ebp - 0x84]
mov dword [edx], esi
cmp dword [ebp + 8], 0
jne 0x40b67c
cmp eax, 0xa0000062
jne 0x40b67c
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x40b74c
mov ecx, eax
call fcn.00409513
cmp eax, ebx
jne 0x40b687
mov eax, dword [ebp - 0x14]
cmp eax, 0xa0000017
jne 0x40b74c
mov ebx, esi
jmp 0x40b74c
cmp dword [ebp - 0x80], 0
je 0x40b6ba
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x7c]
test eax, eax
je 0x40b6ba
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041438e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x88], 0
jne 0x40b71b
lea eax, [ebp - 0x98]
push eax
push ecx
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.0040b7c4
test eax, eax
jne 0x40b71b
mov edx, dword [ebp - 0x84]
xor ecx, ecx
mov dword [edx], ecx
mov eax, dword [esi + 0x18]
or eax, dword [esi + 0x1c]
je 0x40b71b
mov eax, dword [ebp - 0x98]
or eax, dword [ebp - 0x94]
jne 0x40b6fe
mov esi, ebx
jmp 0x40b71d
cmp dword [esi + 0x20], 0x10
jne 0x40b71b
cmp dword [edi + 0x27c], 0xa0000060
cmove ecx, ebx
mov dword [ebp - 0x84], ecx
mov esi, ecx
jmp 0x40b71d
xor esi, esi
mov ecx, dword [ebp - 0x7c]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
test esi, esi
je 0x40b74c
cmp dword [ebp - 0x1c], 0
je 0x40b738
push dword [ebp - 0x8c]
jmp 0x40b746
cmp dword [ebp - 0x80], 0
je 0x40b74c
mov eax, dword [ebp - 0x90]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x70]
call fcn.00409f50
lea ecx, [ebp - 0x20]
call fcn.00414365
mov eax, ebx
call fcn.00438445
ret 0x20