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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
movsxd rax, dword [0x1801295b8]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x78], 0xa28
mov eax, dword [0x1801295c4]
cdq
idiv dword [0x180129530]
cdqe
mov qword [rsp + 0x118], rax
movzx eax, word [rsp + 0x160]
dec ax
mov word [rsp + 0x160], ax
movzx eax, word [rsp + 0x160]
mov qword [rsp + 0xa8], rax
movzx eax, byte [0x180129594]
mov byte [rsp + 0x30], al
movsxd rax, dword [0x1801295d0]
mov qword [rsp + 0x90], rax
mov rax, qword [0x1801295b0]
mov rcx, qword [0x180129580]
movzx eax, byte [rcx + rax*8 + 0x20]
mov byte [rsp + 0x38], al
mov rax, qword [0x1801295b0]
inc rax
mov qword [0x1801295b0], rax
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax + 0x14]
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0xb0], 0x14ce
xor edx, edx
mov eax, 0x660
div qword [0x180129578]
mov rax, rdx
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x80], 0xfffffffffffff2e8
mov eax, 0xf15
cdq
idiv dword [0x180129594]
mov eax, edx
cdqe
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax]
inc eax
cdqe
movzx ecx, word [rsp + 0x160]
mov rdx, qword [0x180129550]
mov eax, dword [rdx + rax*4]
cdq
idiv ecx
mov dword [rsp + 0x40], eax
movzx eax, byte [0x180129536]
mov ecx, dword [0x1801295d0]
movsxd rcx, ecx
cdq
mov r8, qword [0x180129550]
idiv dword [r8 + rcx*4]
mov word [rsp + 0x44], ax
movzx eax, byte [0x180129537]
mov rcx, qword [rsp + 0x148]
mov ecx, dword [rcx]
add ecx, 0x1f
movsxd rcx, ecx
xor edx, edx
mov r8, qword [0x180129580]
div qword [r8 + rcx*8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x120], 0x1d3c
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax + 4]
movzx ecx, byte [rsp + 0x168]
cmp eax, ecx
je 0x18000645f
mov eax, 4
imul rax, rax, 0xcb3
movzx ecx, byte [rsp + 0x38]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x140]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x50]
mov eax, dword [rdx + rax]
imul eax, ecx
movzx ecx, byte [rsp + 0x38]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x140]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x148]
mov eax, dword [rax]
cdqe
movzx ecx, word [0x180129534]
xor edx, edx
mov r8, qword [0x180129570]
mov rax, qword [r8 + rax*8]
div rcx
mov rax, rdx
movsxd rcx, dword [0x180129594]
or rax, rcx
mov dword [0x180129594], eax
mov eax, dword [rsp + 0x40]
jmp 0x18000691c
movzx eax, byte [rsp + 0x30]
add eax, 3
cdqe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x34], eax
jmp 0x180006485
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x5c], eax
movzx eax, byte [rsp + 0x30]
add eax, 0x12
cdqe
mov rcx, qword [rsp + 0x70]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x58], eax
movzx eax, byte [rsp + 0x30]
dec al
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x5c], eax
je 0x180006872
movsxd rax, dword [rsp + 0x34]
imul rcx, qword [0x1801295b0], 3
mov rdx, qword [rsp + 0x90]
or rax, qword [rdx + rcx*8]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x34]
add eax, 4
cdqe
mov rcx, qword [rsp + 0x50]
mov edx, dword [rsp + 0x3c]
mov eax, dword [rcx + rax*4]
or eax, edx
cdqe
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.180007830
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx]
add ecx, 6
movsxd rcx, ecx
mov rdx, qword [rsp + 0x140]
mov byte [rdx + rcx], al
mov eax, dword [0x180129530]
add eax, 8
cdqe
mov rcx, qword [rsp + 0x150]
mov eax, dword [rcx + rax*4]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
cdqe
mov ecx, dword [rsp + 0x34]
movsxd rcx, ecx
mov rdx, qword [0x180129550]
mov eax, dword [rdx + rax*4]
mov rdx, qword [rsp + 0xa8]
add eax, dword [rdx + rcx*4]
cdqe
mov qword [rsp + 0xd0], rax
mov eax, 4
imul rax, rax, 0xc7f
mov rcx, qword [rsp + 0x88]
movsxd rax, dword [rcx + rax]
mov rcx, qword [rsp + 0x170]
shl rcx, 2
mov rdx, qword [rsp + 0xb0]
imul rax, qword [rdx + rcx*8]
mov qword [rsp + 0xc8], rax
imul eax, dword [rsp + 0x34], 3
cdqe
mov rcx, qword [rsp + 0x150]
mov eax, dword [rcx + rax*4]
cdq
idiv dword [rsp + 0x34]
cdqe
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.18001fcd0
mov word [0x180129598], ax
movzx eax, byte [rsp + 0x30]
inc al
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov ecx, dword [0x180129594]
or ecx, eax
mov eax, ecx
cdqe
or rax, qword [0x180129538]
mov qword [0x180129538], rax
mov rax, qword [0x1801295b0]
mov qword [rsp + 0xe0], rax
mov eax, 0x28a
cdq
mov rcx, qword [rsp + 0x78]
mov r8, qword [rsp + 0xe0]
idiv dword [rcx + r8*4]
mov eax, edx
movzx ecx, byte [rsp + 0x30]
shl ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x140]
mov byte [rdx + rcx], al
mov eax, 4
imul rax, rax, 0xafd
mov qword [rsp + 0xe8], rax
mov eax, dword [0x1801295b8]
cdq
mov rcx, qword [rsp + 0x150]
mov r8, qword [rsp + 0xe8]
idiv dword [rcx + r8]
mov eax, edx
mov word [0x180129548], ax
movzx eax, byte [rsp + 0x168]
mov rcx, qword [0x1801295b0]
mov rdx, qword [0x1801295c8]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx + 3]
sub eax, ecx
cdqe
mov qword [rsp + 0x110], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x34]
cdqe
mov rcx, qword [rsp + 0x148]
mov eax, dword [rcx + rax*4]
cdq
idiv dword [rsp + 0x34]
cdqe
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x100], 0x101e
mov eax, dword [rsp + 0x3c]
cdq
idiv dword [rsp + 0x158]
mov eax, edx
cdqe
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x30]
dec al
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x100]
mov r8, qword [rsp + 0x108]
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x110]
call fcn.180022a00
mov ecx, dword [0x1801295c4]
add ecx, 9
movsxd rcx, ecx
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*4], eax
movzx eax, word [rsp + 0x44]
mov dword [rsp + 0x48], eax
jmp 0x1800067fc
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
cmp rax, qword [0x1801295b0]
jb 0x18000686d
movzx eax, byte [rsp + 0x168]
add eax, dword [0x180129590]
xor eax, dword [rsp + 0x40]
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [0x180129538]
or rcx, rax
mov rax, rcx
movzx ecx, word [rsp + 0x44]
sub rax, rcx
mov rcx, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x78]
movsxd rcx, dword [rdx + rcx*4]
and rax, rcx
movsxd rcx, dword [rsp + 0x3c]
xor rax, rcx
mov dword [rsp + 0x3c], eax
mov rax, qword [0x180129538]
inc rax
mov qword [0x180129538], rax
jmp 0x1800067f2
jmp 0x18000647b
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov byte [rax + 1], 1
mov rax, qword [rsp + 0x170]
dec rax
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
add eax, 0x14
cdqe
mov rcx, qword [rsp + 0x70]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x158]
cdq
mov ecx, dword [rsp + 0x68]
idiv ecx
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx]
add ecx, 0x14
movsxd rcx, ecx
mov rdx, qword [rsp + 0x70]
mov word [rdx + rcx*2], ax
movzx eax, byte [rsp + 0x30]
inc eax
cdqe
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
add eax, 0x1a2c
movzx ecx, byte [rsp + 0x168]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xc02
mov rdx, qword [0x180129558]
sub eax, dword [rdx + rcx]
mov dword [0x18012959c], eax
mov eax, dword [rsp + 0x40]
add rsp, 0x138
ret