Function at 0x424970
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47b45a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x384
mov eax, dword [0x4a5c70]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3a0]
push edi
mov ebp, ecx
push esi
mov dword [esp + 0x394], eax
mov dword [esp + 0x2c], ebp
call fcn.0045b49a
add eax, 3
add eax, eax
push eax
call fcn.00459034
mov ebx, eax
mov dword [esp + 0x28], ebx
push esi
push 0x487f50
push ebx
mov dword [esp + 0x3b0], 0
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea ecx, [esp + 0x10]
call fcn.0040e380
lea ecx, [esp + 0x3c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], edi
call fcn.0040e340
cmp edi, 0xffffffff
jne 0x424a40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FindFirstFile
lea ecx, [esp + 0x294]
call fcn.0044ba90
lea edx, [esp + 0x28c]
push edx
push 0x48446c
push 0x4a73b0
call fcn.00402c00
add esp, 0xc
jmp 0x424c76
lea eax, [esp + 0x68]
push 0x487f4c
push eax
call fcn.0045b694
add esp, 8
test eax, eax
je 0x424c02
lea ecx, [esp + 0x68]
push 0x487f44
push ecx
call fcn.0045b694
add esp, 8
test eax, eax
je 0x424c02
lea eax, [ebp + 0x50]
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebp + 0x40]
test al, al
mov byte [esp + 0x39c], 1
jne 0x424bf0
mov edx, dword [esp + 0x3ac]
cmp edx, dword [ebp + 0x88]
jne 0x424bf0
push esi
call fcn.0045b49a
mov esi, eax
lea eax, [esp + 0x6c]
push eax
call fcn.0045b49a
lea eax, [esi + eax + 2]
lea ecx, [eax + eax]
push ecx
call fcn.00459034
mov edi, eax
mov dword [esp + 0x24], edi
mov ebx, dword [esp + 0x3b4]
push ebx
mov byte [esp + 0x3ac], 2
call fcn.0045b49a
lea edx, [esp + 0x78]
push edx
mov esi, eax
call fcn.0045b49a
lea eax, [esi + eax + 2]
add eax, eax
push eax
call fcn.00459034
mov esi, eax
add esp, 0x18
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x3a4]
cmp word [ecx], 0
mov byte [esp + 0x39c], 3
mov eax, 0x485da4
jne 0x424b22
mov eax, 0x4825cd
lea edx, [esp + 0x68]
push edx
push eax
push ecx
push str._s_s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
cmp word [ebx], 0
mov eax, 0x485da4
jne 0x424b48
mov eax, 0x4825cd
lea ecx, [esp + 0x68]
push ecx
push eax
push ebx
push str._s_s_s
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
call fcn.00421df0
push 0x38
mov ebx, eax
call fcn.00459787
add esp, 0x18
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x39c], 4
je 0x424b98
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx + 4]
lea ebp, [esp + 0x3c]
push ebp
push esi
push edi
push edx
push ecx
mov ecx, eax
call fcn.00429f40
mov ebp, dword [esp + 0x28]
jmp 0x424b9a
xor eax, eax
push eax
mov ecx, ebx
mov byte [esp + 0x3a0], 3
call fcn.00422040
test byte [esp + 0x3c], 0x10
je 0x424bd6
mov ecx, edi
mov eax, esi
lea edx, [esp + 0x10]
xor esi, esi
xor edi, edi
mov dword [esp + 0x10], ecx
push edx
lea ecx, [ebp + 0x44]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
call fcn.004245a0
push esi
call fcn.00459039
push edi
call fcn.00459039
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x3ac]
add esp, 8
lea eax, [ebp + 0x50]
push eax
mov byte [esp + 0x3a0], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x30]
call fcn.0040e380
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x30]
inc bl
call fcn.0040e340
test bl, bl
je 0x424a40
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
je 0x424c6b
call esi
push eax
push str.FindNextFile
lea ecx, [esp + 0x294]
call fcn.0044ba90
lea ecx, [esp + 0x28c]
push ecx
push 0x48446c
push 0x4a73b0
call fcn.00402c00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x20]
push ebx
call fcn.00459039
mov ecx, dword [esp + 0x398]
add esp, 4
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x384]
pop ebx
call fcn.0045b645
add esp, 0x390
ret 0xc