Function at 0x4a3e50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb2e9
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x19], 0
push 0x5fab4c
lea ecx, [ebp - 0x290]
call fcn.004b3550
mov dword [ebp - 4], 0
lea eax, [ebp - 0x290]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x290]
call fcn.004b3860
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x18]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x4a40da
lea ecx, [ebp - 0x284]
call fcn.00432460
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
and ecx, 0x10
je 0x4a4072
mov dword [ebp - 0x2a4], 0x5fc5b0
lea edx, [ebp - 0x248]
mov dword [ebp - 0x2a8], edx
mov eax, dword [ebp - 0x2a8]
mov cx, word [eax]
mov word [ebp - 0x2aa], cx
mov edx, dword [ebp - 0x2a4]
cmp cx, word [edx]
jne 0x4a3f79
cmp word [ebp - 0x2aa], 0
je 0x4a3f6d
mov eax, dword [ebp - 0x2a8]
mov cx, word [eax + 2]
mov word [ebp - 0x2ac], cx
mov edx, dword [ebp - 0x2a4]
cmp cx, word [edx + 2]
jne 0x4a3f79
add dword [ebp - 0x2a8], 4
add dword [ebp - 0x2a4], 4
cmp word [ebp - 0x2ac], 0
jne 0x4a3f13
mov dword [ebp - 0x2b0], 0
jmp 0x4a3f84
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], ecx
cmp dword [ebp - 0x2b4], 0
je 0x4a4039
mov dword [ebp - 0x2b8], 0x5fc5b4
lea edx, [ebp - 0x248]
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x2bc]
mov cx, word [eax]
mov word [ebp - 0x2be], cx
mov edx, dword [ebp - 0x2b8]
cmp cx, word [edx]
jne 0x4a4019
cmp word [ebp - 0x2be], 0
je 0x4a400d
mov eax, dword [ebp - 0x2bc]
mov cx, word [eax + 2]
mov word [ebp - 0x2c0], cx
mov edx, dword [ebp - 0x2b8]
cmp cx, word [edx + 2]
jne 0x4a4019
add dword [ebp - 0x2bc], 4
add dword [ebp - 0x2b8], 4
cmp word [ebp - 0x2c0], 0
jne 0x4a3fb3
mov dword [ebp - 0x2c4], 0
jmp 0x4a4024
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c8], ecx
cmp dword [ebp - 0x2c8], 0
jne 0x4a403b
jmp 0x4a4072
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x29c]
call fcn.004b3550
mov byte [ebp - 4], 4
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00441810
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x29c]
call fcn.004b3860
lea ecx, [ebp - 0x274]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4a3eee
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x12
sete cl
mov byte [ebp - 0x19], cl
lea ecx, [ebp - 0x284]
call fcn.004b9730
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004a54e0
push 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x284]
call fcn.004a1c70
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x284]
call fcn.004324a0
mov cl, byte [ebp - 0x19]
mov byte [ebp - 0x29d], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x29d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret