Function at 0x4819d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cb33
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d8
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
push 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00544535
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x481a73
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 3
push eax
call fcn.004884f0
push dword [ebp - 0x2b4]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
call fcn.00464f10
mov eax, dword [esi]
add esp, 8
cmp dword [ebp - 0x18], 0
mov dword [esi + 4], eax
je 0x481dca
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
push 1
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x28]
call fcn.0047a960
mov ecx, eax
call fcn.0047a7e0
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x481ad9
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x481af7
push 0xffffffffffffffff
push 0
push eax
call fcn.0044f880
push 0x5d896c
lea eax, [ebx + 0xc]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.0047aa20
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.0046aef0
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x481b5f
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x481b42
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0044f7a0
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00462ee0
mov eax, dword [ebp - 0x298]
cmp eax, 8
jb 0x481b7d
inc eax
lea ecx, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2ac]
call fcn.0044f7a0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x2ac], ax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x29c], 0
cmp eax, 8
jb 0x481bbc
inc eax
lea ecx, [ebp - 0x2cc]
push eax
push dword [ebp - 0x2cc]
call fcn.0044f7a0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
dec eax
mov edx, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp - 0x24]
dec edx
and edx, ecx
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x481be4
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0044f7a0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x481bfa
mov esi, dword [esi]
xor eax, eax
mov ecx, 0
mov word [esi], ax
sub dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x1c]
cmove eax, ecx
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x481daa
nop word [eax + eax]
mov edx, 0x5d9478
lea ecx, [ebp - 0x264]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x481c76
test ax, ax
je 0x481c72
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x481c76
add ecx, 4
add edx, 4
test ax, ax
jne 0x481c50
xor eax, eax
jmp 0x481c7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x481d98
mov eax, 0x5d9740
lea ecx, [ebp - 0x264]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x481cb6
test dx, dx
je 0x481cb2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x481cb6
add ecx, 4
add eax, 4
test dx, dx
jne 0x481c90
xor eax, eax
jmp 0x481cbb
sbb eax, eax
or eax, 1
test eax, eax
je 0x481d98
test byte [ebp - 0x290], 0x10
lea eax, [ebx + 0xc]
push 0x5d896c
push eax
lea eax, [ebp - 0x2cc]
push eax
je 0x481d0b
call fcn.0047aa20
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.004644e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0047a6c0
jmp 0x481d3b
call fcn.0047aa20
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.004644e0
add esp, 0x18
mov ecx, dword [ebp - 0x2b0]
push eax
mov byte [ebp - 4], 9
call fcn.0047a520
mov eax, dword [ebp - 0x298]
cmp eax, 8
jb 0x481d59
inc eax
lea ecx, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2ac]
call fcn.0044f7a0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x2ac], ax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
cmp eax, 8
jb 0x481d98
inc eax
lea ecx, [ebp - 0x2cc]
push eax
push dword [ebp - 0x2cc]
call fcn.0044f7a0
lea eax, [ebp - 0x290]
push eax
push esi
call edi
test eax, eax
jne 0x481c40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x481e78
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x18], 0
jne 0x481ab0
mov byte [ebp - 0x291], 1
lea ecx, [ebp - 0x28]
call fcn.0047a5d0
push dword [ebp - 0x28]
call fcn.0051122d
mov eax, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x28], 0
cmp eax, 8
jb 0x481e00
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0044f7a0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x481e29
inc eax
lea ecx, [ebx + 0xc]
push eax
push dword [ebx + 0xc]
call fcn.0044f7a0
mov ecx, dword [ebx + 0x38]
xor eax, eax
mov dword [ebx + 0x20], 7
mov dword [ebx + 0x1c], 0
mov word [ebx + 0xc], ax
cmp ecx, 8
jb 0x481e52
inc ecx
push ecx
push dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
call fcn.0044f7a0
mov al, byte [ebp - 0x291]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x34
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x291], 0
jmp 0x481dd1