Function at 0x465a50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504882
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x170], esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
push 0x468ad0
call fcn.004dbbc8
add esp, 4
add esi, 4
push esi
lea ecx, [ebp - 0x180]
call fcn.00441cb0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 8]
xor esi, esi
cmp eax, esi
jle 0x465ade
mov al, byte [eax + ecx - 1]
cmp al, 0x5c
je 0x465ade
push 0x514670
lea ecx, [ebp + 8]
call fcn.0041d470
push 0x5422ee
lea ecx, [ebp - 0x164]
call fcn.0041ad50
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x164]
call fcn.0041e3d0
push 0x514bec
lea ecx, [ebp + 8]
call fcn.0041d470
mov dword [ebp - 0x168], esi
mov byte [ebp - 0x155], 1
mov dword [ebp - 0x154], esi
push 0x13c
push esi
lea edx, [ebp - 0x150]
push edx
call fcn.004dba80
add esp, 0xc
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x17c], esi
cmp esi, 0xffffffff
je 0x465dc6
mov bl, 6
mov edi, dword [ebp - 0x164]
push 0x514be4
lea edx, [ebp - 0x128]
push edx
call fcn.004dcc20
add esp, 8
test eax, eax
je 0x465da9
push 0x514be8
lea eax, [ebp - 0x128]
push eax
call fcn.004dcc20
add esp, 8
test eax, eax
je 0x465da9
push 0x51a9f8
lea ecx, [ebp - 0x128]
push ecx
call fcn.004dcc20
add esp, 8
test eax, eax
je 0x465da9
push str.prev
lea edx, [ebp - 0x128]
push edx
call fcn.004dcc20
add esp, 8
test eax, eax
je 0x465da9
test byte [ebp - 0x154], 0x10
je 0x465da9
push 0x5422ee
lea ecx, [ebp + 8]
call fcn.004199b0
push edi
mov eax, dword [edi - 8]
push eax
lea ecx, [ebp + 8]
call fcn.0041ce60
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp + 8]
call fcn.0041d470
push 0x5422ee
lea ecx, [ebp - 0x15c]
call fcn.0041ad50
mov byte [ebp - 4], 5
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x15c]
call fcn.0041e3d0
push 0x5422ee
lea ecx, [ebp - 0x160]
call fcn.0041ad50
mov byte [ebp - 4], bl
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x160]
call fcn.0041e3d0
mov esi, dword [ebp - 0x160]
mov eax, dword [esi - 8]
test eax, eax
jle 0x465c9b
cmp byte [eax + esi - 1], 0x5c
jne 0x465c9b
lea esi, [eax - 1]
push esi
push 0
lea ecx, [ebp - 0x178]
push ecx
lea ecx, [ebp - 0x160]
call fcn.004249b0
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x160]
call fcn.0041e3d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x178]
call fcn.00416630
mov esi, dword [ebp - 0x160]
push 0x514670
lea ecx, [ebp - 0x15c]
call fcn.0041d470
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [eax - 8]
push edx
lea ecx, [ebp - 0x15c]
call fcn.0041ce60
push 1
push 0
mov eax, dword [ebp - 0x15c]
push eax
call fcn.0046dc30
add esp, 0xc
test al, al
je 0x465d85
push ecx
mov ecx, esp
mov dword [ebp - 0x18c], esp
lea edx, [ebp - 0x15c]
push edx
call fcn.0041ea10
mov byte [ebp - 4], 8
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x170]
call fcn.004643f0
test al, al
je 0x465d85
push 0
lea eax, [ebp - 0x188]
push eax
push esi
call fcn.0046dc30
add esp, 0xc
test al, al
je 0x465d85
call fcn.0046d080
mov ecx, dword [ebp - 0x184]
push ecx
mov ecx, dword [ebp - 0x188]
push ecx
push edx
push eax
call fcn.0046d120
add esp, 0x10
cmp byte [ebp - 0x155], 0
jne 0x465d66
cmp eax, dword [ebp - 0x168]
jae 0x465d85
mov dword [ebp - 0x168], eax
lea edx, [ebp - 0x15c]
push edx
mov ecx, dword [ebp - 0x16c]
call fcn.0041e3d0
jmp 0x465d85
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x16c]
call fcn.0041e3d0
mov byte [ebp - 0x155], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x160]
call fcn.00416630
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.00416630
mov esi, dword [ebp - 0x17c]
lea ecx, [ebp - 0x154]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x465b60
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x164]
push edx
lea ecx, [ebp + 8]
call fcn.0041e3d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x164]
call fcn.00416630
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x180]
cmp dword [eax], 0
je 0x465dfc
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
lea edx, [eax - 0xc]
cmp edx, dword [0x570020]
je 0x465e32
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x465e32
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
call fcn.004db910
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x570020]
je 0x465e64
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x465e64
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.004db910
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret 0x10