Function at 0x4143b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5415fd
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x594ca8]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
push edi
mov eax, dword [0x594ca8]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov ecx, 0x5704e4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41442e
test dx, dx
je 0x41442a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41442e
add eax, 4
add ecx, 4
test dx, dx
jne 0x414408
xor eax, eax
jmp 0x414433
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4148a2
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.00403740
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x414469
push 0x80004005
call fcn.00404860
mov esi, dword [esp + 0x14]
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414496
test dx, dx
je 0x414492
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414496
add eax, 4
add ecx, 4
test dx, dx
jne 0x414470
xor eax, eax
jmp 0x41449b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
or edx, 0xffffffff
test al, al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
je 0x4144c9
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4148a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4148a2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x570574
lea ecx, [esp + 0x44]
push edi
push ecx
call fcn.00404260
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x44], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x4148a2
test byte [esp + 0x4c], 0x10
je 0x4146f9
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x18]
call fcn.004040f0
mov dword [esp + 0x2b0], 0
mov eax, dword [esp + 0x14]
mov ecx, 0x570580
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414586
test dx, dx
je 0x414582
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414586
add eax, 4
add ecx, 4
test dx, dx
jne 0x414560
xor eax, eax
jmp 0x41458b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x4146c5
lea edx, [esp + 0x14]
push 0x570584
push edx
call fcn.004038f0
add esp, 8
test al, al
je 0x4146c5
push 0x57058c
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.00404260
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x3c]
mov bl, 1
push edx
mov byte [esp + 0x2c8], bl
call fcn.00403830
add esp, 0x18
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x2bc], 2
call fcn.004143b0
mov byte [esp + 0x2b0], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414621
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414649
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x57058c
lea ecx, [esp + 0x24]
push edi
push ecx
call fcn.00404260
lea edx, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x2c8], 3
call fcn.00403830
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41469d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4146c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2b0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414883
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x414883
push 0x57058c
lea ecx, [esp + 0x28]
push edi
push ecx
call fcn.00404260
lea edx, [esp + 0x84]
push edx
push eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x2c8], 4
call fcn.00404260
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov eax, dword [esp + 0x38]
sete bl
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41475a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2b0], esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414780
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41478f
push 0x571f00
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x57058c
lea ecx, [esp + 0x40]
push edi
push ecx
call fcn.00404260
lea edx, [esp + 0x84]
push edx
push eax
lea eax, [esp + 0x48]
mov ebx, 5
push eax
mov dword [esp + 0x2c8], ebx
call fcn.00404260
push 0x5710b0
push eax
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x2d4], 6
call fcn.00404260
mov eax, dword [eax]
add esp, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414801
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414827
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2b0], esi
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41484b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
inc dword [eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
imul eax, eax, 0x64
cdq
idiv dword [ecx + 0x27c]
mov dword [ecx + 0x278], eax
cmp dword [0x59cd30], eax
je 0x414883
mov ebx, ecx
mov dword [0x59cd30], eax
call fcn.00414270
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x4c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41452c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0051553d
mov esp, ebp
pop ebp
ret 0xc