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

Disassembly:
sub esp, 0xd8
push esi
call fcn.0048dd50
xor esi, esi
cmp dword [0x58b478], esi
mov dword [esp + 0x78], eax
je 0x4b2cb8
cmp dword [0x58b474], esi
je 0x4b2cb8
push 0x24
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
call fcn.004a5c10
mov eax, dword [0x58b188]
cmp eax, esi
mov dword [esp + 8], eax
jne 0x4b277c
mov dword [esp + 8], 0x10000
mov ecx, dword [esp + 8]
push ebx
push ebp
push edi
push ecx
call fcn.004a2340
lea edx, [esp + 0x8c]
push edx
mov edi, 0x581eb4
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.004b2690
lea eax, [esp + 0x8c]
push eax
mov edi, 0x581ec4
call fcn.004b2690
mov edx, dword [0x581eb8]
mov ecx, dword [0x581eb4]
mov eax, dword [0x581ebc]
mov ebp, dword [esp + 0xec]
push 0x2000000
xor edi, edi
push edi
push 7
mov dword [esp + 0x30], edx
push 1
lea edx, [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x581ec0]
push edx
push ebp
mov dword [esp + 0x30], 0x18
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call dword [0x58b474]
cmp eax, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
je 0x4b2901
lea ecx, [esp + 0xb4]
push ecx
push eax
call esi
test eax, eax
je 0x4b2934
mov edx, dword [0x581eb4]
mov ecx, dword [0x581ebc]
mov eax, dword [0x581eb8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x34], edx
mov edx, dword [0x581ec0]
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 0x4b2934
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x581eb4]
mov edx, dword [0x581ec0]
push eax
mov eax, dword [0x581eb8]
push eax
mov eax, dword [0x581ebc]
push ecx
push edx
push eax
push str.failed_to_open_dir__016I64x_016I64x__d_n
push 0xffff0000
call fcn.0048dc30
add esp, 0x1c
mov edx, dword [0x581ec8]
mov ecx, dword [0x581ec4]
mov eax, dword [0x581ecc]
push 0x2000000
push edi
push 7
mov dword [esp + 0x30], edx
push 1
lea edx, [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x581ed0]
push edx
push ebp
mov dword [esp + 0x30], 0x18
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call dword [0x58b474]
cmp eax, 0xffffffff
je 0x4b2a62
lea ecx, [esp + 0xb4]
push ecx
push eax
call esi
test eax, eax
je 0x4b2a95
mov edx, dword [0x581ec4]
mov ecx, dword [0x581ecc]
mov eax, dword [0x581ec8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x34], edx
mov edx, dword [0x581ed0]
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 0x4b2a95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x581ec4]
mov edx, dword [0x581ed0]
push eax
mov eax, dword [0x581ec8]
push eax
mov eax, dword [0x581ecc]
push ecx
push edx
push eax
push str.failed_to_open_dir__016I64x_016I64x__d_n
push 0xffff0000
call fcn.0048dc30
add esp, 0x1c
mov eax, dword [esp + 0x8c]
cmp eax, edi
mov esi, eax
mov dword [esp + 0x30], esi
je 0x4b2c9e
jmp 0x4b2ab9
mov ebp, dword [esp + 0xec]
mov esi, eax
mov eax, dword [eax]
cmp eax, edi
mov dword [esp + 0x8c], eax
jne 0x4b2acd
mov dword [esp + 0x90], edi
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], 2
mov ecx, dword [esi + 0x14]
lea ebx, [esi + 0x14]
push edi
push edi
mov dword [esp + 0x28], ecx
mov edx, dword [ebx + 4]
push 7
mov dword [esp + 0x30], edx
mov eax, dword [ebx + 8]
push 1
lea edx, [esp + 0x28]
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0xc]
push edx
push ebp
mov dword [esp + 0x44], ecx
call dword [0x58b474]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4b2c53
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push 0x13
push ebp
call dword [0x58b478]
test eax, eax
je 0x4b2c4a
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x3c]
shr eax, 1
cmp eax, 1
mov dword [esp + 0x88], eax
jne 0x4b2b50
cmp word [esi + 0x58], 0x2e
jmp 0x4b2b61
cmp eax, 2
jne 0x4b2b67
cmp word [esi + 0x58], 0x2e
jne 0x4b2b67
cmp word [esi + 0x5a], 0x2e
je 0x4b2c1e
test byte [esi + 0x38], 0x10
je 0x4b2b86
lea edx, [esp + 0x8c]
lea edi, [esi + 0x48]
push edx
call fcn.004b2690
mov eax, dword [esp + 0x88]
xor edi, edi
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x34], ecx
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x38], edx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x3c], ecx
mov edx, dword [esi + 0x54]
mov ecx, dword [ebx]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x54], ecx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x58], edx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x5c], ecx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x60], edx
mov ecx, dword [esi + 8]
mov dword [esp + 0x64], ecx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x68], edx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x6c], ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x70], edx
mov ecx, dword [esi + 0x38]
mov byte [esp + 0x78], al
lea eax, [esp + 0x34]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0xf8]
push eax
lea edx, [esi + 0x58]
push ecx
mov dword [esp + 0x84], edx
call dword [esp + 0x104]
mov eax, dword [esi]
cmp eax, edi
je 0x4b2c2b
add esi, eax
jmp 0x4b2b38
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x13
push ebp
call dword [0x58b478]
test eax, eax
jne 0x4b2b34
mov esi, dword [esp + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b2c7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
push str.failed_to_open_dir__016I64x_016I64x__d_n
push 0xffff0000
call fcn.0048dc30
add esp, 0x1c
mov edx, dword [esp + 0xb0]
mov dword [esi], edx
mov eax, dword [esp + 0x8c]
cmp eax, edi
mov dword [esp + 0xb0], esi
mov dword [esp + 0x30], eax
jne 0x4b2ab0
mov eax, dword [esp + 0x10]
push eax
call fcn.004a23a0
lea ecx, [esp + 0x94]
push ecx
call fcn.004a5c50
pop edi
pop ebp
pop ebx
call fcn.0048dd50
sub eax, dword [esp + 0x78]
push eax
push str._f_seconds_n
call fcn.0048dc10
add esp, 8
pop esi
add esp, 0xd8
ret 0x14