Function at 0x4b5d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd8
push esi
call fcn.0048f1e0
xor esi, esi
cmp dword [0x59924c], esi
mov dword [esp + 0x78], eax
je 0x4b62b0
cmp dword [0x599248], esi
je 0x4b62b0
push 0x24
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
call fcn.004a8170
mov eax, dword [0x598f50]
cmp eax, esi
mov dword [esp + 0x1c], eax
jne 0x4b5d5c
mov dword [esp + 0x1c], 0x10000
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
push edi
push ecx
call fcn.004a47b0
lea edx, [esp + 0x8c]
push edx
mov edi, 0x58efa8
lea ebx, [esp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call fcn.004b5c70
lea eax, [esp + 0x8c]
push eax
mov edi, 0x58efb8
call fcn.004b5c70
mov edx, dword [0x58efac]
mov ecx, dword [0x58efa8]
mov eax, dword [0x58efb0]
mov ebp, dword [esp + 0xec]
push 0x2000000
xor edi, edi
push edi
push 7
mov dword [esp + 0x28], edx
push 1
lea edx, [esp + 0x20]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x58efb4]
push edx
push ebp
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call dword [0x599248]
cmp eax, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
je 0x4b5ee1
lea ecx, [esp + 0xb4]
push ecx
push eax
call esi
test eax, eax
je 0x4b5f14
mov edx, dword [0x58efa8]
mov ecx, dword [0x58efb0]
mov eax, dword [0x58efac]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x34], edx
mov edx, dword [0x58efb4]
mov dword [esp + 0x38], eax
xor ebx, ebx
or ecx, ebx
xor eax, eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0xc8]
or eax, edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x5c], eax
or ecx, ebx
xor eax, eax
or eax, edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x64], eax
or ecx, ebx
xor eax, eax
or eax, edx
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb4]
push ecx
push edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], bl
mov dword [esp + 0x84], edi
call dword [esp + 0x104]
jmp 0x4b5f14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x58efa8]
mov edx, dword [0x58efb4]
push eax
mov eax, dword [0x58efac]
push eax
mov eax, dword [0x58efb0]
push ecx
push edx
push eax
push str.failed_to_open_dir__016I64x_016I64x__d_n
push 0xffff0000
call fcn.0048f0a0
add esp, 0x1c
mov edx, dword [0x58efbc]
mov ecx, dword [0x58efb8]
mov eax, dword [0x58efc0]
push 0x2000000
push edi
push 7
mov dword [esp + 0x28], edx
push 1
lea edx, [esp + 0x20]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x58efc4]
push edx
push ebp
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call dword [0x599248]
cmp eax, 0xffffffff
je 0x4b6042
lea ecx, [esp + 0xb4]
push ecx
push eax
call esi
test eax, eax
je 0x4b6075
mov edx, dword [0x58efb8]
mov ecx, dword [0x58efc0]
mov eax, dword [0x58efbc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x34], edx
mov edx, dword [0x58efc4]
mov dword [esp + 0x38], eax
xor eax, eax
xor esi, esi
or ecx, esi
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0xc8]
or eax, edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x5c], eax
or ecx, esi
xor eax, eax
or eax, edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x64], eax
or ecx, esi
xor eax, eax
or eax, edx
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb4]
push ecx
push edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], 0
mov dword [esp + 0x84], edi
call dword [esp + 0x104]
jmp 0x4b6075
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x58efb8]
mov edx, dword [0x58efc4]
push eax
mov eax, dword [0x58efbc]
push eax
mov eax, dword [0x58efc0]
push ecx
push edx
push eax
push str.failed_to_open_dir__016I64x_016I64x__d_n
push 0xffff0000
call fcn.0048f0a0
add esp, 0x1c
mov eax, dword [esp + 0x8c]
cmp eax, edi
mov ebp, eax
je 0x4b6296
jmp 0x4b6090
mov eax, dword [eax]
cmp eax, edi
mov dword [esp + 0x8c], eax
jne 0x4b60a4
mov dword [esp + 0x90], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 2
mov ecx, dword [ebp + 0x14]
lea ebx, [ebp + 0x14]
push edi
mov dword [esp + 0x1c], ecx
mov edx, dword [ebx + 4]
push edi
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 8]
push 7
push 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xfc]
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x3c], ecx
call dword [0x599248]
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
je 0x4b624c
lea esp, [esp]
cmp dword [0x599108], edi
je 0x4b6129
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
push eax
push ecx
push str.readdir__016I64x_016I64x_n
push 0xff00ff00
call fcn.0048f0a0
add esp, 0x18
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push edx
push esi
push 0x13
push eax
call dword [0x59924c]
test eax, eax
je 0x4b623f
mov eax, dword [esi + 0x3c]
shr eax, 1
cmp eax, 1
mov dword [esp + 0x88], eax
jne 0x4b6160
cmp word [esi + 0x58], 0x2e
jmp 0x4b6171
cmp eax, 2
jne 0x4b6177
cmp word [esi + 0x58], 0x2e
jne 0x4b6177
cmp word [esi + 0x5a], 0x2e
je 0x4b622e
test byte [esi + 0x38], 0x10
je 0x4b6196
lea ecx, [esp + 0x8c]
lea edi, [esi + 0x48]
push ecx
call fcn.004b5c70
mov eax, dword [esp + 0x88]
xor edi, edi
mov edx, dword [esi + 0x48]
mov dword [esp + 0x34], edx
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x38], ecx
mov edx, dword [esi + 0x50]
mov dword [esp + 0x3c], edx
mov ecx, dword [esi + 0x54]
mov edx, dword [ebx]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x54], edx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x58], ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x5c], edx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x60], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x64], edx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x68], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x6c], edx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x70], ecx
mov edx, dword [esi + 0x38]
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0xf8]
mov byte [esp + 0x78], al
push ecx
lea eax, [esi + 0x58]
push edx
mov dword [esp + 0x84], eax
call dword [esp + 0x104]
mov eax, dword [esi]
cmp eax, edi
je 0x4b6100
add esi, eax
jmp 0x4b6148
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b6274
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
push eax
push ecx
push str.failed_to_open_dir__016I64x_016I64x__d_n
push 0xffff0000
call fcn.0048f0a0
add esp, 0x1c
mov edx, dword [esp + 0xb0]
mov dword [ebp], edx
mov eax, dword [esp + 0x8c]
cmp eax, edi
mov dword [esp + 0xb0], ebp
mov ebp, eax
jne 0x4b6090
mov eax, dword [esp + 0x2c]
push eax
call fcn.004a4810
lea ecx, [esp + 0x94]
push ecx
call fcn.004a81b0
pop edi
pop ebp
pop ebx
call fcn.0048f1e0
sub eax, dword [esp + 0x78]
push eax
push str._f_seconds_n
call fcn.0048f080
add esp, 8
pop esi
add esp, 0xd8
ret 0x14