Function at 0x4a44f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x56125d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x68
call fcn.0054276d
add esp, 4
mov dword [esp + 0x20], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x174], edi
je 0x4a4535
mov ecx, eax
call fcn.00445920
mov edi, eax
mov ecx, edi
mov dword [esp + 0x174], 0xffffffff
call fcn.00445a60
mov eax, dword [0x5c793c]
lea ecx, [edi + 0x58]
push eax
push 0x5a3e24
push ecx
call fcn.0053afda
mov ebx, dword [esi + 0x14]
lea ebp, [esi + 0xc]
add esp, 0xc
mov ecx, ebp
lea edx, [ebx + 1]
push 0xffffffffffffffff
push edx
call fcn.004452b0
mov eax, dword [ebp + 4]
push 0x68
mov dword [eax + ebx*4], edi
call fcn.0054276d
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x174], 1
je 0x4a459f
mov ecx, eax
call fcn.00445920
mov edi, eax
jmp 0x4a45a1
xor edi, edi
mov ecx, edi
mov dword [esp + 0x174], 0xffffffff
mov dword [edi + 0x64], 2
call fcn.00445a60
mov ecx, dword [0x5c7938]
lea edx, [edi + 0x58]
push ecx
push 0x5a3e24
push edx
call fcn.0053afda
mov ebx, dword [ebp + 8]
add esp, 0xc
mov ecx, ebp
lea eax, [ebx + 1]
push 0xffffffffffffffff
push eax
call fcn.004452b0
mov ecx, dword [ebp + 4]
mov dword [ecx + ebx*4], edi
mov al, byte [esi + 4]
test al, al
je 0x4a487a
mov edx, dword [0x5c2a74]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push eax
push str._sq_.dt
push ecx
mov dword [esp + 0x180], 2
call fcn.0053afda
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
je 0x4a4866
lea ecx, [esp + 0x58]
push 0x5f
push ecx
call fcn.00526d20
mov edi, eax
add esp, 8
test edi, edi
je 0x4a484b
movsx edx, byte [edi + 1]
inc edi
push edx
call fcn.0052727d
add esp, 4
test eax, eax
je 0x4a484b
push edi
lea ecx, [esp + 0x18]
call fcn.0054222c
mov eax, dword [esp + 0x14]
push 0x2e
push eax
mov byte [esp + 0x17c], 3
call fcn.00526d60
add esp, 8
test eax, eax
je 0x4a483a
mov byte [eax], 0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00526e1c
mov edi, eax
add esp, 4
cmp edi, 2
jle 0x4a483a
push 0x68
call fcn.0054276d
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x174], 4
je 0x4a46d9
mov ecx, eax
call fcn.00445920
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x4a46e5
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x1c]
mov ecx, esi
mov byte [esp + 0x174], 3
mov dword [esi + 0x64], edi
call fcn.00445a60
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov ebx, edx
xor edi, edi
mov dword [esp + 0x28], ebx
inc ebx
cmp ebx, edi
jne 0x4a4729
cmp eax, edi
je 0x4a471e
push eax
mov dword [esp + 0x1c], edx
call fcn.00542796
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x4a482c
cmp eax, edi
jne 0x4a4761
lea edi, [ebx*4]
push edi
call fcn.0054276d
mov edx, eax
mov ecx, edi
mov dword [ebp + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x4a482c
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
jg 0x4a4791
cmp edx, ebx
jge 0x4a4781
mov ecx, ebx
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp + 8], ebx
jmp 0x4a482c
jle 0x4a4789
sub edx, ebx
mov dword [esp + 0x18], edx
mov dword [ebp + 8], ebx
jmp 0x4a482c
mov eax, dword [ebp + 0x10]
cmp eax, edi
jne 0x4a47bb
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4a47af
mov eax, 4
jmp 0x4a47bb
cmp eax, 0x400
jle 0x4a47bb
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x24], eax
jl 0x4a47c9
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x24]
lea ecx, [eax*4]
push ecx
call fcn.0054276d
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.004a4b60
mov eax, dword [ebp + 4]
push eax
call fcn.00542796
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
add esp, 4
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + ecx*4], esi
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], 2
call fcn.005421be
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4a463d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov dword [esp + 0x174], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret