Function at 0x410f00
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.00456f09
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.00456f09
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.00456f09
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.00456f09
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.00456f09
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1c0f835
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.00456f09
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1c0f83d
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.004100a6
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411041
push ebx
call fcn.00456f0f
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 0x411064
mov eax, 0x46e255
push eax
push 2
mov ebx, 0x1a4
call fcn.00459160
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, 0x1c0f853
xor ecx, ecx
test eax, eax
je 0x411088
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x24]
xor ebx, ebx
test eax, eax
je 0x411099
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4110b0
dec eax
test ecx, ecx
je 0x4110b0
call fcn.0040397e
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 0x4110d0
push ebx
call fcn.00456f0f
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x41110a
push 0x1c0f853
push dword [ebp - 4]
mov ecx, 2
call fcn.00403a2a
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411106
push ebx
call fcn.00456f0f
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x1c0f85d
push dword [ebp - 4]
mov ecx, 2
call fcn.00403a2a
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x250
call fcn.00456f09
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 0x4111f9
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x411220
push 0x106
push 0x40b499e
push 6
call fcn.00456f15
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.00457440
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 0x4112f2
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4112f0
imul eax, dword [edi]
jmp 0x4112e5
mov ecx, eax
cmp ecx, 0x208
jle 0x4112ff
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.00457440
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 0x41133d
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x41133b
imul eax, dword [edi]
jmp 0x411330
mov ecx, eax
cmp ecx, 0x1c
jle 0x411347
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.00456f0f
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41136f
push ebx
call fcn.00456f0f
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41195a
mov ebx, dword [ebp - 0xc]
add ebx, 0x20
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
call fcn.004119e6
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4113a2
jmp 0x41168f
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 0x4113ce
push 0x259
push 0x40b499e
push 6
call fcn.00456f15
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4113e0
jmp 0x41168f
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x46e389]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x46e389]
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.00458ee0
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411441
push ebx
call fcn.00456f0f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x1c0f86d
xor ecx, ecx
test eax, eax
je 0x411453
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
je 0x411464
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x41147b
dec eax
test ecx, ecx
je 0x41147b
call fcn.0040397e
add esp, 0xc
test eax, eax
je 0x4114cb
mov eax, 0x1c0f879
xor ecx, ecx
test eax, eax
je 0x411494
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
je 0x4114a5
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4114bc
dec eax
test ecx, ecx
je 0x4114bc
call fcn.0040397e
add esp, 0xc
test eax, eax
je 0x4114cb
xor eax, eax
jmp 0x4114d0
mov eax, 1
test eax, eax
je 0x4114dd
jmp 0x41168f
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.00458040
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41154e
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00403a2a
add esp, 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00410f00
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411549
push ebx
call fcn.00456f0f
add esp, 4
jmp 0x41168f
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.00458040
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x411635
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 1
push 1
mov ebx, 0xc0
call fcn.004591a0
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.00458040
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00403a2a
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 0x4115fe
add eax, 8
push eax
xor eax, eax
call dword [0x1c11a5c]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x411625
push 0x55d
push 0x40b499e
push 6
call fcn.00456f15
add esp, 0xc
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411635
push ebx
call fcn.00456f0f
add esp, 4
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00403a2a
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x411658
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41167f
push 0x59a
push 0x40b499e
push 6
call fcn.00456f15
add esp, 0xc
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41168f
push ebx
call fcn.00456f0f
add esp, 4
mov dword [ebp - 0x2c], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x250
call fcn.00456f09
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 0x411785
push 0x5cf
push 0x40b499e
push 6
call fcn.00456f15
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.00457440
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 0x411857
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x411855
imul eax, dword [edi]
jmp 0x41184a
mov ecx, eax
cmp ecx, 0x208
jle 0x411864
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.00457440
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 0x4118a2
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4118a0
imul eax, dword [edi]
jmp 0x411895
mov ecx, eax
cmp ecx, 0x1c
jle 0x4118ac
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.00456f0f
add esp, 4
pop eax
test eax, eax
jne 0x41137f
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 0x4118f5
push 0x5f1
push 0x40b499e
push 6
call fcn.00456f15
add esp, 0xc
push 0x1c0f82b
push dword [ebp - 4]
mov ecx, 2
call fcn.00403a2a
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41191a
add eax, 8
push eax
xor eax, eax
call dword [0x1c11a60]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x411941
push 0x636
push 0x40b499e
push 6
call fcn.00456f15
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411954
push ebx
call fcn.00456f0f
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x411962
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411973
push ebx
call fcn.00456f0f
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00456f0f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00456f0f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00456f0f
add esp, 4
pop ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00456f0f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00456f0f
add esp, 4
pop ebx
call fcn.00456f0f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4119df
push ebx
call fcn.00456f0f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4