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

Disassembly:
push rbx
push r13
push r14
push r15
sub rsp, 0x48
mov r14, qword [rcx]
mov r15, rcx
mov rcx, qword [rcx + 8]
mov r10, qword [r14]
mov rbx, qword [r14 + 0x10]
mov r9d, 0xa
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x78], rcx
lea rdx, [r14 + 0x9c]
mov qword [rsp + 0x70], r10
xor r11d, r11d
nop
mov r8d, dword [rdx]
test r8d, r8d
je 0x1800996ca
cmp byte [rdx - 6], r11b
je 0x1800996c7
movzx eax, byte [r14 + 0x1f]
cmp al, 8
jae 0x1800996c3
movzx eax, al
mov dword [r14 + rax*4 + 0x28], r8d
inc byte [r14 + 0x1f]
mov byte [rdx - 6], r11b
mov dword [rdx], r11d
add rdx, 0x14
dec r9
jne 0x1800996a0
movzx eax, byte [r15 + 0x3b]
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x40], rsi
dec eax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
movsxd r13, eax
js 0x180099cd5
mov rax, r13
imul rax, rax, 0x78
lea r14, [rax + rcx + 0x50]
mov rax, r13
imul rax, rax, 0x58
lea rbp, [rax + r15 + 0x358]
nop word [rax + rax]
mov rdx, qword [rbx + 0x30]
mov r12, qword [rbp + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x180099748
movsxd rax, dword [rbp]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
movzx eax, byte [rbp + 0x15]
cmp al, 0xa0
je 0x1800997d3
movsxd rcx, dword [rbx + 0x3c]
movzx r10d, byte [rbp + 0x16]
mov r9d, dword [rbp + 0x1c]
mov r8d, dword [rbp + 0x18]
movzx edx, al
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x180099787
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.180035690
xor r11d, r11d
jmp 0x1800997b6
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r11
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x1800997d3
movsxd rax, dword [rbx + 0x3c]
mov rcx, qword [rbx + 8]
lea rdx, [rax + rax*2]
movzx eax, byte [rbp + 0x17]
mov byte [rcx + rdx*8 - 0x15], al
test dword [r12 + 0x28], 0x800
je 0x180099927
cmp dword [rbp + 0x20], 0
jle 0x180099927
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x180099810
movsxd rax, dword [rbp - 8]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
mov esi, dword [rbp + 0x20]
lea eax, [rsi - 1]
movsxd rcx, eax
mov rax, qword [rbp + 0x28]
lea rdx, [rcx + rcx*2]
lea rdi, [rax + rdx*4]
test esi, esi
jle 0x180099927
nop word [rax + rax]
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rdi + 4]
mov rax, qword [rbx + 0x30]
dec ecx
inc edx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
jns 0x18009985b
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18009986d
lea rax, [0x1802423a0]
jmp 0x18009987c
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov r9d, dword [rdi + 4]
mov r8d, dword [rdi]
movzx edx, byte [rdi + 8]
cmp dword [rax + 0x64], ecx
jg 0x1800998aa
mov rcx, rbx
mov dword [rsp + 0x20], r11d
call fcn.180035690
xor r11d, r11d
jmp 0x1800998d9
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov byte [rax + rcx*8 + 1], 0
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rdi + 4]
mov rax, qword [rbx + 0x30]
dec ecx
dec edx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
jns 0x1800998f4
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x180099906
lea rax, [0x1802423a0]
jmp 0x180099915
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
dec esi
sub rdi, 0xc
mov dword [rax + 8], r8d
test esi, esi
jg 0x180099840
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18009994b
movsxd rax, dword [rbp - 0xc]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
mov edx, dword [rbp - 4]
test edx, edx
je 0x180099a34
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180099987
xor r8d, r8d
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], r11d
call fcn.180035690
xor r11d, r11d
jmp 0x1800999b3
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r11d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov word [rax + rcx*8], ntohs
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rbp - 4]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
test edx, edx
jns 0x1800999ce
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x1800999e0
lea rax, [0x1802423a0]
jmp 0x1800999ef
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rbp - 4]
mov rax, qword [rbx + 0x30]
dec ecx
sub edx, 2
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
jns 0x180099a0f
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x180099a21
lea rax, [0x1802423a0]
jmp 0x180099a30
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov edx, dword [rbp + 0x10]
test edx, edx
je 0x180099ad0
lea ecx, [rdx - 1]
test ecx, ecx
jns 0x180099a4b
mov ecx, dword [rbx + 0x3c]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x180099a5d
lea rax, [0x1802423a0]
jmp 0x180099a6c
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov eax, dword [rax + 4]
movsxd rcx, dword [rbx + 0x3c]
mov r8d, dword [rbp + 0xc]
neg eax
mov rax, qword [rbx + 0x30]
sbb r10d, r10d
add r10d, 0x8e
cmp dword [rax + 0x64], ecx
jg 0x180099aa1
mov r9d, edx
mov rcx, rbx
mov edx, r10d
mov dword [rsp + 0x20], r11d
call fcn.180035690
jmp 0x180099ad0
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8], r10b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov byte [rax + rcx*8 + 1], 0
mov edx, dword [rbp - 0x18]
test edx, edx
je 0x180099cb1
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
xor esi, esi
cmp dword [rax + 0x64], edi
jg 0x180099b05
mov r8d, edx
xor r9d, r9d
mov rcx, rbx
mov edx, 0x8a
mov dword [rsp + 0x20], esi
call fcn.180035690
mov edi, eax
jmp 0x180099b2c
lea rcx, [rdi + rdi*2]
lea eax, [rdi + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], rsi
mov qword [rax + rcx*8 + 0x10], rsi
mov word [rax + rcx*8], 0x8a
test byte [r12 + 0x28], 0x40
jne 0x180099b87
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [r14]
cmp dword [rax + 0x64], ecx
jg 0x180099b5c
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x68]
mov dword [rsp + 0x20], esi
call fcn.180035690
jmp 0x180099b87
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
mov word [rax + rcx*8], 0x68
test dword [r12 + 0x28], 0x200
je 0x180099be5
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [rbp - 0x10]
cmp dword [rax + 0x64], ecx
jg 0x180099bba
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x68]
mov dword [rsp + 0x20], esi
call fcn.180035690
jmp 0x180099be5
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
mov word [rax + rcx*8], 0x68
cmp byte [rbp + 0x15], 0xf
mov edx, dword [rbp + 4]
movsxd rcx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
jne 0x180099c30
mov r8d, dword [rbp + 0x18]
cmp dword [rax + 0x64], ecx
jg 0x180099c15
mov r9d, edx
mov rcx, rbx
mov edx, ntohs
mov dword [rsp + 0x20], esi
call fcn.180035690
jmp 0x180099c77
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 4], r8d
mov word [rax + rcx*8], ntohs
jmp 0x180099c65
cmp dword [rax + 0x64], ecx
jg 0x180099c4d
xor r8d, r8d
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], esi
call fcn.180035690
jmp 0x180099c77
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 4], esi
mov word [rax + rcx*8], ntohs
mov qword [rax + rcx*8 + 0x10], rsi
mov dword [rax + rcx*8 + 0xc], esi
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 3], 0
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [rbx + 0x3c]
test edi, edi
jns 0x180099c8d
lea edi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x180099c9f
lea rax, [0x1802423a0]
jmp 0x180099cae
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
sub rbp, 0x58
sub r14, 0x78
dec r13
mov r11d, 0
jns 0x180099720
mov r14, qword [rsp + 0x80]
mov r10, qword [rsp + 0x70]
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x180099cf9
movsxd rax, dword [r15 + 0x44]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
mov r13d, r11d
dec eax
mov dword [rdx + 0x6c], eax
cmp byte [r15 + 0x3b], 0
jbe 0x18009a007
mov r14, qword [rsp + 0x78]
lea rbp, [r15 + 0x388]
nop dword [rax + rax]
movzx eax, byte [rbp - 0x1c]
mov rsi, qword [rbp]
imul rax, rax, 0x78
test byte [rax + r14 + 0x48], 0x10
mov r12, qword [rax + r14 + 0x28]
je 0x180099dd9
cmp byte [r10 + 0x55], 0
jne 0x180099dd9
mov r8d, dword [rbp - 0x28]
mov r10d, dword [rax + r14 + 0x40]
mov r9d, dword [rbp - 0x44]
mov ecx, r8d
test r8d, r8d
jns 0x180099d62
mov ecx, dword [rbx + 0x3c]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x180099d74
lea rdx, [0x1802423a0]
jmp 0x180099d83
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
mov eax, dword [rbx + 0x3c]
cmp r8d, eax
jge 0x180099dcf
add rdx, 4
sub eax, r8d
mov r8d, eax
cmp dword [rdx], r9d
jne 0x180099dc6
movzx eax, byte [rdx - 4]
cmp al, 0x2f
jne 0x180099db7
mov eax, dword [rdx + 4]
mov byte [rdx - 4], 0x1e
lea ecx, [r10 + rax]
mov eax, dword [rdx + 8]
mov dword [rdx + 4], eax
mov dword [rdx], ecx
jmp 0x180099dc2
cmp al, 0x67
jne 0x180099dc6
mov byte [rdx - 4], 0x19
mov dword [rdx], r11d
mov dword [rdx + 8], r11d
add rdx, 0x18
dec r8
jne 0x180099d95
mov r10, qword [rsp + 0x70]
jmp 0x180099fea
test byte [r12 + 0x46], 2
jne 0x180099ecd
cmp qword [r12 + 0x18], 0
jne 0x180099ecd
test byte [r15 + 0x34], 0x10
jne 0x180099ecd
cmp byte [r15 + 0x38], 0
mov edi, dword [rsi + 0x28]
jne 0x180099e65
test dil, 0x40
jne 0x180099e65
mov edx, dword [rax + r14 + 0x50]
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180099e3a
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x3d]
mov dword [rsp + 0x20], r11d
call fcn.180035690
xor r11d, r11d
jmp 0x180099e65
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r11
mov word [rax + rcx*8], 0x3d
bt edi, 9
jae 0x180099ecd
test edi, 0x4100
jne 0x180099ecd
mov edx, dword [rbp - 0x40]
cmp edx, dword [r15 + 0x50]
je 0x180099ecd
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180099ea2
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x3d]
mov dword [rsp + 0x20], r11d
call fcn.180035690
jmp 0x180099ecd
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r11
mov word [rax + rcx*8], 0x3d
mov eax, dword [rsi + 0x28]
test eax, 0x240
je 0x180099edd
mov r11, qword [rsi + 0x20]
jmp 0x180099eeb
bt eax, 0xd
jae 0x180099fe2
mov r11, qword [rbp - 0x10]
test r11, r11
je 0x180099fe2
cmp byte [r15 + 0x38], 0
je 0x180099f09
mov rax, qword [r11 + 0x18]
test byte [rax + 0x46], 0x20
je 0x180099fe2
mov r10, qword [rsp + 0x70]
cmp byte [r10 + 0x55], 0
jne 0x180099fe7
mov r9d, dword [rbp - 0x28]
mov r8d, dword [rbx + 0x3c]
mov ecx, r9d
test r9d, r9d
jns 0x180099f2d
lea ecx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x180099f3f
lea rdx, [0x1802423a0]
jmp 0x180099f4e
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
cmp r9d, r8d
jge 0x180099fe7
sub r8d, r9d
add rdx, 4
xor esi, esi
mov edi, r8d
or r14d, 0xffffffff
mov eax, dword [rbp - 0x44]
cmp dword [rdx], eax
jne 0x180099fd4
movzx eax, byte [rdx - 4]
cmp al, 0x2f
jne 0x180099fc7
test byte [r12 + 0x46], 0x20
movsxd r10, dword [rdx + 4]
je 0x180099f93
mov rcx, r12
call fcn.1800599d0
mov rax, qword [rax + 8]
movsx r10d, word [rax + r10*2]
movzx r8d, word [r11 + 0x60]
mov ecx, esi
test r8d, r8d
jle 0x180099fb4
mov r9, qword [r11 + 8]
movsxd rax, ecx
cmp r10w, word [r9 + rax*2]
je 0x180099fb8
inc ecx
cmp ecx, r8d
jl 0x180099fa3
movzx ecx, r14w
movsx eax, cx
test eax, eax
js 0x180099fd4
mov dword [rdx + 4], eax
mov eax, dword [rbp - 0x40]
jmp 0x180099fd2
cmp al, 0x67
jne 0x180099fd4
mov eax, dword [rbp - 0x40]
mov byte [rdx - 4], 0x71
mov dword [rdx], eax
add rdx, 0x18
dec rdi
jne 0x180099f67
mov r14, qword [rsp + 0x78]
mov r10, qword [rsp + 0x70]
xor r11d, r11d
movzx eax, byte [r15 + 0x3b]
inc r13d
add rbp, 0x58
cmp r13d, eax
jl 0x180099d20
mov r14, qword [rsp + 0x80]
mov eax, dword [r15 + 0x48]
mov rdx, r15
mov rcx, r10
mov dword [r14 + 0x1dc], eax
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x88]
add rsp, 0x48
pop r15
pop r14
pop r13
pop rbx
jmp fcn.180095290