Function at 0x46aaa0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b728
mov eax, dword fs:[0]
push eax
sub esp, 0x7bc
mov eax, dword [0x5f11e4]
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c0], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x7c4], edi
mov dword [edi + 0x10], 0
jb 0x46ab11
mov eax, dword [edi]
jmp 0x46ab13
mov eax, edi
push 0
push 0x5c3423
mov ecx, edi
mov byte [eax], 0
call fcn.00448910
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c0], 1
test ebx, ebx
je 0x46ae46
cmp byte [ebx], 0
je 0x46ae46
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00504ee0
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0045dbf0
push 1
push 0x5c41ec
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00519d15
push 3
push 0x5c5250
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00519d15
add esp, 0x34
mov dword [ebp - 0x528], 0xf
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x52c], 0
mov byte [ebp - 0x53c], 0
jne 0x46abc2
xor ecx, ecx
jmp 0x46abd9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46abd0
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x53c]
call fcn.00448910
push 2
push 0x5c53ac
lea ecx, [ebp - 0x53c]
mov dword [ebp - 4], 1
call fcn.00445bf0
push 0x208
lea eax, [ebp - 0x524]
push 0
push eax
call fcn.00504ee0
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00504ee0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x524]
add esp, 0x18
lea eax, [ebp - 0x53c]
cmp dword [ebp - 0x528], 0x10
cmovae eax, dword [ebp - 0x53c]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
lea eax, [ebp - 0x7bc]
push eax
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46adb5
push 0x5c3d00
lea ecx, [ebp - 0x554]
call fcn.0044bd60
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [ebp - 0x790], 0
jne 0x46acbf
xor eax, eax
jmp 0x46acdf
lea eax, [ebp - 0x790]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46acd0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x790]
push eax
lea ecx, [ebp - 0x554]
call fcn.0044c2c0
cmp word [ebp - 0x31c], 0
jne 0x46ad00
xor ecx, ecx
jmp 0x46ad1f
lea ecx, [ebp - 0x31c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ad10
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x554]
call fcn.0046b140
cmp eax, 0xffffffff
jne 0x46ad4d
lea eax, [ebp - 0x7bc]
push eax
push esi
call ebx
test eax, eax
jne 0x46acb1
jmp 0x46ad9f
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x46ad6a
mov eax, dword [ecx]
jmp 0x46ad6c
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x554]
push edx
push eax
call fcn.0044ca80
lea eax, [ebp - 0x56c]
push eax
call fcn.0046a270
push eax
mov ecx, edi
call fcn.0044c4f0
lea ecx, [ebp - 0x56c]
call fcn.00448360
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 1
call fcn.0044bd20
cmp dword [edi + 0x10], 0
je 0x46ae28
push 1
push 0x5c41ec
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00519d15
add esp, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x46ade0
mov eax, dword [edi]
jmp 0x46ade2
mov eax, edi
push dword [edi + 0x10]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00519d15
add esp, 0x10
cmp byte [ebp - 0x114], 0
jne 0x46ae07
xor ecx, ecx
jmp 0x46ae19
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ae10
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call fcn.00448910
mov ecx, dword [ebp - 0x528]
cmp ecx, 0x10
jb 0x46ae46
inc ecx
push ecx
push dword [ebp - 0x53c]
lea ecx, [ebp - 0x53c]
call fcn.00445e20
mov eax, edi
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.004feb45
mov esp, ebp
pop ebp
ret 8