Function at 0x10098ea0
Capabilities:
Decompress data using quicklz
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x10761d5c]
mov dword [esp + 0x14], edi
test eax, eax
je 0x10098eec
mov esi, dword [eax + 4]
test esi, esi
je 0x10098eec
mov eax, dword [eax]
test eax, eax
je 0x10098eec
cmp eax, dword [edi + 0x590]
jl 0x10098eec
mov eax, dword [esi]
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 0x58c]
jle 0x10098ef7
push str.GSdx:_Savestate_version_is_incompatible.__Load_aborted._n
call fcn.10021eb0
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, edi
call fcn.10097240
mov ecx, edi
call fcn.10097330
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 4]
lea ecx, [edi + 0x2c08]
mov dword [edi + 0x2b80], eax
mov edx, 2
mov eax, dword [esi + 8]
mov dword [edi + 0x2b84], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x2b88], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x2b8c], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x2b90], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x2b94], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x2b98], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x2b9c], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x2ba0], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x2ba4], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2ba8], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x2bac], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x2bb0], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x2bb4], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x2bb8], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x2bbc], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x2bc0], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x2bc4], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x2bc8], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x2bcc], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x2bd0], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x2bd4], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x2bd8], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x2bdc], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x2be0], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x2be4], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x2be8], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x2bec], eax
mov eax, dword [esi + 0x74]
mov dword [edi + 0x2bf0], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0x2bf4], eax
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x2bf0], eax
mov eax, dword [esi + 0x80]
add esi, 0x84
mov dword [edi + 0x2bf4], eax
mov eax, dword [edi + 0x2bd8]
mov dword [edi + 0x5c0], eax
mov eax, dword [edi + 0x2bdc]
mov dword [edi + 0x5c4], eax
mov edi, dword [esp + 0x18]
nop dword [eax]
mov eax, dword [esi]
mov dword [ecx - 8], eax
mov eax, dword [esi + 4]
mov dword [ecx - 4], eax
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x24], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 0x40]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x44]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x54]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x50], eax
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x58], eax
mov eax, dword [esi + 0x64]
add esi, 0x68
mov dword [ecx + 0x5c], eax
xor eax, eax
mov word [ecx - 6], ax
mov word [ecx - 2], ax
cmp edi, 4
jg 0x1009910f
add esi, 0x1c
add ecx, 0x140
sub edx, 1
jne 0x10099060
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
push 0x400000
mov dword [edi + 0x608], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x60c], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x600], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x604], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x618], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x61c], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x610], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x614], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x5a4], eax
mov eax, dword [esi + 0x2c]
add esi, 0x30
mov dword [edi + 0x5a8], eax
push esi
push dword [edi + 0xa64]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x5b4], 0
add esi, 0x400000
mov dword [esp + 0xc], 0
add edi, 0x960
movups xmm0, xmmword [esi]
lea esi, [esi + 0x14]
movups xmmword [edi - 0x20], xmm0
mov eax, dword [esi - 4]
mov dword [edi - 8], eax
mov eax, dword [edi - 0x20]
mov edx, dword [edi - 0x1c]
mov dword [edi - 0x20], eax
and eax, 0x7fff
mov dword [edi - 0x1c], edx
mov dword [esp + 0x10], eax
mov dword [edi - 0x10], eax
je case.0x1009925b.1
movq xmm1, qword [edi - 0x18]
mov eax, edx
shr eax, 0x1c
mov ecx, 0x10
test edx, 0xf0000000
movaps xmm0, xmm1
psrld xmm0, 4
cmovne ecx, eax
mov eax, ecx
punpcklbw xmm1, xmm0
shl eax, 4
add eax, 0x10761fe0
mov dword [edi - 0xc], ecx
movups xmm0, xmmword [eax]
mov dword [edi - 8], 0
pand xmm0, xmm1
movups xmmword [edi], xmm0
mov dword [edi - 4], 0
test edx, 0xc000000
jne case.0x1009925b.1
pcmpeqb xmm0, xmmword [0x101a5180]
mov eax, 1
shl eax, cl
pmovmskb edx, xmm0
dec eax
cmp edx, eax
jne 0x10099254
mov dword [edi - 4], 1
jmp case.0x1009925b.1
movzx eax, byte [ecx + 0x100995d7]
jmp dword [eax*4 + 0x100995c8]
mov eax, dword [edi]
cmp eax, 0x40102
je 0x100992c6
cmp eax, 0x50102
jne case.0x1009925b.1
mov dword [edi - 4], 3
jmp case.0x1009925b.1
cmp dword [edi], 0x2040102
jne case.0x1009925b.1
cmp dword [edi + 4], 0x1020401
jne case.0x1009925b.1
cmp dword [edi + 8], 4
jne case.0x1009925b.1
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*2]
jmp 0x100992bc
cmp dword [edi], 0x2040102
jne case.0x1009925b.1
cmp dword [edi + 4], 0x1020401
jne case.0x1009925b.1
cmp dword [edi + 8], 0x4010204
jne case.0x1009925b.1
mov eax, dword [esp + 0x10]
shl eax, 2
mov dword [edi - 0x10], eax
mov dword [edi - 0xc], 3
mov dword [edi - 4], 2
mov eax, dword [esp + 0xc]
add edi, 0x40
inc eax
mov dword [esp + 0xc], eax
cmp eax, 4
jb 0x100991b0
mov eax, dword [esi]
mov esi, dword [esp + 0x14]
mov dword [esi + 0x620], eax
lea ecx, [esi + 0x2b88]
test byte [esi + 0x2b90], 1
lea eax, [esi + 0x2b80]
cmove eax, ecx
mov ecx, esi
mov dword [esi + 0xa40], eax
mov eax, dword [eax]
shr eax, 9
and eax, 1
lea eax, [eax + eax*4]
shl eax, 6
add eax, 0x2c00
add eax, esi
mov dword [esi + 0x2f00], eax
movups xmm0, xmmword [eax + 0x80]
movups xmmword [esi + 0x630], xmm0
movups xmm0, xmmword [eax + 0xa0]
movups xmmword [esi + 0x640], xmm0
call fcn.10099990
lea ecx, [esi + 0x2b80]
call fcn.100949f0
mov edx, 0x8000
mov dword [esp + 0x18], 2
lea eax, [esi + 0xa60]
lea ecx, [esi + 0x2c38]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov esi, 0x7ff
movd xmm3, edx
movaps xmmword [esp + 0x20], xmm3
movzx eax, word [ecx]
and ax, si
shl ax, 4
add ax, word [ecx - 0x38]
add ax, dx
mov word [ecx + 0x48], ax
movzx eax, word [ecx + 4]
and ax, si
shl ax, 4
add ax, word [ecx - 0x34]
add ax, dx
mov word [ecx + 0x4a], ax
movzx eax, word [ecx + 2]
and ax, si
shl ax, 4
add ax, word [ecx - 0x38]
add ax, dx
mov word [ecx + 0x4c], ax
movzx eax, word [ecx + 6]
and ax, si
shl ax, 4
add ax, word [ecx - 0x34]
add ax, dx
mov word [ecx + 0x4e], ax
mov edi, dword [ecx]
mov esi, edi
mov edx, dword [ecx + 4]
and esi, 0x7ff
mov eax, esi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0xc]
mov ecx, edx
shl eax, 4
and ecx, 0x7ff
shr edi, 0x10
and edi, 0x7ff
shr edx, 0x10
add eax, dword [esi - 0x38]
and edx, 0x7ff
movd xmm2, eax
mov eax, edi
shl eax, 4
add eax, dword [esi - 0x38]
movd xmm0, eax
mov eax, ecx
shl eax, 4
add eax, dword [esi - 0x34]
punpckldq xmm2, xmm0
movd xmm1, eax
mov eax, edx
shl eax, 4
add eax, dword [esi - 0x34]
movd xmm0, eax
mov eax, esi
mov esi, dword [esp + 0x1c]
punpckldq xmm1, xmm0
punpckldq xmm2, xmm1
cvtdq2ps xmm0, xmm2
movd xmm2, esi
mov esi, dword [esp + 0xc]
movups xmmword [eax + 0x58], xmm0
lea eax, [edi + 1]
movd xmm0, eax
lea eax, [edx + 1]
punpckldq xmm2, xmm0
movd xmm0, eax
mov eax, dword [esi - 0x38]
movd xmm1, ecx
add eax, 0xfffffff1
punpckldq xmm1, xmm0
punpckldq xmm2, xmm1
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm2
movaps xmm2, xmm3
movups xmmword [esi + 0x38], xmm0
movd xmm0, eax
mov eax, dword [esi - 0x34]
add eax, 0xfffffff1
punpckldq xmm2, xmm0
movd xmm0, eax
punpckldq xmm1, xmm0
punpckldq xmm2, xmm1
lea edi, [esi + 0x20]
movups xmmword [esi + 0x68], xmm2
mov edx, dword [edi]
mov eax, edx
mov ecx, edx
shr eax, 0x18
and eax, 0x3f
shr edx, 0x10
and ecx, 0x1ff
and edx, 0x3f
push eax
shl ecx, 5
push edx
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.100639d0
mov dword [esi + 0x78], eax
add esi, 0x28
mov eax, dword [esi]
mov ecx, eax
shr eax, 0x18
and ecx, 0x1ff
and eax, 0x3f
shl ecx, 5
push eax
movzx eax, word [edi + 2]
and eax, 0x3f
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.100639d0
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x7c], eax
mov ecx, dword [ecx - 0x30]
mov eax, ecx
shr eax, 0x14
and eax, 0x3f
push eax
mov eax, ecx
and ecx, 0x3fff
shr eax, 0xe
and eax, 0x3f
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.100639d0
mov ecx, dword [esp + 0xc]
push esi
push edi
mov dword [ecx + 0x80], eax
mov ecx, dword [esp + 0x18]
call fcn.10063bf0
mov ecx, dword [esp + 0xc]
push esi
push edi
mov dword [ecx + 0x84], eax
mov ecx, dword [esp + 0x18]
call fcn.10063e40
mov ecx, dword [esp + 0xc]
mov edx, 0x8000
movaps xmm3, xmmword [esp + 0x20]
mov esi, 0x7ff
mov dword [ecx + 0x88], eax
add ecx, 0x140
sub dword [esp + 0x18], 1
mov dword [esp + 0xc], ecx
jne 0x10099382
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, dword [ecx + 0x2f00]
movups xmm0, xmmword [eax + 0x80]
movups xmmword [ecx + 0x630], xmm0
movups xmm0, xmmword [eax + 0xa0]
xor eax, eax
movups xmmword [ecx + 0x640], xmm0
mov dword [ecx + 0x3138], 0x1388
mov dword [ecx + 0x313c], 0
mov esp, ebp
pop ebp
ret 4
enter 1, 0
inc eax
ljmp 0xdc24
add eax, 0x2484c710
mov ah, 1
add byte [eax], al
invalid
je 0x100f62d0
cmp eax, 2
jbe 0x100f6086
cmp eax, 3
jne 0x100f62d0
push dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
push ecx
push dword [ebp + 0x18]
mov ecx, edi
push dword [ebp + 0x10]
call fcn.100f62e0
add esp, 0x10
jmp 0x100f6214
cmp dword [edi + 0x31c], 0
mov esi, 0x8e
mov eax, dword [edi + 0x68]
mov dword [esp + 0xc], eax
je 0x100f61fa
mov ecx, dword [eax + 0x14]
mov esi, dword [edi + 0x318]
test ecx, ecx
je 0x100f60c8
push 0
push 0
push esi
push eax
call ecx
add esp, 0x10
test eax, eax
je 0x100f60da
mov esi, 0x55
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, dword [eax + 4]
jbe 0x100f60de
mov esi, 0x55
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov dword [eax + 8], esi
xor esi, esi
mov ecx, dword [edi + 0x2d8]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x54]
add eax, 0x4c
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x318]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x31c]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x2d4]
mov dword [esp + 8], eax
mov dword [esp + 0x58], eax
add eax, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0xc]
mov word [esp + 0x44], si
lea edx, [eax + eax*2]
shl edx, 4
mov dword [esp + 0xc], edx
lea eax, [edx + 0x37]
cmp eax, ecx
jbe 0x100f6150
mov esi, 3
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 8]
mov eax, dword [esp + 8]
movzx edx, byte [edx + eax + 8]
mov eax, dword [esp + 0xc]
shl edx, 8
movzx eax, byte [eax + edi + 9]
or edx, eax
mov eax, dword [esp + 0xc]
shl edx, 8
movzx eax, byte [eax + edi + 0xa]
or edx, eax
mov eax, dword [esp + 0xc]
shl edx, 8
movzx eax, byte [eax + edi + 0xb]
or edx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], edx
movzx eax, byte [eax + edi + 0x10]
shl eax, 8
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + edi + 0x11]
or dword [esp + 8], eax
mov eax, dword [esp + 0xc]
shl dword [esp + 8], 8
movzx eax, byte [eax + edi + 0x12]
or dword [esp + 8], eax
mov eax, dword [esp + 0xc]
shl dword [esp + 8], 8
movzx eax, byte [eax + edi + 0x13]
or dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xc]
mov al, byte [eax + edi + 0x36]
mov edi, dword [ebp + 8]
mov byte [esp + 0x46], al
cmp edx, ecx
ja 0x100f6143
sub ecx, edx
shr ecx, 3
cmp dword [esp + 8], ecx
ja 0x100f6143
test esi, esi
jne 0x100f62d5
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x34]
push esi
push esi
push esi
call fcn.100f6620
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x100f62d5
test dword [ebp + 0x14], 0x100000
jne 0x100f62d5
mov edx, dword [ebp + 0x1c]
cmp byte [edx + 0x12], 7
jne 0x100f62d5
movups xmm0, xmmword [0x1018b988]
mov eax, dword [edi + 0x54]
push ecx
lea ecx, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
mov eax, dword [eax]
movq xmm0, qword [0x1018b998]
push ecx
mov ecx, eax
mov dword [esp + 0x14], eax
movq qword [esp + 0x28], xmm0
call fcn.1012a970
mov esi, eax
add esp, 8
test esi, esi
je 0x100f6295
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100f62d5
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
test ecx, ecx
je 0x100f62d5
push ecx
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x1c]
mov al, byte [esp + 0x22]
mov edx, dword [esp + 0x1c]
mov byte [ecx + 0x12], al
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov ax, word [esp + 0x20]
mov word [ecx + 0x10], ax
mov ecx, dword [edi + 0x54]
call fcn.100d48c0
mov eax, dword [edi + 0x54]
mov eax, dword [eax + 0x9c]
or dword [eax + 4], 1
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 2
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret