Function at 0x4a1500
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x53b0df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
mov eax, dword [0x590f68]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x20], ebp
xor ebx, ebx
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x2dc], ebx
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2dc], 1
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x2dc], 2
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x552538
lea eax, [ebp + 0x680]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x2e8], 3
call fcn.00402f80
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e0], 4
call fcn.00402e60
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a15ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x552534
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00402f80
add esp, 0xc
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x50]
push edx
push eax
mov byte [esp + 0x2e4], 5
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x4a1ad0
jmp 0x4a1630
test ebx, ebx
jne 0x4a17b4
mov al, byte [esp + 0x7c]
mov esi, dword [esp + 0x50]
xor ecx, ecx
cmp al, 0x2e
setne cl
xor edx, edx
cmp esi, 0x10
sete dl
test edx, ecx
je 0x4a1bde
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00402f80
push 0x54e018
push eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x2f4], 6
call fcn.00402f80
push 0x552534
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x300], 7
call fcn.00402f80
add esp, 0x24
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e0], 8
call fcn.00402e60
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a16d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a16fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1722
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x190]
push eax
push ecx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x4a17a7
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ebx, 1
call fcn.00402f80
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 9
call fcn.00402e60
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a1792
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 1
push 0x54e018
lea ecx, [esp + 0x18]
call fcn.00404690
jmp 0x4a1630
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_FindClose]
jmp 0x4a1630
lea eax, [esp + 0x1bc]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a17c0
sub eax, edx
push eax
lea edx, [esp + 0x1c0]
push edx
lea ecx, [esp + 0x40]
call fcn.00401720
push 4
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x40]
call fcn.00402d10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 0xa
call fcn.00402e60
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1823
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x18]
mov eax, dword [edi - 4]
mov esi, dword [edi - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, esi
or eax, ecx
jge 0x4a184b
push esi
lea ecx, [esp + 0x1c]
call fcn.00401560
mov edi, dword [esp + 0x18]
push edi
call fcn.004eadcb
add esp, 4
test esi, esi
jl 0x4a1bf2
cmp esi, dword [edi - 8]
jg 0x4a1bf2
push 0x55252c
mov dword [edi - 0xc], esi
push edi
mov byte [esi + edi], 0
call fcn.004ea679
add esp, 8
test eax, eax
jne 0x4a1bb6
mov eax, dword [ebp + 0x4b0]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x24], ebx
jle 0x4a1a81
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x2dc], 0xb
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
test ebx, ebx
mov byte [esp + 0x2dc], 0xc
jl 0x4a1bed
cmp ebx, dword [ebp + 0x4b0]
jge 0x4a1bed
mov eax, dword [ebp + 0x4ac]
lea eax, [eax + ebx*4]
push eax
lea ecx, [esp + 0x34]
call fcn.00402e60
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
sub eax, edi
or eax, ecx
jge 0x4a191b
push edi
lea ecx, [esp + 0x34]
call fcn.00401560
mov ebp, dword [esp + 0x30]
push ebp
call fcn.004ea55d
add esp, 4
test edi, edi
jl 0x4a1bf2
cmp edi, dword [ebp - 8]
jg 0x4a1bf2
mov dword [ebp - 0xc], edi
mov byte [edi + ebp], 0
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x4a1998
mov edx, dword [edi + 0xc]
test edx, edx
lea esi, [edi + 0xc]
jl 0x4a1986
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4a1986
push eax
call fcn.00402ae0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4a1979
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
lea esi, [ebx + 0x10]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], esi
jmp 0x4a1998
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00401720
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 4]
mov edi, dword [esi - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, edi
or eax, ecx
jge 0x4a19bc
push edi
lea ecx, [esp + 0x20]
call fcn.00401560
mov esi, dword [esp + 0x1c]
push esi
call fcn.004ea55d
add esp, 4
test edi, edi
jl 0x4a1bf2
cmp edi, dword [esi - 8]
jg 0x4a1bf2
push esi
mov dword [esi - 0xc], edi
push ebp
mov byte [edi + esi], 0
call fcn.004ea679
add esp, 8
or edx, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x2dc], 0xb
lea ecx, [eax + 0xc]
je 0x4a1a4a
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1a0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x2dc], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1a2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x4b0]
inc ebx
cmp ebx, ecx
mov dword [esp + 0x24], ebx
mov ebp, eax
jl 0x4a1896
jmp 0x4a1a81
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1a5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x2dc], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1a7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x4b0]
jne 0x4a1aa0
mov eax, dword [ebp + 0x4b0]
lea ecx, [ebp + 0x4a8]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00501bd3
mov eax, dword [esp + 0x34]
push eax
xor ebx, ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x4a1630
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1af6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1b1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1b42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1b68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2dc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1b91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2c4]
pop ebx
call fcn.004e9911
add esp, 0x2d0
ret
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x190]
push eax
push ecx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x4a1630
mov edx, dword [esp + 0x34]
push edx
xor ebx, ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x50]
push eax
push ecx
jmp 0x4a1ab7
jmp fcn.004fd76e
push 0x80070057
call fcn.00401120
int3