Function at 0x480080
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x513cd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
call fcn.004ddcd1
test eax, eax
je 0x4800b7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4800b9
xor eax, eax
mov ebx, 1
lea ecx, [eax + 0x81c]
push ebx
push 0
call fcn.004e6e12
mov ecx, dword [eax + 0x4b0]
test ecx, ecx
je 0x4804ce
call fcn.004ddcd1
test eax, eax
je 0x4800ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4800ee
xor eax, eax
push ebx
push 0
lea ecx, [eax + 0x81c]
call fcn.004e6e12
mov eax, dword [eax + 0x4b0]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x4804ce
call fcn.004ddcd1
test eax, eax
je 0x48011f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x480121
xor eax, eax
push ebx
push 0
lea ecx, [eax + 0x81c]
call fcn.004e6e12
mov eax, dword [eax + 0x4b0]
cmp dword [eax + 0x7c], 2
jne 0x480148
mov eax, dword [0x55e88c]
test eax, eax
je 0x4804ce
mov ecx, esi
call fcn.00480510
mov eax, dword [0x55e884]
test eax, eax
jne 0x48015e
mov dword [esp + 0x24], ebx
jmp 0x48016d
dec eax
neg eax
sbb eax, eax
and eax, 0x17
add eax, 7
mov dword [esp + 0x24], eax
mov ecx, dword [0x5580c0]
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1cc]
push edi
push ebp
lea edx, [esp + 0x18]
push str._s_s.txt
push edx
mov dword [esp + 0x1d4], 0
call fcn.004d41c8
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4802fe
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x14]
push edx
call fcn.004dd4bb
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1c4], 1
mov ecx, dword [eax - 8]
cmp ecx, 0xa
jle 0x4802c6
mov eax, ecx
push 0xb
add eax, 0xfffffff1
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004d3c6b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c8], 2
call fcn.004dd586
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c4], 1
call fcn.004dd44d
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push edx
push eax
push str._d._d._d
push ecx
call fcn.004c2513
add esp, 0x14
cmp eax, 3
jne 0x4802c6
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
push 0
push 0
push edx
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.004d4402
mov edx, dword [esp + 0x44]
push ecx
mov eax, esp
mov dword [esp + 0x54], esp
lea ecx, [esp + 0x24]
mov dword [eax], edx
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.004d44e6
mov ecx, eax
call fcn.004804f0
mov ecx, dword [esp + 0x18]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x24]
cmp edx, eax
jge 0x4802c6
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x10]
push ecx
push ebp
push 0x5570f0
push edx
xor ebx, ebx
call fcn.004d41c8
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4802e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or esi, 0xffffffff
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4], 0
call fcn.004dd44d
cmp esi, 0xffffffff
jne 0x4801bf
test ebx, ebx
je 0x480349
lea ecx, [esp + 0x18]
push str._m._d._Y
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004d44e6
mov ecx, eax
call fcn.004d46ab
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push edi
push ebp
push str._s_s_s.txt
push ecx
mov byte [esp + 0x1d8], 3
call fcn.004d41c8
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c4], 0
call fcn.004dd44d
push ebp
call fcn.0048cc80
add esp, 4
lea ecx, [esp + 0x28]
call fcn.004ddaca
mov edx, dword [0x5580c0]
mov dword [esp + 0x38], edx
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c8], 5
mov dword [esp + 0x2c], vtable.CFileException.0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.004dd5d6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov bl, 6
mov edx, dword [eax + 0x234]
lea esi, [eax + 0x234]
lea eax, [esp + 0x28]
mov byte [esp + 0x1c4], bl
push eax
push 0x3021
push ecx
mov ecx, esi
call dword [edx + 0x20]
mov edi, eax
test edi, edi
jne 0x480484
push eax
push eax
lea ecx, [esp + 0x30]
call fcn.004ddaf2
call fcn.004ddcd1
test eax, eax
je 0x4803e4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4803e6
xor eax, eax
mov edx, dword [eax + 0xbc4]
lea ecx, [esp + 0x54]
push 0x28
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0x63]
push eax
call fcn.004c2bef
add esp, 4
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
mov edi, eax
push str._m._d._Y
push ecx
push edx
call fcn.004d44e6
mov ecx, eax
call fcn.004d46ab
mov eax, dword [eax]
mov ecx, dword [esp + 0x1d0]
push edi
push eax
push ecx
push ebp
lea edx, [esp + 0x20]
push str._s_s_s_v_i.txt
push edx
mov byte [esp + 0x1dc], 7
call fcn.004d41c8
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c4], bl
call fcn.004dd44d
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0x3021
push edx
mov ecx, esi
call dword [eax + 0x20]
mov edi, eax
test edi, edi
jne 0x480484
push eax
push eax
lea ecx, [esp + 0x30]
call fcn.004ddaf2
jmp 0x48049d
mov eax, dword [esi]
push 2
push 0
mov ecx, esi
call dword [eax + 0x28]
mov ecx, dword [esp + 0x1c]
push str._r_n_r_n
call fcn.00480530
mov dword [esp + 0x28], vtable.CFileException.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c4], 8
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c4], 0xffffffff
call fcn.004dd44d
mov eax, edi
jmp 0x4804d0
mov eax, ebx
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b8
ret 8