Function at 0x4050e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41add5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x428040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], ecx
mov eax, dword [eax]
xorps xmm0, xmm0
mov edi, dword [eax + esi*4]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405140
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.0040a110
push edi
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004099d0
push 1
lea edx, [esi + 0x2a]
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00403c20
mov byte [ebp - 4], 1
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x4051bf
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4051b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40535e
push ecx
push edx
call fcn.0040c332
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp ecx, 7
jbe 0x405214
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40520a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40535e
push ecx
push edx
call fcn.0040c332
add esp, 8
inc esi
cmp esi, 9
jge 0x405225
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x405114
xor esi, esi
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
mov eax, dword [eax + 4]
mov edi, dword [eax + esi*4]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 3
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405252
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
push dword [ebp - 0x10]
call fcn.0040a110
push edi
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.004099d0
push 1
lea edx, [esi + 0x34]
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00403c20
mov byte [ebp - 4], 4
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x4052d1
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4052c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40535e
push ecx
push edx
call fcn.0040c332
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp ecx, 7
jbe 0x405322
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405318
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40535e
push ecx
push edx
call fcn.0040c332
add esp, 8
inc esi
cmp esi, 3
jl 0x405227
cmp byte [ebp + 0xc], 0
je 0x40534b
mov eax, dword [0x429dd0]
add eax, 0x528
cmp dword [eax + 0x14], 7
jbe 0x405344
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.0040f4f2
int3