Function at 0x406120
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438e31
mov eax, dword fs:[0]
push eax
sub esp, 0x5d0
mov eax, dword [0x44f014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
xorps xmm0, xmm0
movlpd qword [ebp - 0x280], xmm0
push 0x2c
mov dword [ebp - 0x5b0], edi
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x27c], edi
call fcn.00416ece
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x280], eax
mov dword [ebp - 4], edi
xorps xmm0, xmm0
movq qword [ebp - 0x248], xmm0
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x240], edi
movq qword [ebp - 0x23c], xmm0
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], edi
xor eax, eax
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], 7
mov word [ebp - 0x328], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c8]
push eax
push 0x446ee0
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], eax
call fcn.00402040
add esi, 0x4c
mov byte [ebp - 4], 7
push esi
lea ecx, [ebp - 0x310]
call fcn.00403380
lea edx, [ebp - 0x328]
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.00410950
cmp dword [ebp - 0x2fc], 8
lea eax, [ebp - 0x310]
cmovae eax, dword [ebp - 0x310]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00421a66
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4062d2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x310]
call fcn.0040a120
xor esi, esi
mov dword [ebp - 0x5b4], esi
nop dword [eax]
push 0
push 0x446ee0
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0
call fcn.00402040
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
mov edx, esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x298]
call fcn.00410460
mov ecx, dword [ebp - 0x288]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x407720
cmp dword [ebp - 0x284], 8
lea eax, [ebp - 0x298]
push ecx
cmovae eax, dword [ebp - 0x298]
push eax
push 1
push 0x449cb8
push ecx
push dword [ebp - 0x5b8]
lea ecx, [ebp - 0x2e0]
call fcn.0040c950
or edi, 0x10
mov dword [ebp - 0x5b0], edi
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x230]
call fcn.0040b430
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2b0]
cmp eax, esi
je 0x406466
mov ecx, dword [ebp - 0x29c]
cmp ecx, 8
jb 0x406425
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40641b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
mov dword [ebp - 0x2a0], 0
xor eax, eax
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2b0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2a0], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x4064a6
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40649c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp ecx, 8
jb 0x406507
mov edx, dword [ebp - 0x2e0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4064fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
push 0
push 0x446ee0
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0
call fcn.00402040
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2b0]
cmp dword [ebp - 0x29c], 8
mov esi, dword [ebp - 0x2a0]
mov edx, esi
cmovae ecx, dword [ebp - 0x2b0]
setae byte [ebp - 0x5a9]
push 1
push 0x449cbc
push ecx
call fcn.0040b8c0
add esp, 0xc
mov dword [ebp - 0x5bc], eax
cmp esi, eax
mov dword [ebp - 0x230], 0
mov edx, eax
mov dword [ebp - 0x220], 0
cmovb edx, esi
mov dword [ebp - 0x21c], 0
cmp byte [ebp - 0x5a9], 0
lea ecx, [ebp - 0x2b0]
push edx
cmovne ecx, dword [ebp - 0x2b0]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00402040
mov ecx, dword [ebp - 0x2b4]
cmp ecx, 8
jb 0x4065fa
mov edx, dword [ebp - 0x2c8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4065f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
movups xmm0, xmmword [ebp - 0x230]
mov edx, dword [ebp - 0x5bc]
mov eax, dword [ebp - 0x2a0]
inc edx
mov dword [ebp - 0x230], 0
movups xmmword [ebp - 0x2c8], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
cmp eax, edx
jb 0x40771b
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x29c], 8
lea eax, [ebp - 0x2b0]
cmovae eax, dword [ebp - 0x2b0]
push ecx
lea ecx, [ebp - 0x230]
lea eax, [eax + edx*2]
push eax
call fcn.00402040
mov ecx, dword [ebp - 0x32c]
cmp ecx, 8
jb 0x4066ba
mov edx, dword [ebp - 0x340]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4066b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
movups xmm0, xmmword [ebp - 0x230]
cmp dword [ebp - 0x2fc], 8
lea ecx, [ebp - 0x310]
mov edi, dword [ebp - 0x310]
mov esi, dword [ebp - 0x300]
cmovae ecx, edi
push 1
movups xmmword [ebp - 0x340], xmm0
mov edx, esi
movq xmm0, qword [ebp - 0x220]
setae byte [ebp - 0x5a9]
push 0x449cbc
push ecx
movq qword [ebp - 0x330], xmm0
call fcn.0040b8c0
add esp, 0xc
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
lea edx, [eax + 1]
cmp esi, edx
jb 0x40771b
sub esi, edx
lea eax, [ebp - 0x310]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp byte [ebp - 0x5a9], 0
push ecx
cmovne eax, edi
lea ecx, [ebp - 0x230]
lea eax, [eax + edx*2]
push eax
call fcn.00402040
mov edi, dword [ebp - 0x5b0]
mov eax, dword [ebp - 0x264]
or edi, 0xe0
cmp eax, 8
jb 0x4067ad
mov edx, dword [ebp - 0x278]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4067a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
movups xmm0, xmmword [ebp - 0x230]
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x340]
push ecx
movups xmmword [ebp - 0x278], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x268], xmm0
cmp eax, dword [ebp - 0x240]
je 0x4067f0
mov ecx, eax
call fcn.00403380
add dword [ebp - 0x244], 0x18
jmp 0x4067fc
push eax
lea ecx, [ebp - 0x248]
call fcn.0040cb30
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x32c]
cmp ecx, 8
jb 0x406840
mov edx, dword [ebp - 0x340]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406836
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x284]
cmp ecx, 8
jb 0x406884
mov edx, dword [ebp - 0x298]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40687a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x29c]
cmp ecx, 8
jb 0x4068c8
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4068be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
mov esi, dword [ebp - 0x5b4]
dec esi
mov dword [ebp - 0x5b4], esi
cmp esi, 0xfffffffe
jg 0x406300
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x2f8]
push eax
call fcn.0040a120
cmp dword [ebp - 0x2e4], 8
lea eax, [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00421a66
add esp, 0xc
lea eax, [ebp - 0x328]
cmp dword [ebp - 0x314], 8
cmovae eax, dword [ebp - 0x328]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
test eax, eax
je 0x406982
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406960
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.0040a120
mov ecx, dword [ebp - 0x2b8]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x407720
cmp dword [ebp - 0x2b4], 8
lea eax, [ebp - 0x2c8]
push 1
cmovae eax, dword [ebp - 0x2c8]
push 0x449cbc
push ecx
push eax
push ecx
push dword [ebp - 0x5b8]
lea ecx, [ebp - 0x298]
call fcn.0040c950
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
mov ecx, dword [ebp - 0x284]
mov eax, ecx
cmovae edx, dword [ebp - 0x278]
mov edi, dword [ebp - 0x288]
sub eax, edi
mov esi, dword [ebp - 0x268]
cmp esi, eax
ja 0x406a3e
lea eax, [edi + esi]
cmp ecx, 8
mov dword [ebp - 0x288], eax
lea esi, [ebp - 0x298]
cmovae esi, dword [ebp - 0x298]
mov eax, dword [ebp - 0x268]
add eax, eax
push eax
lea ecx, [esi + edi*2]
push edx
push ecx
call fcn.00418a30
mov eax, dword [ebp - 0x268]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x298]
jmp 0x406a59
push esi
push edx
mov byte [ebp - 0x5bc], 0
lea ecx, [ebp - 0x298]
push dword [ebp - 0x5bc]
push esi
call fcn.004021b0
mov dword [ebp - 0x5dc], 0
xor ecx, ecx
mov dword [ebp - 0x5cc], 0
mov dword [ebp - 0x5c8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5dc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5cc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x449cc0
lea edx, [ebp - 0x5dc]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x358]
call fcn.00401f70
add esp, 4
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x5c8]
cmp ecx, 8
jb 0x406b02
mov edx, dword [ebp - 0x5dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406af8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
xor eax, eax
mov dword [ebp - 0x5cc], 0
mov dword [ebp - 0x5c8], 7
mov word [ebp - 0x5dc], ax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x284]
cmp ecx, 8
jb 0x406b63
mov edx, dword [ebp - 0x298]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406b59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
xor eax, eax
mov dword [ebp - 0x288], 0
cmp dword [ebp - 0x344], 8
lea ecx, [ebp - 0x5a8]
mov word [ebp - 0x298], ax
lea eax, [ebp - 0x358]
cmovae eax, dword [ebp - 0x358]
push ecx
push eax
mov dword [ebp - 0x284], 7
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x5b8], eax
cmp eax, 0xffffffff
jne 0x406bc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x407376
lea ecx, [ebp - 0x57c]
mov byte [ebp - 0x5a9], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406bd0
sub ecx, edx
lea eax, [ebp - 0x57c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.0040a120
mov ecx, 0x449cc4
lea eax, [ebp - 0x57c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406c26
test dx, dx
je 0x406c22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406c26
add eax, 4
add ecx, 4
test dx, dx
jne 0x406c00
xor eax, eax
jmp 0x406c2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x407223
mov ecx, 0x449cc8
lea eax, [ebp - 0x57c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406c66
test dx, dx
je 0x406c62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406c66
add eax, 4
add ecx, 4
test dx, dx
jne 0x406c40
xor eax, eax
jmp 0x406c6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x407223
mov esi, dword [ebp - 0x244]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x248]
mov ecx, esi
sub ecx, edi
mov dword [ebp - 0x5b4], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4070cd
mov ecx, dword [ebp - 0x5b4]
mov dword [ebp - 0x5b0], 0
sub esi, edi
mov eax, 0x2aaaaaab
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x40772f
mov eax, dword [ebp - 0x5b0]
lea ecx, [ebp - 0x230]
add eax, edi
push eax
call fcn.00403380
mov byte [ebp - 4], 0x12
lea edi, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
lea edx, [ebp - 0x260]
mov eax, dword [ebp - 0x250]
cmovae edi, dword [ebp - 0x278]
cmp dword [ebp - 0x24c], 8
mov esi, dword [ebp - 0x268]
cmovae edx, dword [ebp - 0x260]
setae byte [ebp - 0x5aa]
mov dword [ebp - 0x5bc], edi
mov dword [ebp - 0x5c0], edx
cmp esi, eax
ja 0x406e95
sub eax, esi
test esi, esi
je 0x406db3
inc eax
lea ecx, [edx + eax*2]
mov eax, edx
mov dword [ebp - 0x5c4], ecx
nop dword [eax + eax]
sub ecx, eax
sar ecx, 1
je 0x406e95
movzx edx, word [edi]
nop dword [eax]
cmp word [eax], dx
je 0x406d72
add eax, 2
sub ecx, 1
jne 0x406d60
jmp 0x406e95
test eax, eax
je 0x406e95
mov edx, edi
test esi, esi
je 0x406da5
mov edi, eax
sub edi, dword [ebp - 0x5bc]
nop dword [eax + eax]
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x40706f
add edx, 2
sub esi, 1
jne 0x406d90
sub eax, dword [ebp - 0x5c0]
sar eax, 1
jne 0x406e95
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x250], ecx
mov byte [ebp - 0x5a9], 1
cmovb ecx, dword [ebp - 0x250]
cmp byte [ebp - 0x5aa], 0
push ecx
cmovne eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x2e0]
push eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
call fcn.00402040
cmp dword [ebp - 0x2cc], 8
lea ecx, [ebp - 0x2e0]
lea eax, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ecx, dword [ebp - 0x2cc]
test eax, eax
sete al
mov byte [ebp - 0x5aa], al
cmp ecx, 8
jb 0x406e8d
mov edx, dword [ebp - 0x2e0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406e7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
mov al, byte [ebp - 0x5aa]
add esp, 8
test al, al
jne 0x407089
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x406ed9
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406ecf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
mov esi, dword [ebp - 0x244]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x248]
mov ecx, esi
inc dword [ebp - 0x5b4]
sub ecx, edi
add dword [ebp - 0x5b0], 0x18
imul ecx
mov ecx, dword [ebp - 0x5b4]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x406cb4
mov al, byte [ebp - 0x5a9]
cmp al, 1
jne 0x407223
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x2f8]
lea eax, [ebp - 0x260]
cmovae ecx, dword [ebp - 0x2f8]
cmp dword [ebp - 0x24c], 8
push ecx
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4070cd
mov ecx, dword [ebp - 0x2b8]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x407720
cmp dword [ebp - 0x2b4], 8
lea eax, [ebp - 0x2c8]
push 1
cmovae eax, dword [ebp - 0x2c8]
push 0x449cbc
push ecx
push eax
push ecx
push dword [ebp - 0x5b8]
lea ecx, [ebp - 0x2e0]
call fcn.0040c950
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
lea edx, [ebp - 0x2e0]
lea ecx, [ebp - 0x230]
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.00401f70
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, dword [ebp - 0x2cc]
cmp ecx, 8
jb 0x407011
mov edx, dword [ebp - 0x2e0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407007
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407725
push ecx
push edx
call fcn.00417151
add esp, 8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x407223
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
invalid
invalid