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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov eax, 0xffffd81a
mov word [rsp + 0x54], ax
mov rax, qword [0x1800c3668]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xc0], 0xffc
movzx eax, byte [0x1800c35a3]
movsx rax, al
mov qword [rsp + 0x78], rax
mov eax, 0xe15
mov word [rsp + 0x28], ax
mov byte [rsp + 0x21], 0xe8
mov eax, 0xf399c547
mov qword [rsp + 0xe0], rax
movzx eax, byte [0x1800c35d3]
mov word [rsp + 0x30], ax
mov eax, 0x72
mov word [rsp + 0x38], ax
mov byte [rsp + 0x20], 0xea
mov eax, dword [0x1800c35d4]
mov dword [rsp + 0x9c], eax
mov eax, 0x99a5
mov word [rsp + 0x2c], ax
movabs rax, 0xb938f71d0e8ce
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xa0], 0x7698
movzx eax, word [0x1800c36d0]
mov word [rsp + 0x44], ax
mov eax, 0xf3
mov word [rsp + 0x34], ax
mov rax, qword [0x1800c3660]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x70], 0xaa
mov eax, 0x74
mov word [rsp + 0x24], ax
movzx eax, byte [0x1800c3670]
mov byte [rsp + 0x40], al
mov eax, dword [0x1800c3680]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x50], 0x1e2b
mov dword [rsp + 0xa4], 0xcd2031c5
mov dword [rsp + 0xa8], 0x37
mov rax, qword [0x1800c3690]
mov dword [rsp + 0xac], eax
mov rax, qword [0x1800c36e0]
mov word [rsp + 0x58], ax
movabs rax, 0xf6a7a8f9f6473
mov qword [rsp + 0xe8], rax
mov eax, 0x6ad
mov word [rsp + 0x5c], ax
mov eax, 0xde
mov word [rsp + 0x60], ax
mov eax, dword [0x1800c35d4]
mov dword [rsp + 0xb0], eax
movzx eax, word [0x1800c3624]
movzx eax, ax
imul rax, qword [0x1800c3670]
mov word [0x1800c3624], ax
movzx eax, word [rsp + 0x38]
movzx eax, ax
sub eax, 0xd4c87886
mov eax, eax
mov qword [0x1800c3688], rax
movzx eax, word [rsp + 0x44]
cwde
test eax, eax
je 0x18003a164
mov qword [0x1800c3690], 2
movzx eax, byte [0x1800c35d3]
movzx ecx, word [rsp + 0x28]
lea eax, [rcx + rax + 0xc]
mov word [rsp + 0x28], ax
mov rax, qword [0x1800c3690]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x18003a0df
cmp qword [rsp + 0x68], 1
je 0x18003a115
cmp qword [rsp + 0x68], 2
je 0x18003a13c
jmp 0x18003a164
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18003a0f7
movsx rax, word [rsp + 0x34]
mov qword [rsp + 0x80], rax
jmp 0x18003a104
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [0x1800c3680], rax
jmp 0x18003a164
mov byte [0x1800c35d3], 0x16
mov eax, 4
imul rax, rax, 0x499c
lea rcx, [0x180823b70]
movsxd rax, dword [rcx + rax]
mov qword [0x1800c36a0], rax
jmp 0x18003a164
mov eax, dword [0x1800c36d4]
mov eax, eax
mov rcx, qword [rsp + 0x70]
imul rax, rcx
mov word [rsp + 0x30], ax
mov eax, dword [rsp + 0x48]
add eax, 0x23d5
mov eax, eax
mov qword [0x1800c3698], rax
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x100]
call fcn.180035d50
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x100]
call fcn.180036090
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x70]
add rax, 0x9218
mov byte [rsp + 0x20], al
mov dword [rsp + 0x3c], 0
jmp 0x18003a1b9
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x3c], eax
jae 0x18003a2ec
movsx eax, word [rsp + 0x24]
test eax, eax
jne 0x18003a1e1
mov dword [rsp + 0x4c], 1
jmp 0x18003a1e9
mov dword [rsp + 0x4c], 0
movzx eax, word [rsp + 0x2c]
movzx eax, ax
test eax, eax
jne 0x18003a203
mov qword [rsp + 0x88], 1
jmp 0x18003a20f
mov qword [rsp + 0x88], 0
mov eax, dword [rsp + 0x48]
add eax, 0xffffff2c
mov eax, eax
mov rcx, qword [0x1800c36b0]
imul rax, rcx
movzx ecx, word [rsp + 0x2c]
movzx ecx, cx
mov edx, dword [rsp + 0x4c]
sub edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, qword [0x1800c3690]
mov r8, qword [rsp + 0x88]
add r8, rdx
mov rdx, r8
sub rcx, rdx
sub rax, rcx
mov dword [0x1800c35bc], eax
mov rax, qword [rsp + 0x70]
movsx rcx, word [rsp + 0x24]
lea rax, [rcx + rax + 0x3af]
mov word [rsp + 0x24], ax
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax]
cmp rax, qword [rsp + 0x108]
jne 0x18003a2e7
movzx eax, word [rsp + 0x30]
cwde
mov ecx, 0x1f
sub ecx, eax
mov eax, ecx
cdqe
movsx ecx, word [rsp + 0x34]
not ecx
movsxd rcx, ecx
add rcx, qword [0x1800c3680]
sub rax, rcx
mov qword [rsp + 0xc0], rax
movzx eax, byte [0x1800c35d3]
sub eax, 0xae8e
mov word [rsp + 0x38], ax
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
jmp 0x18003a399
jmp 0x18003a1af
movzx eax, byte [rsp + 0x21]
movzx eax, al
cmp qword [rsp + 0xc8], rax
jbe 0x18003a36f
movzx eax, word [rsp + 0x28]
mov rcx, qword [0x1800c3690]
add rcx, rax
mov rax, rcx
test rax, rax
jne 0x18003a320
movsx eax, byte [0x1800c35a7]
test eax, eax
je 0x18003a338
mov eax, dword [rsp + 0x50]
cdqe
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x18003a36d
mov rax, qword [0x1800c36a0]
test rax, rax
je 0x18003a36d
mov eax, dword [0x1800c35bc]
add eax, 0x882a
mov ecx, dword [0x1800c36c4]
and ecx, eax
mov eax, ecx
mov dword [0x1800c36c4], eax
mov eax, dword [0x1806dc008]
mov qword [rsp + 0xd0], rax
jmp 0x18003a397
mov eax, 1
imul rax, rax, 0x2e
lea rcx, [0x180823930]
movzx eax, byte [rcx + rax]
mov rcx, qword [0x1800c36b8]
sub rcx, rax
mov rax, rcx
mov qword [0x1800c36b8], rax
xor eax, eax
add rsp, 0xf8
ret