Function at 0x467e40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cfcd
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x280], ebx
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
push dword [eax + 4]
call fcn.0045cc50
mov eax, dword [ebx]
push 0x5c
push edi
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 8], eax
mov dword [ebx + 4], 0
call fcn.004715e5
add esp, 8
test eax, eax
je 0x467eb2
add eax, 2
mov dword [ebp - 0x264], eax
jmp 0x467eba
mov eax, edi
mov dword [ebp - 0x264], edi
push 0x2e
push eax
call fcn.004715e5
mov ebx, eax
add esp, 8
mov dword [ebp - 0x26c], ebx
mov esi, ebx
test ebx, ebx
je 0x467f0d
cmp ebx, edi
jbe 0x467efe
mov ebx, edi
lea esp, [esp]
movzx eax, word [esi - 2]
push eax
call fcn.00472457
add esp, 4
test eax, eax
je 0x467ef8
add esi, 0xfffffffe
cmp esi, ebx
ja 0x467ee0
mov ebx, dword [ebp - 0x26c]
cmp word [esi - 2], 0x2d
lea eax, [esi - 2]
mov esi, ebx
cmove esi, eax
jmp 0x467f21
push 0
push dword [ebp - 0x264]
call fcn.004715e5
mov ebx, eax
add esp, 8
mov esi, ebx
mov eax, esi
sub eax, edi
sar eax, 1
push eax
lea eax, [ebp - 0x270]
push edi
push eax
call fcn.00434aa0
push ebx
mov dword [ebp - 4], 0
call fcn.0046a680
push eax
push ebx
call fcn.0046a810
mov dword [ebp - 0x278], eax
push 0x49c078
mov byte [ebp - 4], 1
call fcn.0046a680
push eax
push 0x49c078
call fcn.0046a810
add esp, 0x24
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x270]
call fcn.0046a380
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x274]
push ecx
mov ecx, eax
call fcn.0046a380
mov ecx, dword [ebp - 0x284]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x467fba
call fcn.0046a850
mov ecx, dword [ebp - 0x268]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x467fcd
call fcn.0046a850
mov ecx, dword [ebp - 0x278]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x467fe0
call fcn.0046a850
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x274]
call fcn.0046a2c0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x468101
sub esi, dword [ebp - 0x264]
lea edi, [ebp - 0x234]
sar esi, 1
lea edi, [edi + esi*2]
lea esp, [esp]
mov esi, edi
cmp word [esi], 0x2d
jne 0x468054
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.00472457
add esp, 4
test eax, eax
je 0x468054
lea esp, [esp]
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.00472457
add esp, 4
test eax, eax
jne 0x468040
push ebx
push esi
call fcn.0046f3d3
add esp, 8
test eax, eax
jne 0x4680de
push edi
call fcn.0046a680
push eax
push edi
call fcn.0046a810
add esp, 0xc
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x270]
call fcn.0046a380
mov ecx, dword [ebp - 0x264]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x4680a8
call fcn.0046a850
movzx eax, byte [0x4c3768]
mov ecx, dword [ebp - 0x280]
push eax
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x28c]
push eax
call fcn.00466020
mov ecx, dword [ebp - 0x26c]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4680de
call fcn.0046a850
mov esi, dword [ebp - 0x27c]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x468020
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x274]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x468114
call fcn.0046a850
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x46812a
call fcn.0046a850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret 4