Function at 0x462a80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4691f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x178]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x174], edi
call fcn.004130e0
mov esi, dword [esp + 0x17c]
mov eax, dword [esi]
cmp eax, edi
je 0x462aed
mov ecx, dword [esi + 4]
push ecx
push eax
call fcn.0040e9c0
mov edx, dword [esi]
push edx
call fcn.00448193
add esp, 0xc
mov dword [esi], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
je 0x462cf5
mov ebx, 1
jmp 0x462b10
mov eax, dword [0x47fe44]
mov edx, dword [eax + 0xc]
mov ecx, 0x47fe44
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], edi
mov byte [esp + 0x170], bl
jbe 0x462d2e
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push 0x46d4f4
push eax
lea ecx, [esp + 0x2c]
call fcn.0040e69a
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x462c6a
jmp 0x462b70
mov edx, dword [0x47fe44]
mov eax, dword [edx + 0xc]
mov ecx, 0x47fe44
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
cmp dword [esp + 0x14], 0
mov byte [esp + 0x170], 2
jbe 0x462d2e
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
lea edx, [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.0040e69a
lea eax, [esp + 0x54]
push 0x46db90
push eax
call fcn.0044d0aa
add esp, 8
test eax, eax
jne 0x462bce
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
jmp 0x462c2f
lea ecx, [esp + 0x54]
push 0x46fba0
push ecx
call fcn.0044d0aa
add esp, 8
test eax, eax
jne 0x462c01
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x170], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x462c43
test byte [esp + 0x28], 0x10
mov esi, dword [esp + 0x20]
push esi
je 0x462c20
lea ecx, [esp + 0x14]
call fcn.004130e0
mov ecx, dword [esp + 0x180]
push esi
jmp 0x462c27
mov ecx, dword [esp + 0x180]
call fcn.004130e0
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x170], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462c4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x462b70
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jb 0x462d2e
mov edx, dword [esp + 0x10]
lea esi, [eax - 1]
mov eax, dword [edx]
sub eax, 0x10
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462c9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jbe 0x462cbf
mov ecx, dword [esp + 0x10]
lea eax, [esi*4]
push eax
lea edx, [ecx + 4]
push edx
push eax
push ecx
call fcn.00449103
push eax
call fcn.004010cf
add esp, 0x14
sub dword [esp + 0x14], ebx
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x170], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462ce7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jne 0x462b10
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x462d11
push eax
push ecx
call fcn.0040e9c0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00448193
add esp, 0xc
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret 0xc
push 0x80070057
call fcn.0040109c
int3