Function at 0x410fb6
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x28
call fcn.0043c4ae
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.0043c4ae
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.0043c4ae
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.0043c4ae
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 0x14
push ebx
push 0x210
call fcn.0043c4ae
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1b7c03f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x82
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x24
call fcn.0043c4ae
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1b7c047
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp + 8]
call fcn.0041015c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4110f7
push ebx
call fcn.0043c4b4
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 2
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41111a
mov eax, 0x453255
push eax
push 2
mov ebx, 0x1a4
call fcn.0043e710
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, 0x1b7c05d
xor ecx, ecx
test eax, eax
je 0x41113e
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x24]
xor ebx, ebx
test eax, eax
je 0x41114f
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x411166
dec eax
test ecx, ecx
je 0x411166
call fcn.00402f66
add esp, 0xc
test eax, eax
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411186
push ebx
call fcn.0043c4b4
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x4111c0
push 0x1b7c05d
push dword [ebp - 4]
mov ecx, 2
call fcn.00403012
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4111bc
push ebx
call fcn.0043c4b4
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x1b7c067
push dword [ebp - 4]
mov ecx, 2
call fcn.00403012
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x250
call fcn.0043c4ae
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x208
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x1c
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4112af
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4112d6
push 0x106
push 0x40b2e42
push 6
call fcn.0043c4ba
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.0043c9f0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4113a8
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4113a6
imul eax, dword [edi]
jmp 0x41139b
mov ecx, eax
cmp ecx, 0x208
jle 0x4113b5
mov ecx, 0x208
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x208
push ebx
push edi
push 1
mov eax, 2
call fcn.0043c9f0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4113f3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4113f1
imul eax, dword [edi]
jmp 0x4113e6
mov ecx, eax
cmp ecx, 0x1c
jle 0x4113fd
mov ecx, 0x1c
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x1c
call fcn.0043c4b4
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411425
push ebx
call fcn.0043c4b4
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x411a10
mov ebx, dword [ebp - 0xc]
add ebx, 0x20
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
call fcn.00411a9c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x411458
jmp 0x411745
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x411484
push 0x259
push 0x40b2e42
push 6
call fcn.0043c4ba
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x411496
jmp 0x411745
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x45336f]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x45336f]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.00401194
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x910
call fcn.0043e490
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4114f7
push ebx
call fcn.0043c4b4
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x1b7c077
xor ecx, ecx
test eax, eax
je 0x411509
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
je 0x41151a
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x411531
dec eax
test ecx, ecx
je 0x411531
call fcn.00402f66
add esp, 0xc
test eax, eax
je 0x411581
mov eax, 0x1b7c083
xor ecx, ecx
test eax, eax
je 0x41154a
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
je 0x41155b
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x411572
dec eax
test ecx, ecx
je 0x411572
call fcn.00402f66
add esp, 0xc
test eax, eax
je 0x411581
xor eax, eax
jmp 0x411586
mov eax, 1
test eax, eax
je 0x411593
jmp 0x411745
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 2
mov ebx, 0xc4
call fcn.0043d5f0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x411604
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00403012
add esp, 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00410fb6
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4115ff
push ebx
call fcn.0043c4b4
add esp, 4
jmp 0x411745
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 1
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 2
mov ebx, 0xc4
call fcn.0043d5f0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4116eb
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 1
push 1
mov ebx, 0xc0
call fcn.0043e750
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 2
mov ebx, 0xc4
call fcn.0043d5f0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00403012
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4116b4
add eax, 8
push eax
xor eax, eax
call dword [0x1b7dc64]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4116db
push 0x55d
push 0x40b2e42
push 6
call fcn.0043c4ba
add esp, 0xc
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4116eb
push ebx
call fcn.0043c4b4
add esp, 4
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00403012
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41170e
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x411735
push 0x59a
push 0x40b2e42
push 6
call fcn.0043c4ba
add esp, 0xc
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411745
push ebx
call fcn.0043c4b4
add esp, 4
mov dword [ebp - 0x2c], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x250
call fcn.0043c4ae
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x208
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x1c
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x41183b
push 0x5cf
push 0x40b2e42
push 6
call fcn.0043c4ba
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x30]
push ebx
mov edi, dword [ebp - 0x34]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.0043c9f0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x41190d
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x41190b
imul eax, dword [edi]
jmp 0x411900
mov ecx, eax
cmp ecx, 0x208
jle 0x41191a
mov ecx, 0x208
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x208
push ebx
push edi
push 1
mov eax, 2
call fcn.0043c9f0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x411958
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x411956
imul eax, dword [edi]
jmp 0x41194b
mov ecx, eax
cmp ecx, 0x1c
jle 0x411962
mov ecx, 0x1c
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x1c
call fcn.0043c4b4
add esp, 4
pop eax
test eax, eax
jne 0x411435
mov dword [ebp - 0x24], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4119ab
push 0x5f1
push 0x40b2e42
push 6
call fcn.0043c4ba
add esp, 0xc
push 0x1b7c035
push dword [ebp - 4]
mov ecx, 2
call fcn.00403012
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4119d0
add eax, 8
push eax
xor eax, eax
call dword [0x1b7dc68]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4119f7
push 0x636
push 0x40b2e42
push 6
call fcn.0043c4ba
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411a0a
push ebx
call fcn.0043c4b4
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x411a18
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411a29
push ebx
call fcn.0043c4b4
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0043c4b4
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0043c4b4
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0043c4b4
add esp, 4
pop ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0043c4b4
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0043c4b4
add esp, 4
pop ebx
call fcn.0043c4b4
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411a95
push ebx
call fcn.0043c4b4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4