Function at 0x413cf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53cb12
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x58fa50]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [0x58fa50]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
call fcn.00418851
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413d50
push 0x80004005
call fcn.00401580
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x184], 0
call fcn.00403c80
push str.Config
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x190], 1
call fcn.00414ca0
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x184], 2
call fcn.00403660
mov byte [esp + 0x180], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413dca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x180], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413df2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
push 0x5680fe
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call fcn.00403bc0
push 0x5680fe
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 3
call fcn.00403bc0
push 0xffffffffffffffff
lea ecx, [ebx + 0x58c]
push 0
mov byte [esp + 0x188], 4
call fcn.00426377
cmp esi, 0xffffffff
je 0x413f72
lea esp, [esp]
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413e57
sub eax, edx
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403aa0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 3
jle 0x413f51
mov eax, dword [eax - 0xc]
push 3
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00414930
mov byte [esp + 0x180], 5
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x413ef7
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x413ee9
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x413ee9
push eax
call fcn.004035f0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x413edc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x1c]
jmp 0x413ef7
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00403aa0
mov byte [esp + 0x180], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413f1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push 0x569b80
push ecx
call fcn.00515bf7
add esp, 8
test eax, eax
sete al
test al, al
je 0x413f51
mov eax, dword [ebx + 0x594]
lea ecx, [ebx + 0x58c]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00426677
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x413e50
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x413f82
push 0
push 0x569b84
push 0
mov ecx, ebx
call fcn.0041cdee
mov eax, dword [ebx + 0x594]
xor edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edi
test eax, eax
jle 0x414043
lea ebx, [ebx]
test edi, edi
js 0x4140fd
cmp edi, dword [ebx + 0x594]
lea eax, [ebx + 0x58c]
jge 0x4140fd
mov esi, dword [eax + 4]
lea ebx, [edi*4]
mov eax, dword [esi + ebx]
add esi, ebx
cmp dword [eax - 4], 1
jle 0x413fda
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, esi
call fcn.00401410
mov esi, dword [esi]
push esi
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x538]
push 0
push 0x143
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, dword [esi + 0x594]
jge 0x4140fd
mov ecx, dword [esi + 0x1fc]
mov eax, dword [esi + 0x590]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
je 0x413d46
mov eax, dword [eax + ebx]
push ecx
push eax
call fcn.00515bf7
add esp, 8
test eax, eax
sete al
test al, al
je 0x414036
mov dword [esp + 0x10], edi
inc edi
mov ebx, esi
cmp edi, dword [esp + 0x28]
jl 0x413fa0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x538]
push 0
push eax
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x180], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414084
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x180], 0
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 0x4140ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x180], 0xffffffff
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 0x4140d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.005149e7
mov esp, ebp
pop ebp
ret
call fcn.00418735
int3