Function at 0x40b238
Capabilities:
Delete file

Disassembly:
push 0x84
mov eax, 0x43a5ba
call fcn.00438668
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x20]
mov ecx, dword [ebp + 0x1c]
xor ebx, ebx
mov edx, dword [ebp + 0x18]
inc ebx
mov dword [ebp - 0x6c], eax
mov eax, dword [eax + 0x24]
shr eax, 4
and eax, ebx
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x7c], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x80], ecx
xor ecx, ecx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x88], ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x70], ecx
stosd dword es:[edi], eax
mov eax, dword [0x4416f4]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp - 0x6c]
xorps xmm0, xmm0
push edx
push dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], ecx
mov ecx, esi
push edi
movlpd qword [ebp - 0x90], xmm0
call fcn.0040a7b6
test eax, eax
je 0x40b4f3
test dword [edi + 0x24], 0x400
je 0x40b2d2
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp + 0x10]
call dword [eax + 0x7c]
xor ecx, ecx
mov dword [ebp - 0x4c], 7
xor eax, eax
mov dword [ebp - 0x60], ecx
or dword [ebp - 0x28], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x60], ax
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x38], cl
mov byte [ebp - 0x37], bl
mov dword [ebp - 0x34], 0xff
mov byte [ebp - 0x30], cl
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], bl
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov ecx, dword [ecx]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x88]
jne 0x40b319
mov eax, dword [ebp - 0x78]
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x60]
push dword [eax]
call fcn.00407641
mov eax, dword [esi + 0x25c]
mov ecx, dword [esi + 0x274]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
cmp ecx, 0x2e
je 0x40b36a
cmp ecx, 0x2f
je 0x40b36a
mov byte [ebp - 0x37], bl
jmp 0x40b36f
xor eax, eax
mov byte [ebp - 0x37], al
lea eax, [esi + 0x3c]
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x34], ecx
push eax
push dword [esi + 0x260]
call dword [esi + 0x258]
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x6c], ecx
test ecx, ecx
jne 0x40b3fe
push edi
push dword [ebp - 0x14]
lea ecx, [esi + 4]
call fcn.0040af33
mov eax, dword [ebp - 0x14]
cmp eax, 0xa0000059
je 0x40b3c4
mov ecx, dword [ebp - 0x80]
xor edx, edx
mov dword [ecx], edx
cmp dword [ebp + 8], 0
jne 0x40b3ea
cmp eax, 0xa0000062
jne 0x40b3ea
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x40b4ae
mov ecx, eax
call fcn.004092ca
cmp eax, ebx
jne 0x40b3f5
mov eax, dword [ebp - 0x14]
cmp eax, 0xa0000017
jne 0x40b4ae
xor eax, eax
mov ebx, eax
jmp 0x40b4ae
cmp dword [ebp - 0x74], 0
je 0x40b42a
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x6c]
test eax, eax
je 0x40b42a
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00413fd2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x7c], 0
jne 0x40b480
lea eax, [ebp - 0x90]
push eax
push ecx
push edi
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0040b513
test eax, eax
jne 0x40b480
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
mov eax, dword [edi + 0x18]
or eax, dword [edi + 0x1c]
je 0x40b480
mov eax, dword [ebp - 0x90]
or eax, dword [ebp - 0x8c]
jne 0x40b467
mov dword [ebp - 0x70], ebx
jmp 0x40b480
cmp dword [edi + 0x20], 0x10
jne 0x40b480
mov eax, dword [ebp - 0x70]
cmp dword [esi + 0x27c], 0xa0000060
cmove eax, ebx
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [ebp - 0x70], 0
je 0x40b4ae
cmp dword [ebp - 0x1c], 0
je 0x40b49d
push dword [ebp - 0x84]
jmp 0x40b4a8
cmp dword [ebp - 0x74], 0
je 0x40b4ae
mov eax, dword [ebp - 0x78]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x40b4e3
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b4da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b505
push edx
push ecx
call fcn.004222ca
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], eax
mov word [ebp - 0x60], ax
lea ecx, [ebp - 0x20]
call fcn.00413fa9
mov eax, ebx
call fcn.00438617
ret 0x20
call fcn.00425bec
int3