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

Disassembly:
sub rsp, 0xd8
mov dword [rsp + 0x78], 0x98ad
mov dword [rsp + 0x40], 0xfe15
mov dword [rsp + 0x24], 0x1164e
mov dword [rsp + 0x20], 0x9f6e
mov dword [rsp + 0x28], 0xbe7
cmp dword [0x140040000], 0
je 0x140010462
mov eax, 1
jmp 0x1400107b6
mov eax, dword [0x14003ec1c]
add eax, 0x4c
mov rax, qword gs:[rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x38], 0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x58], rax
jmp 0x1400104d1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x30], 0
je 0x1400105ff
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
add rax, 0x88
mov qword [rsp + 0xa0], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140010555
jmp 0x1400104ba
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.14000ceb0
cmp eax, 0x5518fa78
jne 0x1400105fa
mov eax, dword [0x14003eb08]
cmp dword [rsp + 0x24], eax
jb 0x1400105e0
mov eax, dword [rsp + 0x28]
and eax, 0x14309
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
imul eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x40]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x140010598
mov eax, dword [0x14003ec18]
cmp dword [rsp + 0x28], eax
jae 0x140010598
mov eax, dword [0x14003ec18]
cmp dword [rsp + 0x20], eax
jae 0x140010598
jmp 0x1400105ff
jmp 0x1400104ba
cmp qword [rsp + 0x48], 0
jne 0x14001060e
xor eax, eax
jmp 0x1400107b6
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x2c], 0
lea rax, [0x140040008]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x30]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x775a
jne 0x14001076d
mov rcx, qword [rsp + 0x70]
call fcn.14000cd60
mov ecx, dword [rsp + 0x2c]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x60]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x24]
cmp dword [0x14003ec2c], eax
jg 0x14001071a
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x20]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
imul ecx, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
add eax, 0x6ea2
mov dword [rsp + 0x28], eax
jmp 0x1400106cf
mov eax, dword [0x14003eb00]
cmp dword [rsp + 0x20], eax
jge 0x1400106cf
mov eax, dword [rsp + 0x30]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0xb8]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x2c]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0xc0]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx + 4], eax
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x226
jne 0x14001076d
jmp 0x140010782
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14001067f
mov eax, dword [rsp + 0x2c]
mov dword [0x140040000], eax
mov edx, dword [0x140040000]
mov rcx, qword [rsp + 0x60]
call fcn.14000f5b0
mov r8, qword [rsp + 0x38]
mov edx, dword [0x140040000]
mov rcx, qword [rsp + 0x60]
call fcn.140010130
mov eax, 1
add rsp, 0xd8
ret