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

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x120]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 8]
cmp qword [rax], rcx
jne 0x18013c7e9
mov dword [rsp + 0x30], 1
jmp 0x18013c7f1
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x18013c846
mov rax, qword [rsp + 0x120]
add rax, 8
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x28]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
sub rcx, rdx
mov rax, rcx
cqo
mov ecx, Ordinal_26
idiv rcx
mov rcx, qword [rsp + 0xb8]
cmp rcx, rax
jb 0x18013c84b
jmp 0x18013cd3b
mov rax, qword [rsp + 0x120]
add rax, 0x30
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call fcn.180138830
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x128]
dec eax
mov dword [rsp + 0x128], eax
cmp dword [rsp + 0x4c], 0
jle 0x18013cb59
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x120]
add rax, 8
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0xc8]
add rax, qword [rcx]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
sub rcx, rdx
mov rax, rcx
cqo
mov ecx, ntohs
idiv rcx
mov rcx, qword [rsp + 0xd0]
cmp rcx, rax
jb 0x18013ca89
mov rax, qword [rsp + 0x120]
add rax, 8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x120]
movsxd rax, dword [rax + 0x30]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
sub rcx, rdx
mov rax, rcx
cqo
mov ecx, Ordinal_26
idiv rcx
dec rax
mov rcx, qword [rsp + 0xd8]
cmp rcx, rax
jae 0x18013ca7f
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x120]
add rax, 8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
cqo
mov ecx, Ordinal_26
idiv rcx
dec eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jge 0x18013c9e5
lea rax, [rsp + 0x34]
mov qword [rsp + 0x80], rax
jmp 0x18013c9f2
lea rax, [rsp + 0x38]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
cmp dword [rsp + 0x3c], eax
jge 0x18013ca3c
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
jmp 0x18013ca49
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xe8]
mov ecx, dword [rcx]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x34], 0
jmp 0x18013ca84
jmp 0x18013cd3b
jmp 0x18013cb54
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xf0], rax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0xf0]
add rax, qword [rcx]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
movzx ecx, byte [rax]
call fcn.1801418b0
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x120]
call fcn.1801386c0
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x30], rax
movzx eax, byte [rsp + 0x138]
test eax, eax
je 0x18013cb54
mov rax, qword [rsp + 0x120]
add rax, 0x30
mov r8, rax
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x120]
call fcn.180137c50
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x30], rax
jmp 0x18013c86b
movzx eax, byte [rsp + 0x130]
test eax, eax
je 0x18013cc96
mov rax, qword [rsp + 0x120]
add rax, 0x318
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax]
cmp dword [rsp + 0x28], eax
jne 0x18013cbaa
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x2c], eax
jne 0x18013cbaa
mov dword [rsp + 0x40], 1
jmp 0x18013cbb2
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x18013cbf6
mov rax, qword [rsp + 0x120]
add rax, 0x30
mov r8, rax
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x120]
call fcn.180140400
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x318], rax
jmp 0x18013cc94
mov rax, qword [rsp + 0x120]
add rax, 0x310
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax]
cmp dword [rsp + 0x28], eax
jne 0x18013cc37
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x2c], eax
jne 0x18013cc37
mov dword [rsp + 0x44], 1
jmp 0x18013cc3f
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x18013cc65
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x310], rax
jmp 0x18013cc94
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x310], rcx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x318], rax
jmp 0x18013cccf
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x318], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x318]
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x310], rax
movzx eax, byte [rsp + 0x130]
test eax, eax
je 0x18013ccf1
movzx eax, byte [rsp + 0x138]
test eax, eax
je 0x18013ccf1
mov dword [rsp + 0x48], 1
jmp 0x18013ccf9
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x120]
add rax, 0x318
mov rcx, qword [rsp + 0x120]
add rcx, 0x310
mov r9d, dword [rsp + 0x48]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x120]
call fcn.180140ed0
mov rcx, qword [rsp + 0x120]
call fcn.1801361d0
add rsp, 0x118
ret