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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rsi, qword [rcx]
mov rbp, rcx
xor ecx, ecx
mov qword [rsp + 0x50], rsi
mov r13d, r9d
mov dword [rsp + 0x40], ecx
mov r14, rdx
mov dword [rsp + 0x3c], ecx
mov r12d, ecx
cmp qword [rbp + 0x190], rcx
jne 0x140186d79
cmp qword [r8 + 0x68], rcx
jne 0x140186d79
cmp byte [rdx + 0x3f], 1
je 0x140186d79
cmp r9d, 0xb
jne 0x14018697c
cmp word [rdx + 0x34], cx
jl 0x140186976
movzx r13d, byte [rdx + 0x3e]
cmp r13d, r9d
jne 0x14018697c
mov r13d, 2
mov rcx, qword [r8 + 0x28]
cmp dword [rcx], 1
jne 0x140186d79
cmp qword [rcx + 0x30], r12
jne 0x140186d79
cmp qword [r8 + 0x30], r12
jne 0x140186d79
cmp qword [r8 + 0x48], r12
jne 0x140186d79
cmp qword [r8 + 0x38], r12
jne 0x140186d79
cmp qword [r8 + 0x60], r12
jne 0x140186d79
cmp qword [r8 + 0x50], r12
jne 0x140186d79
test byte [r8 + 4], 1
jne 0x140186d79
mov rax, qword [r8 + 0x20]
cmp dword [rax], 1
jne 0x140186d79
mov rax, qword [rax + 8]
cmp byte [rax], 0xb4
jne 0x140186d79
lea r8, [rcx + 8]
xor edx, edx
mov rcx, rbp
call fcn.14013b1d0
mov qword [rsp + 0x48], rax
mov r10, rax
test rax, rax
je 0x140186d79
mov eax, dword [r14 + 0x28]
cmp dword [r10 + 0x28], eax
jne 0x140186a21
mov rax, qword [r14 + 0x60]
cmp qword [r10 + 0x60], rax
je 0x140186d79
mov r8d, dword [r10 + 0x30]
mov ecx, r8d
mov edx, dword [r14 + 0x30]
mov eax, edx
shr ecx, 7
shr eax, 7
not ecx
not eax
xor ecx, eax
test cl, 1
jne 0x140186d79
cmp byte [r10 + 0x3f], r12b
jne 0x140186d79
movzx ecx, word [r14 + 0x36]
cmp cx, word [r10 + 0x36]
jne 0x140186d79
movzx eax, word [r10 + 0x34]
cmp word [r14 + 0x34], ax
jne 0x140186d79
bt edx, 0x10
jae 0x140186a7e
bt r8d, 0x10
jae 0x140186d79
xor r11d, r11d
mov r15d, r11d
cmp r11w, cx
jge 0x140186d31
mov ebp, r11d
mov esi, r11d
mov edx, 0x200
nop dword [rax]
mov rbx, qword [r14 + 8]
mov rdi, qword [r10 + 8]
add rbx, rsi
add rdi, rsi
movzx ecx, word [rbx + 0x12]
movzx eax, word [rdi + 0x12]
and cx, 0x60
and ax, 0x60
cmp cx, ax
jne 0x140186d79
test cx, cx
je 0x140186b63
movzx eax, word [rdi + 0x10]
test ax, ax
jne 0x140186ade
mov rdx, r11
jmp 0x140186b09
cmp byte [r10 + 0x3f], r12b
je 0x140186ae9
mov rdx, r11
jmp 0x140186b09
mov rdx, qword [r10 + 0x50]
test rdx, rdx
jne 0x140186af7
mov rdx, r11
jmp 0x140186b09
cmp dword [rdx], eax
jge 0x140186b00
mov rdx, r11
jmp 0x140186b09
shl rax, 5
mov rdx, qword [rax + rdx - 0x18]
movzx eax, word [rbx + 0x10]
test ax, ax
jne 0x140186b17
mov r8, r11
jmp 0x140186b43
cmp byte [r14 + 0x3f], r12b
je 0x140186b22
mov r8, r11
jmp 0x140186b43
mov r8, qword [r14 + 0x50]
test r8, r8
jne 0x140186b30
mov r8, r11
jmp 0x140186b43
cmp dword [r8], eax
jge 0x140186b3a
mov r8, r11
jmp 0x140186b43
shl rax, 5
mov r8, qword [rax + r8 - 0x18]
xor ecx, ecx
lea r9d, [rcx - 1]
call fcn.14012c710
test eax, eax
jne 0x140186d79
mov r10, qword [rsp + 0x48]
xor r11d, r11d
mov edx, 0x200
movzx eax, byte [rdi + 0xc]
cmp byte [rbx + 0xc], al
jne 0x140186d79
test word [rdi + 0x12], dx
jne 0x140186b7b
mov r9, r11
jmp 0x140186b9d
mov rax, qword [rdi]
cmp byte [rax], r12b
je 0x140186b8b
inc rax
cmp byte [rax], r12b
jne 0x140186b83
test byte [rdi + 0x12], 4
je 0x140186b99
inc rax
cmp byte [rax], r12b
jne 0x140186b91
lea r9, [rax + 1]
test word [rbx + 0x12], dx
je 0x140186c1b
mov rax, qword [rbx]
cmp byte [rax], r12b
je 0x140186bb8
nop dword [rax + rax]
inc rax
cmp byte [rax], r12b
jne 0x140186bb0
test byte [rbx + 0x12], 4
je 0x140186bc8
nop
inc rax
cmp byte [rax], r12b
jne 0x140186bc0
lea r8, [rax + 1]
test r8, r8
je 0x140186c1b
test r9, r9
je 0x140186d79
sub r9, r8
lea r10, [0x140202d60]
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x140186c08
test edx, edx
jne 0x140186c16
mov r10, qword [rsp + 0x48]
jmp 0x140186c20
movzx ecx, byte [rax + r10]
movzx edx, byte [rdx + r10]
sub edx, ecx
jne 0x140186c01
inc r8
jmp 0x140186bf0
neg r9
sbb edx, edx
test edx, edx
jne 0x140186d79
test byte [rbx + 8], 0xf
je 0x140186c38
test byte [rdi + 8], 0xf
je 0x140186d79
test byte [rbx + 0x12], 0x60
jne 0x140186d07
test rbp, rbp
jle 0x140186d07
movzx eax, word [rbx + 0x10]
test ax, ax
jne 0x140186c59
mov rdx, r11
jmp 0x140186c84
cmp byte [r14 + 0x3f], r12b
je 0x140186c64
mov rdx, r11
jmp 0x140186c84
mov rdx, qword [r14 + 0x50]
test rdx, rdx
jne 0x140186c72
mov rdx, r11
jmp 0x140186c84
cmp dword [rdx], eax
jge 0x140186c7b
mov rdx, r11
jmp 0x140186c84
shl rax, 5
mov rdx, qword [rax + rdx - 0x18]
movzx eax, word [rdi + 0x10]
test ax, ax
jne 0x140186c92
mov r8, r11
jmp 0x140186cbe
cmp byte [r10 + 0x3f], r12b
je 0x140186c9d
mov r8, r11
jmp 0x140186cbe
mov r8, qword [r10 + 0x50]
test r8, r8
jne 0x140186cab
mov r8, r11
jmp 0x140186cbe
cmp dword [r8], eax
jge 0x140186cb5
mov r8, r11
jmp 0x140186cbe
shl rax, 5
mov r8, qword [rax + r8 - 0x18]
test r8, r8
mov ecx, r11d
mov eax, r11d
sete cl
test rdx, rdx
sete al
cmp eax, ecx
jne 0x140186d79
test rdx, rdx
je 0x140186d07
mov rax, qword [rdx + 8]
mov r9, qword [r8 + 8]
sub r9, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x140186d03
inc rax
test ecx, ecx
jne 0x140186cf0
test edx, edx
jne 0x140186d79
movsx eax, word [r14 + 0x36]
inc r15d
inc rbp
add rsi, 0x18
mov edx, 0x200
cmp r15d, eax
jl 0x140186aa0
mov rbp, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [r14 + 0x10]
mov eax, 1
test rdi, rdi
je 0x140186dde
nop dword [rax]
nop word [rax + rax]
cmp byte [rdi + 0x62], 0
mov rbx, qword [r10 + 0x10]
cmovne r12d, eax
test rbx, rbx
je 0x140186d79
mov rdx, rbx
mov rcx, rdi
call fcn.1401867a0
test eax, eax
jne 0x140186d99
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140186d61
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, dword [rdi + 0x58]
mov r10, qword [rsp + 0x48]
cmp dword [rbx + 0x58], eax
jne 0x140186dcc
mov rax, qword [r14 + 0x60]
cmp qword [r10 + 0x60], rax
jne 0x140186dcc
mov rax, qword [0x14023c1d0]
test rax, rax
je 0x140186d79
mov ecx, 0x19b
call rax
test eax, eax
je 0x140186d79
mov r10, qword [rsp + 0x48]
mov rdi, qword [rdi + 0x28]
mov eax, 1
test rdi, rdi
jne 0x140186d50
mov rdx, qword [r14 + 0x20]
test rdx, rdx
je 0x140186dfe
mov rcx, qword [r10 + 0x20]
mov r8d, 0xffffffff
call fcn.14012e050
test eax, eax
jne 0x140186d79
mov rax, qword [rsi + 0x30]
bt rax, 0xe
jae 0x140186e14
cmp qword [r14 + 0x48], 0
jne 0x140186d79
bt rax, 0x20
jb 0x140186d79
mov rcx, qword [rsp + 0x48]
mov esi, 0xffff8000
mov dword [rsp + 0x38], esi
mov rcx, qword [rcx + 0x60]
test rcx, rcx
je 0x140186e5f
mov rax, qword [rsp + 0x50]
xor esi, esi
mov dword [rsp + 0x38], esi
mov rax, qword [rax + 0x20]
add rax, 0x18
cmp qword [rax], rcx
je 0x140186e5f
nop
inc esi
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x140186e50
mov dword [rsp + 0x38], esi
mov rdi, qword [rbp + 0x10]
test rdi, rdi
jne 0x140186e8a
cmp qword [rbp + 0xa8], rdi
jne 0x140186e7f
mov rax, qword [rbp]
test byte [rax + 0x60], 8
jne 0x140186e7f
mov byte [rbp + 0x23], 1
mov rcx, rbp
call fcn.140155100
mov rdi, rax
mov rax, qword [rbp + 0xa8]
mov rcx, rbp
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x7c]
bt eax, esi
jb 0x140186eb3
bts eax, esi
mov dword [rcx + 0x7c], eax
cmp esi, 1
jne 0x140186eb3
call fcn.14013c7f0
mov r15d, dword [rbp + 0x34]
mov r8, r14
mov edx, dword [rsp + 0xb0]
mov rcx, rbp
lea eax, [r15 + 2]
mov dword [rbp + 0x34], eax
call fcn.1400dec10
mov rcx, qword [rsp + 0x90]
mov ebp, eax
movzx eax, byte [rcx + 0x1f]
test al, al
jne 0x140186eec
mov eax, dword [rcx + 0x38]
inc eax
mov dword [rcx + 0x38], eax
jmp 0x140186efb
dec al
movzx eax, al
mov byte [rcx + 0x1f], al
mov eax, dword [rcx + rax*4 + 0xe0]
xor r8d, r8d
mov dword [rsp + 0x30], eax
mov r9d, eax
mov rcx, rdi
lea edx, [r8 + 0x4b]
call fcn.1401547a0
mov rcx, qword [rsp + 0x90]
movzx eax, byte [rcx + 0x1f]
test al, al
jne 0x140186f29
inc dword [rcx + 0x38]
mov eax, dword [rcx + 0x38]
jmp 0x140186f38
dec al
movzx eax, al
mov byte [rcx + 0x1f], al
mov eax, dword [rcx + rax*4 + 0xe0]
mov r8d, dword [rsp + 0xb0]
lea edx, [r15 + 1]
mov r9, r14
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], WSAStartup
call fcn.14013c430
mov rbx, qword [rsp + 0x50]
test byte [rbx + 0x2c], 4
jne 0x140186fba
cmp word [r14 + 0x34], 0
jge 0x140186f72
cmp qword [r14 + 0x10], 0
jne 0x140186f80
test r12d, r12d
jne 0x140186f80
lea eax, [r13 - 1]
cmp eax, 1
jbe 0x140186fba
xor r9d, r9d
lea r12d, [r15 + 1]
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x24]
call fcn.1401547a0
mov edx, 9
mov rcx, rdi
mov ebx, eax
call fcn.1401546c0
mov edx, ebx
mov dword [rsp + 0x40], eax
mov rcx, rdi
call fcn.14015f1d0
mov rbx, qword [rsp + 0x50]
jmp 0x140186fbe
lea r12d, [r15 + 1]
mov r8, qword [rsp + 0x48]
test byte [r8 + 0x30], 0x80
jne 0x1401871aa
mov rcx, qword [rsp + 0x90]
mov r9, r8
mov r8d, esi
mov dword [rsp + 0x20], WSAStartup
mov edx, r15d
call fcn.14013c430
xor r9d, r9d
mov r8d, r15d
mov rcx, rdi
lea edx, [r9 + 0x24]
call fcn.1401547a0
cmp word [r14 + 0x34], 0
mov dword [rsp + 0x3c], eax
jl 0x14018707f
mov ebx, dword [rsp + 0x34]
mov r8d, r15d
mov r9d, ebx
mov edx, 0x87
mov rcx, rdi
call fcn.1401547a0
mov esi, eax
mov rax, qword [rsp + 0x50]
test byte [rax + 0x2c], 4
jne 0x140187067
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x1f]
call fcn.140154810
mov rcx, qword [rsp + 0x90]
mov r8, r14
mov edx, r13d
mov ebx, eax
call fcn.140148280
mov edx, ebx
mov rcx, rdi
call fcn.14015f1d0
mov ebx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x90]
mov r8d, ebx
mov edx, ebp
call fcn.1400ded30
mov ebp, dword [rsp + 0x34]
jmp 0x1401870af
cmp qword [r14 + 0x10], 0
jne 0x140187096
test byte [rbx + 0x2c], 8
jne 0x140187096
mov r8d, r12d
mov edx, 0x7f
jmp 0x14018709e
mov r8d, r15d
mov edx, 0x87
mov ebp, dword [rsp + 0x34]
mov rcx, rdi
mov r9d, ebp
call fcn.1401547a0
mov esi, eax
mov r13, qword [rsp + 0x50]
test byte [r13 + 0x2c], 4
je 0x1401870d2
mov r8d, r12d
mov edx, 0x89
mov rcx, rdi
call fcn.140154730
mov ebx, 0x98
jmp 0x1401870d7
mov ebx, 0xa9
mov r9d, r15d
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov edx, 0x81
mov rcx, rdi
call fcn.140154810
mov r9d, dword [rsp + 0x30]
mov r8d, r12d
mov edx, 0x80
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.140154810
test byte [r13 + 0x2c], 4
jne 0x140187153
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x140187153
movsxd rax, dword [rdi + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x14018714b
mov r9d, 0xfffffffb
mov r8, r14
mov rcx, rdi
call fcn.140173730
jmp 0x140187153
mov qword [rdx + 0x10], r14
mov byte [rdx + 1], 0xfb
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x14018716e
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], bx
mov r9d, esi
mov r8d, r15d
mov edx, 0x27
mov rcx, rdi
call fcn.1401547a0
xor r9d, r9d
mov r8d, r15d
mov rcx, rdi
lea edx, [r9 + 0x7a]
call fcn.1401547a0
xor r9d, r9d
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x7a]
call fcn.1401547a0
jmp 0x140187237
movsxd r10, dword [rsp + 0xb0]
mov r11, qword [rsp + 0x90]
cmp r10d, 1
je 0x140187200
mov rax, qword [r11]
mov rdx, r10
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x140187200
mov rax, qword [r14]
mov r9b, 1
mov r8d, dword [r14 + 0x28]
mov edx, r10d
mov rcx, r11
mov qword [rsp + 0x20], rax
call fcn.140101d10
mov r11, qword [rsp + 0x90]
mov r8, qword [rsp + 0x48]
cmp esi, 1
je 0x140187237
mov rax, qword [r11]
movsxd rdx, esi
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x140187237
mov rax, qword [r8]
xor r9d, r9d
mov r8d, dword [r8 + 0x28]
mov edx, esi
mov rcx, r11
mov qword [rsp + 0x20], rax
call fcn.140101d10
mov r13, qword [r14 + 0x10]
test r13, r13
je 0x140187832
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsp + 0x48]
xor bpl, bpl
mov dword [rsp + 0x44], ebp
mov rsi, qword [rax + 0x10]
test rsi, rsi
je 0x14018727d
mov rdx, rsi
mov rcx, r13
call fcn.1401867a0
test eax, eax
jne 0x14018727d
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140187265
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x58]
cmp dword [rdi + 0x94], ecx
jg 0x1401872ac
mov eax, dword [rsp + 0x38]
mov r9d, edx
mov edx, WSAStartup
mov dword [rsp + 0x20], eax
mov r8d, r15d
mov rcx, rdi
call fcn.1400f9f80
jmp 0x1401872e0
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + 0x38]
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8], WSAStartup
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 0x10], r8
mov r14, qword [rsp + 0x90]
mov rdx, rsi
mov rcx, r14
mov rbx, qword [r14 + 0x10]
call fcn.14013a2d0
mov r8, rax
test rax, rax
je 0x140187342
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x140187326
cmp qword [rax + 0x308], 0
jne 0x140187342
add dword [r8], 0xffffffff
jne 0x140187342
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.140125200
jmp 0x140187342
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf8
mov qword [rax + rcx*8 - 8], r8
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [r13 + 0x58]
cmp dword [rdi + 0x94], ecx
jg 0x140187375
mov eax, dword [rsp + 0xb0]
mov r9d, edx
mov edx, WSAStartup
mov dword [rsp + 0x20], eax
mov r8d, r12d
mov rcx, rdi
call fcn.1400f9f80
jmp 0x1401873ac
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + 0xb0]
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8], WSAStartup
mov dword [rax + rcx*8 + 4], r12d
mov qword [rax + rcx*8 + 0x10], r8
mov rbx, qword [r14 + 0x10]
mov rdx, r13
mov rcx, r14
call fcn.14013a2d0
mov r8, rax
test rax, rax
je 0x140187406
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x1401873ea
cmp qword [rax + 0x308], 0
jne 0x140187406
add dword [r8], 0xffffffff
jne 0x140187406
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.140125200
jmp 0x140187406
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf8
mov qword [rax + rcx*8 - 8], r8
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x140187423
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], 1
movsxd r14, dword [rdi + 0x90]
cmp dword [rdi + 0x94], r14d
jg 0x140187452
xor eax, eax
xor r9d, r9d
mov r8d, r15d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [rax + 0x24]
call fcn.1400f9f80
mov r14d, eax
xor r8d, r8d
jmp 0x140187480
lea rcx, [r14 + r14*2]
xor r8d, r8d
lea eax, [r14 + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rsp + 0x50]
test byte [rax + 0x2c], 4
je 0x1401875e9
movzx eax, word [rsi + 0x60]
mov ebx, r8d
mov r11, r8
cmp r8w, ax
jae 0x14018751d
mov r10, qword [rsi + 0x40]
lea r12, [0x14020303c]
mov ebp, eax
nop dword [rax]
mov r9, qword [r10]
test r9, r9
je 0x140187512
mov r8, r12
sub r9, r12
lea r12, [0x140202d60]
nop word [rax + rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x1401874e6
test edx, edx
je 0x1401874fb
inc r8
jmp 0x1401874d0
movzx ecx, byte [rax + r12]
movzx edx, byte [rdx + r12]
sub edx, ecx
jne 0x1401874f9
inc r8
jmp 0x1401874d0
test edx, edx
lea r12, [0x14020303c]
jne 0x140187512
inc ebx
inc r11
add r10, 8
cmp r11, rbp
jl 0x1401874b0
mov ebp, dword [rsp + 0x44]
lea r12d, [r15 + 1]
xor r8d, r8d
movzx eax, word [rsi + 0x60]
cmp ebx, eax
jne 0x14018760b
movsxd rcx, dword [rdi + 0x90]
mov bpl, 0x90
cmp dword [rdi + 0x94], ecx
jg 0x140187558
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov r8d, r12d
mov edx, 0x89
mov rcx, rdi
call fcn.1400f9f80
xor r8d, r8d
jmp 0x140187586
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x89
mov dword [rax + rcx*8 + 4], r12d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1401875b9
mov dword [rsp + 0x20], r8d
mov r9d, r15d
mov r8d, r12d
mov edx, 0x81
mov rcx, rdi
call fcn.1400f9f80
mov ebx, dword [rsp + 0x30]
xor r8d, r8d
jmp 0x14018766c
mov ebx, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x81
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r8d
jmp 0x140187667
mov rax, qword [rsp + 0x48]
mov edx, 1
test byte [rax + 0x30], 0x80
je 0x140187610
movzx eax, byte [r13 + 0x64]
and al, 3
movzx ebp, bpl
cmp al, 2
cmove ebp, edx
jmp 0x140187610
mov edx, 1
movsxd rcx, dword [rdi + 0x90]
mov ebx, dword [rsp + 0x30]
cmp dword [rdi + 0x94], ecx
jg 0x14018763f
mov dword [rsp + 0x20], edx
mov r9d, ebx
mov edx, 0x86
mov r8d, r15d
mov rcx, rdi
call fcn.1400f9f80
xor r8d, r8d
jmp 0x14018766c
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x86
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x140187698
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8d, r12d
mov edx, 0x8a
mov rcx, rdi
call fcn.1400f9f80
xor r8d, r8d
jmp 0x1401876c6
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x8a
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x1401876e9
lea rcx, [rax + rax*2]
or bpl, 8
mov rax, qword [rdi + 0x88]
movzx edx, bpl
mov word [rax + rcx*8 - 0x16], dx
movsxd rcx, dword [rdi + 0x90]
lea edx, [r14 + 1]
cmp dword [rdi + 0x94], ecx
jg 0x140187719
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, r15d
mov edx, 0x27
mov rcx, rdi
call fcn.1400f9f80
xor r8d, r8d
jmp 0x140187747
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x14018775f
lea rax, [0x140243af8]
jmp 0x140187771
movsxd rax, r14d
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x14018779f
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, r15d
mov rcx, rdi
lea edx, [r9 + 0x7a]
call fcn.1400f9f80
xor r8d, r8d
jmp 0x1401877cd
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x7a
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1401877f5
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x7a]
call fcn.1400f9f80
jmp 0x140187823
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x7a
mov dword [rax + rcx*8 + 4], r12d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov r13, qword [r13 + 0x28]
test r13, r13
jne 0x140187250
jmp 0x140187836
mov ebx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x140187848
mov edx, eax
mov rcx, rdi
call fcn.14015f1d0
mov ecx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x90]
test ecx, ecx
je 0x14018786a
movzx eax, byte [rdx + 0x1f]
cmp al, 8
jae 0x14018786a
mov dword [rdx + rax*4 + 0xe0], ecx
inc byte [rdx + 0x1f]
test ebx, ebx
je 0x140187880
movzx eax, byte [rdx + 0x1f]
cmp al, 8
jae 0x140187880
mov dword [rdx + rax*4 + 0xe0], ebx
inc byte [rdx + 0x1f]
mov ebx, dword [rsp + 0x40]
test ebx, ebx
je 0x1401878cd
cmp qword [rdx + 0xa0], 0
je 0x14018789a
mov rcx, rdx
call fcn.1400deda0
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x46]
call fcn.1401547a0
mov edx, ebx
mov rcx, rdi
call fcn.14015f1d0
xor r9d, r9d
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x7a]
call fcn.1401547a0
jmp 0x140186d79
mov eax, 1
jmp 0x140186d7b