Function at 0x4f7a60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d7a8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x6bd4d8]
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 eax, ecx
mov dword [ebp - 0xa4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xa8], edi
call fcn.004f8210
mov ecx, esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f7ac5
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0043e410
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 0
test esi, esi
je 0x4f7c3e
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
cmp ebx, 0x10
cmovae eax, ecx
mov al, byte [esi + eax - 1]
cmp al, 0x5c
je 0x4f7c3e
cmp esi, ebx
jae 0x4f7b23
lea eax, [esi + 1]
cmp ebx, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, ecx
mov word [eax + esi], 0x5c
jmp 0x4f7c38
mov ecx, closesocket
mov eax, ecx
sub eax, esi
cmp eax, 1
jb 0x4f81fa
lea edi, [esi + 1]
or edi, 0xf
cmp edi, ecx
jbe 0x4f7b51
mov eax, connect
mov edi, ecx
push eax
call fcn.0043e350
add esp, 4
jmp 0x4f7b9d
mov eax, ebx
shr eax, 1
sub ecx, eax
cmp ebx, ecx
jbe 0x4f7b70
mov eax, connect
mov edi, closesocket
push eax
call fcn.0043e350
add esp, 4
jmp 0x4f7b9d
add eax, ebx
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x4f7b8c
push eax
call fcn.0043e350
add esp, 4
jmp 0x4f7b9d
test eax, eax
je 0x4f7b9b
push eax
call fcn.005a48da
add esp, 4
jmp 0x4f7b9d
xor eax, eax
lea ecx, [esi + 1]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
lea edi, [esi + eax]
lea ecx, [esi + 1]
mov dword [ebp - 0xac], eax
add ecx, eax
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], ecx
push esi
cmp ebx, 0x10
jb 0x4f7c10
mov edi, dword [ebp - 0x28]
push edi
push eax
call fcn.005e01a0
mov eax, dword [ebp - 0xb4]
inc ebx
add esp, 0xc
mov byte [eax], 0x5c
mov eax, dword [ebp - 0xb0]
mov byte [eax], 0
cmp ebx, 0x1000
jb 0x4f7c04
mov ecx, dword [edi - 4]
add ebx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4f81ff
mov edi, ecx
push ebx
push edi
call fcn.005a48cc
add esp, 8
jmp 0x4f7c29
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.005e01a0
mov eax, dword [ebp - 0xb0]
add esp, 0xc
mov byte [edi], 0x5c
mov byte [eax], 0
mov eax, dword [ebp - 0xac]
mov edi, dword [ebp - 0xa8]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ebx, 0x10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
push esi
push eax
call fcn.0043fbf0
push 3
push 0x67000c
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x70]
add ecx, 4
push ecx
or dword [ecx], 0x10
cmp dword [ebp - 0x5c], 0x10
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [ebp - 0xa4]
mov dword [esi + 0x144], eax
cmp eax, 0xffffffff
je 0x4f8160
lea ebx, [esi + 0x30]
mov dword [ebp - 0xac], ebx
nop dword [eax + eax]
cmp byte [ebx], 0x2e
je 0x4f8148
mov ecx, esi
call fcn.004f8260
test al, al
je 0x4f7d04
mov edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push ebx
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [edx]
push ecx
push edi
mov ecx, edx
mov eax, dword [eax + 4]
call eax
test al, al
je 0x4f81cc
mov esi, dword [ebp - 0xa4]
jmp 0x4f8148
push 0x2e
push ebx
call fcn.005dfc30
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4f8145
cmp dword [ebp + 0x10], 0
je 0x4f80ab
mov ecx, edi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f7d41
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x58]
call fcn.0043e410
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
cmovae esi, dword [ebp - 0x58]
mov byte [ebp - 4], 2
test eax, eax
je 0x4f7d80
push eax
push 0x3b
push esi
call fcn.005e0720
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4f7d80
sub edi, esi
jmp 0x4f7d83
or edi, 0xffffffff
test edi, edi
jle 0x4f80e0
mov esi, dword [ebp - 0xa8]
mov ecx, esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f7db0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0043e410
cmp dword [ebp - 0x30], edi
lea eax, [ebp - 0x40]
mov ecx, edi
mov dword [ebp - 0x88], 0
cmovb ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x88]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.0043e410
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4f7e3f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f7e35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
push edx
push ecx
call fcn.005a48cc
add esp, 8
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4f7e42
sub esi, ecx
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f7e70
sub ecx, edx
push ecx
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x40]
call fcn.0043e410
mov eax, dword [ebp - 0x30]
inc edi
mov byte [ebp - 4], 6
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
cmp eax, edi
jb 0x4f8204
sub eax, edi
lea ecx, [ebp - 0xa0]
cmp eax, esi
cmovb esi, eax
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push esi
add eax, edi
push eax
call fcn.0043e410
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4f7f0f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f7f05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
push edx
push ecx
call fcn.005a48cc
add esp, 8
lea esi, [ebx + 1]
push esi
lea ecx, [ebp - 0x88]
call fcn.0044e550
test eax, eax
je 0x4f7ffe
push esi
lea ecx, [ebp - 0xa0]
call fcn.0044e550
test eax, eax
je 0x4f7ffe
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x4f7f74
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f7f6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4f7faf
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f7fa5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4f7fe7
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f7fdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0xac]
jmp 0x4f8148
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x4f8038
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f802e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4f8073
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f8069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4f80ab
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f80a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [edx]
lea ebx, [edx + 0x30]
push ebx
push ecx
mov ecx, edx
mov eax, dword [eax + 8]
call eax
test al, al
je 0x4f81cc
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xa4]
jmp 0x4f8148
mov edi, dword [ebp - 0xa8]
lea eax, [ebx + 1]
push edi
push eax
call fcn.005f48f2
add esp, 8
test eax, eax
je 0x4f8073
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4f7fed
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f812d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
push edx
push ecx
call fcn.005a48cc
mov esi, dword [ebp - 0xa4]
add esp, 8
mov ebx, dword [ebp - 0xac]
jmp 0x4f8148
lea ebx, [esi + 0x30]
lea eax, [esi + 4]
push eax
push dword [esi + 0x144]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4f7cc0
mov bl, 1
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4f8192
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f8188
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x4f81da
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f81d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f81ff
jmp 0x4f81d0
xor bl, bl
jmp 0x4f8162
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov al, bl
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.005a489b
mov esp, ebp
pop ebp
ret 0xc
call fcn.0043e200
call fcn.005e9e92
call fcn.004875f0
int3