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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485276
mov eax, dword fs:[0]
push eax
sub esp, 0x3b4
mov eax, dword [0x4ae070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
call fcn.00406210
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], eax
mov word [ebp - 0x108], ax
mov dword [ebp - 0x10c], 7
mov dword [ebp - 0x110], eax
mov word [ebp - 0x120], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90]
push eax
push 0x49586c
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], eax
mov word [ebp - 0x90], ax
call fcn.00401830
xor eax, eax
mov byte [ebp - 4], 7
push 0xffffffffffffffff
push eax
add esi, 0x4c
mov dword [ebp - 0xdc], 7
push esi
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], ax
call fcn.00401fa0
lea edx, [ebp - 0x120]
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.00426a40
lea ecx, [ebp - 0xf0]
call fcn.004267b0
xor esi, esi
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0xc4], 7
push eax
push 0x49586c
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
call fcn.00401830
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov edx, esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00426490
lea eax, [ebp - 0x28]
mov edx, str._.
push eax
lea ecx, [ebp - 0x40]
call fcn.004149a0
push eax
lea edx, [ebp - 0xf0]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3a8]
call fcn.004229e0
add esp, 8
mov edi, eax
lea eax, [ebp - 0xd8]
cmp eax, edi
je 0x420e7d
mov eax, dword [ebp - 0xc4]
cmp eax, 8
jb 0x420e54
inc eax
lea ecx, [ebp - 0xd8]
push eax
push dword [ebp - 0xd8]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0xc4], 7
push edi
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
call fcn.00401a60
mov eax, dword [ebp - 0x394]
cmp eax, 8
jb 0x420e9b
inc eax
lea ecx, [ebp - 0x3a8]
push eax
push dword [ebp - 0x3a8]
call fcn.00401e60
xor eax, eax
mov byte [ebp - 4], 0xa
mov word [ebp - 0x3a8], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x394], 7
mov dword [ebp - 0x398], 0
cmp eax, 8
jb 0x420ed1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0xac], 7
push eax
push 0x49586c
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
call fcn.00401830
push 1
push ecx
push 0x49585c
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
call fcn.004222d0
mov ebx, eax
lea ecx, [ebp - 0xd8]
push ebx
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00409de0
mov edi, eax
lea eax, [ebp - 0x90]
cmp eax, edi
je 0x420f74
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x420f51
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x7c], 7
push edi
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
call fcn.00401a60
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x420f8d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00401e60
push 0xffffffffffffffff
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00409de0
mov edi, eax
lea eax, [ebp - 0xc0]
cmp eax, edi
je 0x420ff5
mov eax, dword [ebp - 0xac]
cmp eax, 8
jb 0x420fcc
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0xac], 7
push edi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
call fcn.00401a60
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42100e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00401e60
push 1
push ecx
push 0x49585c
lea ecx, [ebp - 0xf0]
call fcn.004222d0
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00409de0
mov edi, eax
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x42106f
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x421052
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x5c], 7
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00401a60
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x421088
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00401e60
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004013b0
mov eax, dword [ebp - 0xac]
cmp eax, 8
jb 0x4210b5
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb0], 0
cmp eax, 8
jb 0x4210e7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401e60
xor eax, eax
mov byte [ebp - 4], 8
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x42111d
inc eax
lea ecx, [ebp - 0xd8]
push eax
push dword [ebp - 0xd8]
call fcn.00401e60
dec esi
cmp esi, 0xfffffffe
jg 0x420db0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x108]
call fcn.00401fa0
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x108]
call fcn.00426840
push 0x49585c
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x3c0]
call fcn.00402860
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x3a8]
call fcn.00422a30
push 0x495858
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x138]
call fcn.004027f0
add esp, 0xc
mov eax, dword [ebp - 0x394]
cmp eax, 8
jb 0x4211ad
inc eax
lea ecx, [ebp - 0x3a8]
push eax
push dword [ebp - 0x3a8]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x394], 7
mov dword [ebp - 0x398], 0
mov word [ebp - 0x3a8], ax
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x3ac]
cmp eax, 8
jb 0x4211ec
inc eax
lea ecx, [ebp - 0x3c0]
push eax
push dword [ebp - 0x3c0]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x3ac], 7
cmp dword [ebp - 0x124], 8
lea ecx, [ebp - 0x388]
mov word [ebp - 0x3c0], ax
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push ecx
push eax
mov dword [ebp - 0x3b0], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x390], eax
cmp eax, 0xffffffff
jne 0x421250
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x58]
jmp 0x421630
xor bl, bl
cmp word [ebp - 0x35c], 0
mov byte [ebp - 0x389], bl
jne 0x421266
xor ecx, ecx
jmp 0x42127f
lea ecx, [ebp - 0x35c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421270
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00401830
mov ecx, 0x495860
lea eax, [ebp - 0x35c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4212c6
test dx, dx
je 0x4212c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4212c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4212a0
xor eax, eax
jmp 0x4212cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x42157d
mov ecx, 0x495864
lea eax, [ebp - 0x35c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421306
test dx, dx
je 0x421302
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421306
add eax, 4
add ecx, 4
test dx, dx
jne 0x4212e0
xor eax, eax
jmp 0x42130b
sbb eax, eax
or eax, 1
test eax, eax
je 0x42157d
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x4c]
xor esi, esi
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x4214e9
mov ebx, dword [ebp - 0x4c]
cmp edi, esi
jbe 0x421850
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00401fa0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0xa8]
push 0
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00409e80
test eax, eax
jne 0x4213e1
push dword [ebp - 0x18]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x389], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00409de0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x4213ae
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
mov eax, dword [ebp - 0x2c]
sete byte [ebp - 0x38a]
cmp eax, 8
jb 0x4213d4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00401e60
cmp byte [ebp - 0x38a], 0
jne 0x4214ca
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4213fa
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401e60
inc esi
add ebx, 0x18
cmp edi, esi
ja 0x42133d
mov bl, byte [ebp - 0x389]
cmp bl, 1
jne 0x42157d
cmp dword [ebp - 0xf4], 8
lea ecx, [ebp - 0x108]
lea eax, [ebp - 0xa8]
cmovae ecx, dword [ebp - 0x108]
cmp dword [ebp - 0x94], 8
push ecx
cmovae eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4214e9
push 0x49585c
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x40]
call fcn.00402860
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
mov edx, eax
cmovae ecx, dword [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004027f0
mov byte [ebp - 4], 0x15
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42149f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00401e60
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42157d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
jmp 0x421578
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4214e3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401e60
mov bl, byte [ebp - 0x389]
cmp bl, 1
jne 0x42157d
push 0x49585c
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x28]
call fcn.00402860
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
mov edx, eax
cmovae ecx, dword [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004027f0
add esp, 8
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x421544
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0
push eax
call fcn.004013b0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42157d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00401e60
lea eax, [ebp - 0x388]
push eax
push dword [ebp - 0x390]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x421250
mov ecx, dword [ebp - 0x54]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x58]
sub ecx, edi
push dword [ebp - 0x390]
imul ecx
mov ecx, edi
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [ebp - 0x54]
push ebx
call fcn.00422c40
mov esi, 3
add esp, 8
cmp ebx, esi
jbe 0x42162d
nop
lea eax, [esi - 3]
cmp ebx, eax
jbe 0x421850
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00401fa0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x421622
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401e60
inc esi
add edi, 0x18
cmp esi, ebx
jb 0x4215d0
mov edi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x124]
cmp eax, 8
jb 0x42164e
inc eax
lea ecx, [ebp - 0x138]
push eax
push dword [ebp - 0x138]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x128], 0
cmp eax, 8
jb 0x421689
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xe0], 0
cmp eax, 8
jb 0x4216c1
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x80], 0
cmp eax, 8
jb 0x4216f6
inc eax
lea ecx, [ebp - 0x120]
push eax
push dword [ebp - 0x120]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x110], 0
cmp eax, 8
jb 0x421731
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xf8], 0
cmp eax, 8
jb 0x421763
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x421795
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
test edi, edi
je 0x4217e1
mov edx, dword [ebp - 0x54]
push ecx
mov ecx, edi
call fcn.00402970
mov ecx, dword [ebp - 0x50]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.00401d60
test ebx, ebx
je 0x421810
mov edx, dword [ebp - 0x48]
push ecx
mov ecx, ebx
call fcn.00402970
mov ecx, dword [ebp - 0x44]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.00401d60
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x78]
push eax
push dword [eax]
lea eax, [ebp - 0x390]
push eax
call fcn.004224a0
push dword [ebp - 0x78]
call fcn.00459278
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045922f
mov esp, ebp
pop ebp
ret 4
push str.invalid_vector_T__subscript
call fcn.00457bb9
int3