Function at 0x413cc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53cc02
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x590a50]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [0x590a50]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
call fcn.00418883
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413d20
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.00403e70
push str.Config
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x190], 1
call fcn.00414ba0
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x184], 2
call fcn.00403850
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 0x413d9a
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 0x413dc2
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 0x56910e
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call fcn.00403db0
push 0x56910e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 3
call fcn.00403db0
push 0xffffffffffffffff
lea ecx, [ebx + 0x590]
push 0
mov byte [esp + 0x188], 4
call fcn.004263f3
cmp esi, 0xffffffff
je 0x413f42
lea esp, [esp]
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413e27
sub eax, edx
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403c90
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 3
jle 0x413f21
mov eax, dword [eax - 0xc]
push 3
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
call fcn.004148f0
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 0x413ec7
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x413eb9
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x413eb9
push eax
call fcn.004037e0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x413eac
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 0x413ec7
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00403c90
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 0x413eef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push 0x56ab9c
push ecx
call fcn.00515ced
add esp, 8
test eax, eax
sete al
test al, al
je 0x413f21
mov eax, dword [ebx + 0x598]
lea ecx, [ebx + 0x590]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004266f3
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x413e20
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x413f52
push 0
push 0x56aba0
push 0
mov ecx, ebx
call fcn.0041ce20
mov eax, dword [ebx + 0x598]
xor edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edi
test eax, eax
jle 0x414013
lea ebx, [ebx]
test edi, edi
js 0x4140cd
cmp edi, dword [ebx + 0x598]
lea eax, [ebx + 0x590]
jge 0x4140cd
mov esi, dword [eax + 4]
lea ebx, [edi*4]
mov eax, dword [esi + ebx]
add esi, ebx
cmp dword [eax - 4], 1
jle 0x413faa
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 + 0x53c]
push 0
push 0x143
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, dword [esi + 0x598]
jge 0x4140cd
mov ecx, dword [esi + 0x200]
mov eax, dword [esi + 0x594]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
je 0x413d16
mov eax, dword [eax + ebx]
push ecx
push eax
call fcn.00515ced
add esp, 8
test eax, eax
sete al
test al, al
je 0x414006
mov dword [esp + 0x10], edi
inc edi
mov ebx, esi
cmp edi, dword [esp + 0x28]
jl 0x413f70
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x53c]
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 0x414054
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 0x41407c
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 0x4140a7
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.00514add
mov esp, ebp
pop ebp
ret
call fcn.00418745
int3