Function at 0x18004d370
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, 0xc8
mov byte [rsp + 0xc], 0x2d
mov byte [rsp + 0xd], 8
mov byte [rsp], 0x82
mov eax, 0x383
mov word [rsp + 0x1c], ax
mov dword [rsp + 0x78], 0xbecff1f
movzx eax, word [0x180146858]
movzx eax, ax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x60], 0x828ebece
movzx eax, word [0x180146818]
mov word [rsp + 0x50], ax
movzx eax, byte [0x180146723]
movzx eax, al
mov word [rsp + 4], ax
mov byte [rsp + 0xe], 0x89
movabs rax, 0x8ffe0a7bdd9db
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x90], 0xac
mov eax, 0xffffecb6
mov word [rsp + 0x3c], ax
movsx eax, byte [0x1801466df]
mov dword [rsp + 0x24], eax
mov eax, 0x2b
mov word [rsp + 0x20], ax
mov rax, qword [0x180146800]
mov byte [rsp + 0xf], al
mov byte [rsp + 0x10], 0x92
mov eax, 0x9442
mov word [rsp + 0x40], ax
movsx rax, byte [0x180146767]
mov qword [rsp + 0x98], rax
movzx eax, byte [0x180146808]
mov byte [rsp + 0x11], al
mov eax, 0x72b
mov word [rsp + 0x18], ax
mov rax, qword [0x1801467e8]
mov qword [rsp + 0x58], rax
movzx eax, byte [0x180146766]
mov word [rsp + 8], ax
movzx eax, word [0x180146834]
movsx rax, ax
mov qword [rsp + 0xa0], rax
movzx eax, byte [0x180146721]
movsx eax, al
mov dword [rsp + 0x64], eax
mov eax, dword [0x1801467f4]
mov word [rsp + 0x44], ax
mov qword [rsp + 0xa8], 0x9853
movzx eax, byte [0x180146767]
mov byte [rsp + 1], al
mov byte [rsp + 0x12], 0x39
mov dword [rsp + 0x68], 0xd38e
mov byte [rsp + 0x13], 0xe8
mov byte [rsp + 0x14], 0x16
mov rax, qword [0x180146828]
mov dword [rsp + 0x6c], eax
movabs rax, 0xd290de496bf3
mov qword [rsp + 0xb0], rax
movzx eax, word [0x180146764]
cwde
mov dword [rsp + 0x70], eax
mov eax, dword [0x18014684c]
mov dword [rsp + 0x74], eax
mov eax, 0xffffb2c4
mov word [rsp + 0x48], ax
mov byte [rsp + 0x15], 0x8c
mov eax, dword [0x1801466f4]
mov word [rsp + 0x4c], ax
movzx eax, word [0x18014685c]
cwde
test eax, eax
jne 0x18004d536
mov dword [rsp + 0x2c], 1
jmp 0x18004d53e
mov dword [rsp + 0x2c], 0
movzx eax, word [rsp + 0x18]
cwde
mov ecx, dword [0x1801466f4]
add eax, dword [rsp + 0x2c]
add eax, ecx
mov dword [0x1801466f4], eax
movzx eax, word [0x180146818]
cwde
movzx ecx, byte [0x180146775]
movsx ecx, cl
sub eax, ecx
mov word [0x180146818], ax
mov eax, dword [0x18014684c]
mov eax, eax
cmp rax, qword [0x1801467d8]
jne 0x18004d5c2
movsx eax, byte [0x180146767]
sub eax, 0xfd
cdqe
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
movsx eax, byte [0x1801466f3]
sub eax, 0xa5d24af6
mov eax, eax
mov rcx, qword [0x180146808]
add rcx, rax
mov rax, rcx
mov qword [0x180146808], rax
movsx eax, word [rsp + 0x1c]
mov ecx, 4
imul rcx, rcx, 0x292b
lea rdx, [0x180b91630]
mov dword [rdx + rcx], eax
movzx eax, word [rsp + 4]
movzx eax, ax
add eax, dword [rsp + 0x24]
mov word [rsp + 4], ax
cmp qword [0x180146820], 0
je 0x18004d6db
cmp qword [rsp + 0x58], 0
je 0x18004d61b
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x18004d61b
mov dword [rsp + 0x34], 1
jmp 0x18004d623
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp]
movabs rcx, 0xf4b9ef7fd8a2b
cmp rax, rcx
jg 0x18004d640
mov dword [rsp + 0x30], 1
jmp 0x18004d648
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
jle 0x18004d6ae
movsx eax, byte [0x180146767]
movsx ecx, word [rsp + 8]
cmp eax, ecx
jne 0x18004d66c
mov dword [rsp + 0x38], 1
jmp 0x18004d674
mov dword [rsp + 0x38], 0
movsx eax, byte [0x180146767]
cmp eax, 0x24
jne 0x18004d68a
mov dword [rsp + 0x28], 1
jmp 0x18004d692
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x38], eax
jle 0x18004d6ac
mov eax, dword [0x1801467cc]
add eax, 0x7ba8
mov word [rsp + 8], ax
jmp 0x18004d6d9
movzx eax, word [0x180146858]
movzx eax, ax
test eax, eax
je 0x18004d6d9
mov eax, dword [rsp + 0x24]
add eax, 0x43671fe6
mov word [rsp + 0x20], ax
mov eax, dword [0x1801467f4]
sub eax, 0x6d
mov byte [0x180146775], al
jmp 0x18004d6e7
movzx eax, word [rsp + 0x24]
mov word [0x18014685c], ax
movzx eax, byte [rsp + 1]
movzx eax, al
add rsp, 0xc8
ret