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

Disassembly:
mov eax, 0x66d28b
call fcn.006313fc
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
xor ebx, ebx
push edi
push 8
pop edi
mov ebp, ebx
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x14], edi
jb 0x47ed3d
mov eax, dword [esi]
jmp 0x47ed3f
mov eax, esi
push 0x80
push 4
push eax
call fcn.0045eeaa
mov dword [esp + 0x6c], eax
cmp eax, 0xffffffff
jne 0x47ed6f
cmp dword [esi + 0x14], edi
jb 0x47ed5c
mov esi, dword [esi]
push esi
push str.Cant_open_archive_file__s
call fcn.00409edb
add esp, 8
jmp 0x47efda
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push eax
call sub.KERNEL32.DLL_GetFileTime
test eax, eax
je 0x47ed92
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 0x3c]
jne 0x47ed92
mov eax, dword [esp + 0x20]
cmp eax, dword [esi + 0x38]
je 0x47edba
push dword [esp + 0x6c]
push esi
call fcn.0047ea3f
test al, al
jne 0x47edba
cmp dword [esi + 0x14], edi
jb 0x47eda7
mov esi, dword [esi]
push esi
push str.Cant_read_directory_of_archive_file__s
call fcn.00409edb
add esp, 8
jmp 0x47efc0
mov eax, ebx
mov dword [esp + 0x1c], ebx
cmp eax, dword [esi + 0x34]
je 0x47efa0
push eax
lea ecx, [esi + 0x24]
call fcn.004f47a5
mov edi, eax
cmp byte [edi + 0x26], 0
je 0x47ee3c
cmp dword [edi + 0x14], 0x10
jb 0x47ede4
mov eax, dword [edi]
jmp 0x47ede6
mov eax, edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0047a531
cmp dword [eax + 0x14], 8
jb 0x47edf9
mov eax, dword [eax]
mov ecx, dword [esp + 0x70]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47ee23
test dx, dx
je 0x47ee1f
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ee23
add eax, 4
add ecx, 4
test dx, dx
jne 0x47edfd
xor eax, eax
jmp 0x47ee28
sbb eax, eax
or eax, 1
xor ebx, ebx
lea ecx, [esp + 0x28]
test eax, eax
push 0
push 1
sete bl
call fcn.0042341c
test ebx, ebx
jne 0x47ee73
push edi
lea eax, [esp + 0x44]
push eax
call fcn.0043d0d2
push dword [esp + 0x70]
and dword [esp + 0x64], ebx
mov ecx, eax
call fcn.00434c1f
mov ebx, eax
lea ecx, [esp + 0x40]
neg ebx
push 0
sbb ebx, ebx
or dword [esp + 0x64], 0xffffffff
push 1
inc ebx
call fcn.0042341c
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x47edc0
mov ecx, dword [edi + 0x1c]
mov ebx, 0x8000000
mov edx, dword [edi + 0x20]
mov eax, ecx
or eax, edx
cmp eax, ebx
jb 0x47eeb5
cmp dword [esi + 0x14], 8
jb 0x47ee9f
mov esi, dword [esi]
push esi
push ebx
push edx
push ecx
push str.Cant_handle_decompressed_size__d__d____d_for_archive__s
call fcn.00409edb
add esp, 0x14
jmp 0x47efbc
lea eax, [ecx + 1]
mov dword [esp + 0x18], ecx
push eax
call fcn.0045d923
mov dword [esp + 0x10], eax
test eax, eax
je 0x47efbc
xor ebx, ebx
push ebx
push ebx
push dword [edi + 0x18]
push dword [esp + 0x78]
call fcn.0045efda
and eax, edx
cmp eax, 0xffffffff
jne 0x47eefb
cmp dword [esi + 0x14], 8
jb 0x47eeed
mov esi, dword [esi]
push dword [edi + 0x18]
push esi
push str.Cant_set_pointer_in_archive_file__s_to__d
jmp 0x47efb4
push ebx
push dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push ebx
push dword [esp + 0x78]
call fcn.0045f020
test eax, eax
je 0x47ef25
cmp dword [esi + 0x14], 8
jb 0x47ef1a
mov esi, dword [esi]
push esi
push str.Cant_read_from_archive_file__s
jmp 0x47edad
push 8
pop eax
cmp word [edi + 0x24], ax
jne 0x47ef76
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.0045d923
mov ebp, eax
test ebp, ebp
je 0x47efc0
lea eax, [esp + 0x18]
push eax
push ebx
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.004f9156
test eax, eax
je 0x47ef6c
push 8
pop eax
cmp dword [esi + 0x14], eax
jb 0x47ef61
mov esi, dword [esi]
push esi
push str.Cant_decompress_entry_in_archive__s
jmp 0x47edad
push 1
push ebx
call fcn.0045d916
jmp 0x47ef80
mov eax, dword [esp + 0x18]
mov ebp, ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x6c]
push eax
call fcn.0045ee3a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, ebp
jmp 0x47efdc
push 8
pop eax
cmp dword [esi + 0x14], eax
jb 0x47efaa
mov esi, dword [esi]
push esi
push dword [esp + 0x74]
push str.Cant_find_requested_file__s_in_archive__s
call fcn.00409edb
add esp, 0xc
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x6c]
push eax
call fcn.0045ee3a
push 1
push ebx
call fcn.0045d916
push 1
push ebp
call fcn.0045d916
xor eax, eax
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc