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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0xe8
mov rax, qword [0x180146330]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x60], 3
mov qword [rsp + 0x90], 0x88a1
movsxd rax, dword [0x18014631c]
mov qword [rsp + 0x98], rax
movzx eax, word [0x1801461b4]
movzx eax, ax
mov dword [rsp + 0x30], eax
mov rax, qword [0x180146348]
mov qword [rsp + 0xa0], rax
mov eax, dword [0x180146308]
mov dword [rsp + 0x64], eax
mov eax, 0xa53b
mov word [rsp + 0x40], ax
mov eax, dword [0x18014631c]
mov dword [rsp + 0x2c], eax
mov byte [rsp + 0x20], 0x78
mov dword [rsp + 0x38], 0x7a85
movzx eax, byte [0x1801462d0]
mov byte [rsp + 0x22], al
mov eax, 0x5cd7
mov word [rsp + 0x44], ax
mov dword [rsp + 0x68], 0x9d8e5f81
movzx eax, word [0x180146340]
mov qword [rsp + 0xa8], rax
movsx rax, word [0x180146350]
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0x23], 0
movzx eax, byte [0x1801461b3]
movzx eax, al
mov qword [rsp + 0xb8], rax
movabs rax, 0x2e02a205450fa
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x5c], 0xca3145a4
mov byte [rsp + 0x24], 0x6a
mov dword [rsp + 0x6c], 0x37a7eb54
mov byte [rsp + 0x21], 0x3c
movzx eax, word [0x180146324]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], 0x2d243900
movzx eax, byte [0x18014619a]
mov byte [rsp + 0x25], al
movzx eax, word [0x180146328]
mov word [rsp + 0x48], ax
movzx eax, word [0x180146310]
mov word [rsp + 0x4c], ax
movsxd rax, dword [0x18014632c]
mov qword [rsp + 0xc8], rax
movzx eax, byte [0x1801461b7]
mov byte [rsp + 0x26], al
mov byte [rsp + 0x27], 0x9d
mov eax, 0xb1
mov word [rsp + 0x50], ax
mov eax, 0xffffd5ea
mov word [rsp + 0x54], ax
movzx eax, word [0x180146324]
mov dword [rsp + 0x78], eax
movzx eax, word [0x180146344]
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x80], 0x39
mov eax, 0xbb
mov word [rsp + 0x58], ax
mov byte [rsp + 0x28], 0x71
movzx eax, word [0x180146318]
movsx rax, ax
mov qword [rsp + 0xd0], rax
mov edx, dword [0x180146320]
mov ecx, 0x5b
call fcn.180030890
mov byte [0x180146199], al
movzx eax, byte [0x180146199]
movzx eax, al
test eax, eax
je 0x18003075f
movzx eax, word [0x1801462e4]
cwde
mov ecx, dword [rsp + 0x30]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, 3
mov word [0x180146340], ax
movzx eax, word [0x1801462e0]
movzx eax, ax
and eax, dword [rsp + 0x5c]
movzx ecx, word [0x1801462e0]
movzx ecx, cx
add ecx, eax
mov eax, ecx
mov word [0x1801462e0], ax
movzx eax, word [0x180146340]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800307b3
cmp dword [rsp + 0x34], 1
je 0x1800307c6
cmp dword [rsp + 0x34], 3
je 0x18003081b
jmp 0x180030835
movsx eax, word [0x180146350]
shl eax, 6
mov word [0x1801461b4], ax
jmp 0x180030835
mov eax, 0xe1c06ef6
mov qword [0x1801462c8], rax
movzx eax, byte [0x1801461f6]
movsx eax, al
not eax
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x38]
imul ecx, eax
mov eax, ecx
test eax, eax
jne 0x1800307fd
mov dword [rsp + 0x3c], 1
jmp 0x180030805
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
imul eax, dword [0x1801462d0]
mov word [0x180146340], ax
jmp 0x180030835
mov qword [0x1801462b8], 0x23
mov eax, dword [0x180146328]
sub eax, 0xb3b67e19
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x2c]
imul eax, dword [rsp + 0x38]
mov dword [rsp + 0x2c], eax
mov rax, qword [0x1801462f8]
sub rax, 0x33d
mov rcx, qword [0x180146330]
add rcx, rax
mov rax, rcx
mov qword [0x180146330], rax
mov rax, qword [0x180146348]
add rax, 0x2d344d0
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x21]
add rsp, 0xe8
ret