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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x101f8740]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x10], 0x1020156d
push edi
push str.multi_pack_index
mov dl, 0x2f
mov dword [esp + 0x1c], 0
push dword [ebx + 0x70]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0
call fcn.1002a950
add esp, 8
test eax, eax
js 0x100901cb
mov eax, dword [ebx + 0x40]
lea esi, [ebx + 0x40]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc], eax
test eax, eax
je 0x10090235
push 0
push edi
call fcn.100402b0
mov esi, eax
add esp, 8
test esi, esi
jns 0x10090106
call fcn.10178834
push str.open
mov edx, edi
mov ecx, dword [eax]
call fcn.10030700
mov esi, eax
add esp, 4
test esi, esi
js 0x100901e6
lea edx, [esp + 0x20]
mov dword [esp + 0x10], esi
mov ecx, esi
call fcn.10040650
test eax, eax
js 0x100901dd
mov eax, dword [esp + 0x26]
and eax, 0xf000
cmp eax, 0x8000
jne 0x100901dd
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
test edx, edx
jne 0x100901dd
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 4]
jne 0x100901dd
sub eax, 0x14
sbb edx, edx
push edx
push eax
push ecx
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.10040d60
add esp, 0xc
mov esi, eax
push dword [esp + 0x10]
call fcn.1018e2bc
add esp, 4
cmp esi, 0x14
jne 0x100901e6
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x70]
add edx, 0x38
mov esi, 0x10
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1009019c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10090187
xor al, al
jmp 0x1009019e
mov al, 1
test al, al
jne 0x100901e6
cmp dword [esp + 0x18], 0
jbe 0x100901c9
test edi, edi
je 0x100901c9
cmp edi, 0x1020156c
je 0x100901c9
mov esi, dword [fcn.10032f00]
mov ecx, esi
push edi
call dword [0x101a54ac]
call esi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret
push esi
call fcn.1018e2bc
add esp, 4
mov ecx, ebx
call fcn.1008fd60
mov dword [esp + 0xc], eax
test eax, eax
jns 0x10090232
cmp dword [esp + 0x18], 0
jbe 0x100901cb
test edi, edi
je 0x100901cb
cmp edi, 0x1020156c
je 0x100901cb
mov esi, dword [fcn.10032f00]
mov ecx, esi
push edi
call dword [0x101a54ac]
call esi
mov eax, dword [esp + 0x10]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 0x40]
mov edx, edi
mov ecx, esi
call fcn.100bcca0
cmp dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
jbe 0x10090270
test edi, edi
je 0x10090270
cmp edi, 0x1020156c
je 0x10090270
mov esi, dword [fcn.10032f00]
mov ecx, esi
push edi
call dword [0x101a54ac]
call esi
mov eax, dword [esp + 0x10]
lea esi, [ebx + 0x40]
add esp, 4
test eax, eax
js 0x100901cb
mov edx, dword [esi]
lea ecx, [ebx + 0x44]
mov edx, dword [edx + 0x18]
call fcn.10038b60
mov eax, dword [ebx + 0x40]
xor esi, esi
cmp dword [eax + 0x18], esi
jbe 0x100901c9
mov eax, dword [eax + 0x14]
mov edx, esi
mov ecx, ebx
push dword [eax + esi*4]
call fcn.1008fe40
mov edi, eax
add esp, 4
test edi, edi
js 0x100902c8
mov eax, dword [ebx + 0x40]
inc esi
cmp esi, dword [eax + 0x18]
jb 0x10090293
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret
lea ecx, [ebx + 0x44]
mov edx, esi
call fcn.10038b60
mov ecx, ebx
call fcn.1008fd60
mov ecx, dword [esp + 0x84]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret