Function at 0x47bf10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ad2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x750
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x748], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 0x764]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x774]
push 0x2c8
xor ebx, ebx
lea eax, [esp + 0x3c]
push ebx
push eax
mov esi, ecx
mov edi, 1
call fcn.0042e03c
add esp, 0xc
mov dword [esp + 0x34], 0x2cc
lea ecx, [esp + 0x444]
cmp esi, ebx
jne 0x47bfd9
push 0x104
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x444]
push 0x5c
push edx
call dword [sym.imp.MSVCR100.dll_strrchr]
mov byte [eax + 1], bl
lea eax, [esp + 0x44c]
push eax
lea ecx, [esp + 0x558]
push 0x104
push ecx
call dword [sym.imp.MSVCR100.dll_strcpy_s]
push str..dll
lea edx, [esp + 0x564]
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_strcat_s]
add esp, 0x20
jmp 0x47c01b
mov edx, esi
mov eax, 0x104
call fcn.004a0810
lea eax, [esp + 0x444]
push eax
lea ecx, [esp + 0x550]
push 0x104
push ecx
call dword [sym.imp.MSVCR100.dll_strcpy_s]
push str..dll
lea edx, [esp + 0x55c]
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_strcat_s]
add esp, 0x18
lea eax, [esp + 0x304]
push eax
lea ecx, [esp + 0x550]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x47c382
mov edi, edi
cmp edi, ebx
je 0x47c382
push 0x128
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x47c091
push 0x104
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
push ebx
push esi
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
call fcn.0042e03c
add esp, 0xc
jmp 0x47c093
xor esi, esi
lea edx, [esp + 0x444]
push edx
lea eax, [esp + 0x658]
push 0x104
mov edi, esi
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.MSVCR100.dll_strcpy_s]
lea ecx, [esp + 0x33c]
push ecx
lea edx, [esp + 0x664]
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_strcat_s]
add esp, 0x18
lea edx, [esp + 0x654]
mov ecx, esi
call fcn.0047bb60
test eax, eax
js 0x47c31f
cmp dword [esi + 0x110], ebx
je 0x47c102
mov ecx, dword [esi + 0x110]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x34]
push edx
call eax
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 4]
sub edx, dword [ebp]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x48]
sar edx, 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], ebx
test edx, edx
je 0x47c23d
jmp 0x47c140
mov eax, dword [ebp]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x110], 0
je 0x47c163
mov eax, dword [eax + 0x110]
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call edx
mov eax, 0x10
lea ecx, [esp + 0x24]
lea edx, [esp + 0x3c]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x47c186
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x47c170
jmp 0x47c1ba
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x47c1b2
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x47c1b2
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x47c1b2
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jne 0x47c220
mov esi, edi
mov dword [esp + 0x1c], 1
call fcn.0047baa0
test edi, edi
je 0x47c220
mov dword [esp + 0x18], edi
mov dword [esp + 0x76c], 0
call fcn.0047baa0
mov dword [esp + 0x76c], 0xffffffff
mov eax, dword [edi + 0x118]
xor esi, esi
cmp eax, esi
je 0x47c202
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push edi
mov dword [edi + 0x118], esi
mov dword [edi + 0x11c], esi
mov dword [edi + 0x120], esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
mov edx, dword [ebp + 4]
sub edx, dword [ebp]
inc ebx
sar edx, 2
cmp ebx, edx
jb 0x47c140
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], edi
jne 0x47c2b1
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x18]
cmp ecx, eax
jae 0x47c2cd
mov edx, dword [ebp]
cmp edx, ecx
ja 0x47c2cd
mov edi, ecx
mov ecx, dword [ebp + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0x47c29e
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x47c377
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x47c29e
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x47c28e
xor ecx, ecx
jmp 0x47c290
add ecx, edx
cmp ecx, eax
jae 0x47c296
mov ecx, eax
push ecx
mov esi, ebp
call fcn.004027c0
mov eax, dword [ebp + 4]
test eax, eax
je 0x47c2ad
mov edx, dword [ebp]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
add dword [ebp + 4], 4
xor ebx, ebx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x304]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
jmp 0x47c040
mov ecx, dword [ebp + 8]
cmp eax, ecx
jne 0x47c314
mov edx, dword [ebp]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x47c377
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x47c314
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x47c304
xor ecx, ecx
jmp 0x47c306
add ecx, edx
cmp ecx, eax
jae 0x47c30c
mov ecx, eax
push ecx
mov esi, ebp
call fcn.004027c0
mov eax, dword [ebp + 4]
test eax, eax
je 0x47c2ad
mov dword [eax], edi
jmp 0x47c2ad
cmp esi, ebx
je 0x47c2b3
mov dword [esp + 0x1c], esi
mov dword [esp + 0x76c], 1
call fcn.0047baa0
mov dword [esp + 0x76c], 0xffffffff
mov eax, dword [esi + 0x118]
cmp eax, ebx
je 0x47c356
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push esi
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x47c2b3
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
sar eax, 2
mov ecx, dword [esp + 0x764]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x748]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x75c
ret 4