Function at 0x4273e8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4273ef
call fcn.0045e790
mov edx, dword [esp + 0x34]
lea ecx, [esp]
call fcn.0044e000
mov edx, dword [esp + 0x38]
lea ecx, [esp + 4]
call fcn.0044e000
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 8]
call fcn.0044e000
mov dword [esp + 0x1c], 0x20010000
push edx
call fcn.0045e620
pop edx
push eax
push 0x473578
mov edx, dword [esp + 0xc]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, 0x4622e0
push edx
call fcn.0045e6f0
mov edx, dword [esp + 0x14]
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call sub.kernel32.dll_FindFirstFileW
call fcn.0044e2f0
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
cmp ebx, 0xffffffff
je 0x427670
lea ebp, [0x473578]
push ebp
pop ebp
lea eax, [ebp + 0x2c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
pop eax
mov dword [esp + 0x14], eax
lea ebp, [0x473578]
mov ebx, dword [ebp]
and ebx, 0x10
and ebx, ebx
je 0x4274b3
xor eax, eax
jmp 0x4274b8
mov eax, 1
and eax, eax
je 0x42764f
mov edx, dword [esp + 4]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov ebp, dword [esp + 0x18]
mov edx, dword [ebp]
push edx
call fcn.0045e6f0
lea eax, [esp + 0x1c]
push eax
call fcn.0045e660
mov eax, dword [esp]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCRT.dll__wcsicmp
add esp, 8
mov ebx, eax
and ebx, ebx
je 0x42764f
mov ebp, dword [0x473558]
mov ebx, dword [ebp + 0xa0]
and ebx, ebx
jne 0x4275a4
push dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x38]
call dword [0x4734d8]
and eax, eax
je 0x427568
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
mov edx, str.Add_Reference_File:
push edx
call fcn.0045e6f0
mov edx, dword [esp + 0x20]
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call fcn.004280d3
call fcn.0044e2f0
jmp 0x42759f
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
mov edx, str.Error_Adding_Reference_File:
push edx
call fcn.0045e6f0
mov edx, dword [esp + 0x20]
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call fcn.004280d3
call fcn.0044e2f0
jmp 0x42764f
mov eax, dword [esp + 0x18]
push eax
pop eax
mov dword [esp + 0x20], eax
mov ebp, dword [0x473514]
push dword [ebp + 0x2c]
push 0
push 1
push 1
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x44]
call dword [esp + 0x14]
add esp, 0x14
add esp, 4
mov ebx, eax
and ebx, ebx
jne 0x427618
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
mov edx, str.Add_Reference_File:
push edx
call fcn.0045e6f0
mov edx, dword [esp + 0x20]
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call fcn.004280d3
call fcn.0044e2f0
jmp 0x42764f
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
mov edx, str.Error_Adding_Reference_File:
push edx
call fcn.0045e6f0
mov edx, dword [esp + 0x20]
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call fcn.004280d3
call fcn.0044e2f0
push 0x473578
push dword [esp + 0x10]
call sub.kernel32.dll_FindNextFileW
mov ebx, eax
and ebx, ebx
jne 0x42749f
push dword [esp + 0xc]
call sub.kernel32.dll_FindClose
xor eax, eax
push dword [esp]
call fcn.0045e7f0
push dword [esp + 8]
call fcn.0045e7f0
push dword [esp + 4]
call fcn.0045e7f0
push dword [esp + 0x18]
call fcn.0045e7f0
add esp, 0x24
pop ebx
pop ebp
ret 0x10