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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov qword [rsp + 0x128], 0xfffffffffffffffe
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x20]
xor r8d, r8d
mov edx, 0x30
mov rcx, qword [rsp + 0x148]
call fcn.14009b340
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400894aa
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
test eax, eax
je 0x1400894aa
mov r9d, dword [rsp + 0x20]
mov r8d, 1
mov edx, 0x30
mov rcx, qword [rsp + 0x148]
call fcn.14009b340
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
movzx ecx, word [rax + 0x14]
mov rax, qword [rsp + 0x28]
add rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x38], 0
je 0x140088d57
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
test eax, eax
je 0x140088d57
mov rax, qword [rsp + 0x38]
movzx ecx, word [rax + 0x14]
mov rax, qword [rsp + 0x38]
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x41]
cmp eax, 1
jne 0x140088d57
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx r8d, byte [rax + 0x40]
mov rdx, qword [rsp + 0x40]
add rdx, 0x42
mov r9, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
call fcn.140086e40
mov r11, qword [rsp + 0x150]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov qword [r11 + 0x18], rax
mov rcx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov qword [rcx + 8], rax
mov r9d, dword [rsp + 0x20]
xor r8d, r8d
mov edx, 0x10
mov rcx, qword [rsp + 0x148]
call fcn.14009b340
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140088e31
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
test eax, eax
je 0x140088e31
mov rax, qword [rsp + 0x50]
movzx ecx, word [rax + 0x14]
mov rax, qword [rsp + 0x50]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 8]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x150]
mov qword [rax + 0x28], 0xffffffffffffffff
mov rcx, qword [rsp + 0x40]
movabs rax, 0xffffffffffff
mov rcx, qword [rcx]
and rcx, rax
mov rax, qword [rsp + 0x150]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x150]
mov qword [rax + 0x30], 0xffffffffffffffff
mov rax, qword [rsp + 0x150]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + 0x38]
mov rax, qword [rsp + 0x150]
mov dword [rax + 0x40], ecx
mov rax, qword [rsp + 0x150]
mov dword [rax + 0x3c], 0
mov rax, qword [rsp + 0x150]
mov dword [rax + 0x44], 0
mov rax, qword [rsp + 0x150]
mov dword [rax + 0x38], 0xffffffff
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x38]
and eax, 0x10000000
test eax, eax
je 0x140088eec
mov rax, qword [rsp + 0x150]
mov ecx, dword [rax + 0x40]
or ecx, 0x10
mov rax, qword [rsp + 0x150]
mov dword [rax + 0x40], ecx
mov rax, qword [rsp + 0x148]
movzx eax, word [rax + 4]
cmp eax, 0x30
jl 0x140088f24
mov rax, qword [rsp + 0x148]
movzx eax, word [rax + 0x2a]
test eax, eax
jne 0x140088f24
mov rax, qword [rsp + 0x148]
mov ecx, dword [rax + 0x2c]
mov rax, qword [rsp + 0x150]
mov qword [rax + 0x28], rcx
mov qword [rsp + 0x30], 1
mov dword [rsp + 0x60], 0
jmp 0x140088f50
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x30]
imul rax, rax, 5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x40]
cmp dword [rsp + 0x60], eax
jge 0x140088f8c
movsxd rcx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rcx*2 + 0x42]
imul rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x150]
add rcx, qword [rax]
mov rax, qword [rsp + 0x150]
mov qword [rax], rcx
jmp 0x140088f37
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0x40]
and eax, 0x10
test eax, eax
je 0x140089201
mov rcx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 0x10]
mov qword [rcx + 8], rax
mov r9d, dword [rsp + 0x20]
xor r8d, r8d
mov edx, 0xa0
mov rcx, qword [rsp + 0x148]
call fcn.14009b340
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400891fc
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 8]
test eax, eax
je 0x1400891fc
mov rax, qword [rsp + 0x68]
movzx ecx, word [rax + 0x20]
mov rax, qword [rsp + 0x68]
add rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x74], 4
jg 0x1400891fc
cmp dword [rsp + 0x70], 4
jg 0x1400891fc
mov rax, qword [rsp + 0x78]
add rax, 1
mov qword [rsp + 0x78], rax
movsxd rcx, dword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
add rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x150]
mov dword [rax + 0x38], 0
movsxd r8, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x150]
add rcx, 0x38
mov rdx, qword [rsp + 0x78]
call sub.MSVCR90.dll_memcpy
lea rcx, [rsp + 0x80]
call fcn.140049b00
nop
mov rax, qword [rsp + 0x140]
mov dword [rax + 0x3c], 1
mov rax, qword [rsp + 0x140]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0x140]
mov dword [rax + 0x40], 2
mov rax, qword [rsp + 0x140]
mov dword [rax + 0x44], 8
mov rax, qword [rsp + 0x68]
movzx ecx, word [rax + 0x20]
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax + 4]
sub r8d, ecx
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x20]
mov rdx, qword [rsp + 0x68]
add rdx, rax
lea r9, [rsp + 0x80]
mov rcx, qword [rsp + 0x140]
call fcn.140086bf0
mov dword [rsp + 0xb8], 0
mov dword [rsp + 0xbc], 0
jmp 0x14008914a
mov eax, dword [rsp + 0xbc]
add eax, 1
mov dword [rsp + 0xbc], eax
lea rcx, [rsp + 0x88]
call fcn.140030a90
cmp dword [rsp + 0xbc], eax
jge 0x14008918a
movsxd rdx, dword [rsp + 0xbc]
lea rcx, [rsp + 0x88]
call fcn.14008bcc0
mov ecx, dword [rax + 8]
mov eax, dword [rsp + 0xb8]
add eax, ecx
mov dword [rsp + 0xb8], eax
jmp 0x140089139
cmp dword [rsp + 0xb8], 1
jle 0x1400891ef
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 0x2c]
xor edx, edx
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x28]
div rcx
mov dword [rsp + 0xc0], eax
movd xmm1, dword [rsp + 0xc0]
cvtdq2pd xmm1, xmm1
movd xmm0, dword [rsp + 0xb8]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
mov rcx, qword [rsp + 0x140]
call fcn.1400894d0
mov r11d, eax
mov rax, qword [rsp + 0x150]
mov dword [rax + 0x44], r11d
lea rcx, [rsp + 0x80]
call fcn.140049b30
jmp 0x1400894a8
mov r9d, dword [rsp + 0x20]
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [rsp + 0x148]
call fcn.14009b340
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x1400894a8
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 8]
test eax, eax
je 0x1400894a8
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 9]
test eax, eax
jne 0x1400894a8
mov rax, qword [rsp + 0xc8]
movzx ecx, word [rax + 0x20]
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 4], ecx
jbe 0x1400894a8
mov rax, qword [rsp + 0xc8]
movzx ecx, word [rax + 0x20]
mov rax, qword [rsp + 0xc8]
add rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [rsp + 0xd4], eax
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax]
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd4], 4
jg 0x1400894a8
cmp dword [rsp + 0xd0], 4
jg 0x1400894a8
movsxd rcx, dword [rsp + 0xd0]
mov rax, qword [rsp + 0xd8]
add rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x150]
mov dword [rax + 0x3c], 0
movsxd r8, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x150]
add rcx, 0x3c
mov rdx, qword [rsp + 0xd8]
call sub.MSVCR90.dll_memcpy
lea rcx, [rsp + 0xe0]
call fcn.140049b00
nop
mov rax, qword [rsp + 0x140]
mov dword [rax + 0x3c], 1
mov rax, qword [rsp + 0x140]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0x140]
mov dword [rax + 0x40], 2
mov rax, qword [rsp + 0x140]
mov dword [rax + 0x44], 8
mov rax, qword [rsp + 0xc8]
movzx ecx, word [rax + 0x20]
mov rax, qword [rsp + 0xc8]
mov r8d, dword [rax + 4]
sub r8d, ecx
mov rax, qword [rsp + 0xc8]
movzx eax, word [rax + 0x20]
mov rdx, qword [rsp + 0xc8]
add rdx, rax
lea r9, [rsp + 0xe0]
mov rcx, qword [rsp + 0x140]
call fcn.140086bf0
mov dword [rsp + 0x118], 0
mov dword [rsp + 0x11c], 0
jmp 0x1400893f3
mov eax, dword [rsp + 0x11c]
add eax, 1
mov dword [rsp + 0x11c], eax
lea rcx, [rsp + 0xe8]
call fcn.140030a90
cmp dword [rsp + 0x11c], eax
jge 0x140089433
movsxd rdx, dword [rsp + 0x11c]
lea rcx, [rsp + 0xe8]
call fcn.14008bcc0
mov ecx, dword [rax + 8]
mov eax, dword [rsp + 0x118]
add eax, ecx
mov dword [rsp + 0x118], eax
jmp 0x1400893e2
cmp dword [rsp + 0x118], 1
jle 0x14008949b
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 0x2c]
xor edx, edx
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x28]
div rcx
mov dword [rsp + 0x120], eax
movd xmm1, dword [rsp + 0x120]
cvtdq2pd xmm1, xmm1
movd xmm0, dword [rsp + 0x118]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
mov rcx, qword [rsp + 0x140]
call fcn.1400894d0
mov r11d, eax
mov rax, qword [rsp + 0x150]
mov dword [rax + 0x44], r11d
lea rcx, [rsp + 0xe0]
call fcn.140049b30
jmp 0x1400894ae
xor eax, eax
jmp 0x1400894b3
mov eax, 1
add rsp, 0x138
ret