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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov eax, 0x546a
mov word [rsp + 0x5c], ax
mov eax, 0xa7d8017e
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0x3c], 0xb5
movabs rax, 0x9a294d539a67d
mov qword [rsp + 0xb8], rax
mov eax, dword [0x180146b18]
mov dword [rsp + 0x34], eax
mov eax, dword [0x180146b64]
mov eax, eax
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x74], 0x5f
mov eax, 0xffff92ef
mov word [rsp + 0x48], ax
movzx eax, byte [0x180146a4f]
movzx eax, al
mov qword [rsp + 0xc8], rax
movzx eax, byte [0x180146b58]
mov byte [rsp + 0x23], al
mov byte [rsp + 0x3d], 0xf6
mov byte [rsp + 0x3e], 0xaf
mov eax, 0x3d95
mov word [rsp + 0x4c], ax
movzx eax, byte [0x180146a4b]
movsx eax, al
mov dword [rsp + 0x78], eax
mov eax, 0x30c2
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], 0x2a
movzx eax, byte [0x180146b30]
mov byte [rsp + 0x22], al
mov eax, 0x4f16
mov word [rsp + 0x2c], ax
mov dword [rsp + 0x90], 0x48d8eaaa
mov byte [rsp + 0x24], 0xdd
mov eax, 0x4c
mov word [rsp + 0x50], ax
mov byte [rsp + 0x21], 0xfd
mov qword [rsp + 0x88], 0xad04
mov eax, dword [0x180146b7c]
mov byte [rsp + 0x3f], al
mov dword [rsp + 0x94], 0x47b62f9a
mov byte [rsp + 0x40], 0x98
mov eax, 0x89
mov word [rsp + 0x64], ax
mov rax, qword [0x180146b10]
mov dword [rsp + 0x98], eax
movzx eax, byte [0x180146a6e]
mov byte [rsp + 0x41], al
movzx eax, byte [str.aHserver_error]
mov byte [rsp + 0x42], al
mov eax, 0xa9b6
mov word [rsp + 0x60], ax
movzx eax, byte [0x180146b2c]
mov byte [rsp + 0x43], al
mov byte [rsp + 0x44], 0xa1
mov dword [rsp + 0x9c], 0xa0
mov qword [rsp + 0xd0], 0x316a79ee
mov eax, 0xfffffeca
mov word [rsp + 0x68], ax
mov rax, qword [0x180146b08]
mov dword [rsp + 0xa0], eax
movzx eax, word [0x180146b38]
mov word [rsp + 0x6c], ax
mov rax, qword [0x180146b88]
mov qword [rsp + 0xd8], rax
movzx eax, word [0x180146b90]
movzx eax, ax
mov rcx, qword [0x180146b20]
lea rax, [rax + rcx + 0x1949b4e5]
mov word [0x180146b90], ax
imul eax, dword [rsp + 0x34], 0xd261
mov byte [rsp + 0x23], al
movsx eax, byte [0x180146a5f]
movzx ecx, byte [rsp + 0x21]
movzx ecx, cl
lea eax, [rcx + rax + 0xf1ef]
mov byte [rsp + 0x21], al
mov eax, 0xaf
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x28]
movzx eax, ax
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0xa4]
mov rcx, qword [rsp + 0xf0]
call fcn.18004a120
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0xf0]
call fcn.18004a7f0
mov qword [rsp + 0xa8], rax
movzx eax, byte [0x180146a33]
sub eax, 0x2929df67
mov byte [rsp + 0x20], al
mov dword [rsp + 0x30], 0
jmp 0x180071aaf
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x30], eax
jae 0x180071bd8
mov eax, 0x54
mov word [rsp + 0x4c], ax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax]
cmp rax, qword [rsp + 0xf8]
jne 0x180071bd3
mov dword [0x180146aac], 0
movzx eax, byte [rsp + 0x24]
movzx eax, al
add eax, 0xa7
cdqe
mov qword [0x180146b00], rax
movzx eax, word [rsp + 0x28]
movzx eax, ax
movzx ecx, word [rsp + 0x28]
movzx ecx, cx
mov rdx, qword [rsp + 0x88]
add rdx, rcx
mov rcx, rdx
sub rax, rcx
mov word [rsp + 0x50], ax
mov eax, dword [0x180146aac]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x180071b48
jmp 0x180071ba8
movsx eax, byte [str.aHserver_error]
not eax
cdqe
mov rcx, qword [rsp + 0xb0]
add rax, rcx
movsx rcx, byte [0x180146a5f]
mov rdx, qword [0x180146b58]
sub rdx, rcx
mov rcx, rdx
imul rax, rcx
movzx ecx, word [0x180146b94]
imul rcx, qword [rsp + 0xb8]
mov edx, dword [0x180146b38]
not edx
mov edx, edx
imul rcx, rdx
add rax, rcx
mov dword [0x180146b7c], eax
mov eax, dword [0x180d99a98]
mov dword [rsp + 0x74], eax
movzx eax, word [rsp + 0x2c]
cwde
sub eax, 0xc199e587
mov word [rsp + 0x28], ax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
jmp 0x180071d20
jmp 0x180071aa5
movzx eax, byte [rsp + 0x20]
movsx eax, al
movsx ecx, word [0x180146b74]
cmp eax, ecx
jne 0x180071cf2
mov byte [0x180146a8a], 3
movsx eax, word [0x180146b2c]
add eax, 0x2d3
mov byte [str.rx_ia5_norwegian], al
movzx eax, byte [0x180146a8a]
mov byte [rsp + 0x38], al
cmp byte [rsp + 0x38], 0
je 0x180071c38
cmp byte [rsp + 0x38], 1
je 0x180071c5f
cmp byte [rsp + 0x38], 2
je 0x180071c7f
cmp byte [rsp + 0x38], 3
je 0x180071cb8
jmp 0x180071cf0
movsx rax, byte [rsp + 0x22]
movabs rcx, 0xa8efe7a33765b
sub rax, rcx
movsxd rcx, dword [rsp + 0x34]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x34], eax
jmp 0x180071cf0
movzx eax, word [rsp + 0x2c]
cwde
movsx ecx, byte [rsp + 0x22]
sub eax, ecx
movzx ecx, word [rsp + 0x2c]
movsx ecx, cx
or ecx, eax
mov eax, ecx
mov word [rsp + 0x2c], ax
jmp 0x180071cf0
movzx eax, byte [0x180146a6d]
movzx eax, al
mov ecx, dword [0x180146b98]
sub eax, ecx
movzx ecx, byte [0x180146a6d]
movzx ecx, cl
sub ecx, eax
mov eax, ecx
mov byte [0x180146a6d], al
mov eax, dword [0x180146b7c]
and eax, 0xae
mov byte [0x180146a6d], al
jmp 0x180071cf0
movzx eax, byte [rsp + 0x20]
movsx eax, al
test eax, eax
je 0x180071cd2
movzx eax, byte [rsp + 0x21]
movzx eax, al
mov dword [rsp + 0x54], eax
jmp 0x180071cdb
movsx eax, byte [rsp + 0x22]
mov dword [rsp + 0x54], eax
movzx eax, byte [rsp + 0x54]
mov byte [0x180146a33], al
mov eax, dword [0x180d99a98]
mov dword [rsp + 0x78], eax
jmp 0x180071d1e
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x180071d0a
movzx eax, byte [rsp + 0x23]
mov dword [rsp + 0x58], eax
jmp 0x180071d15
movsx eax, byte [0x180146a5f]
mov dword [rsp + 0x58], eax
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x24], al
xor eax, eax
add rsp, 0xe8
ret