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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
dec dword [rcx + 0x44]
mov rdi, rcx
mov eax, dword [rcx + 0x44]
mov r12d, r9d
mov rsi, qword [rsp + 0xc0]
mov r13, r8
mov rbx, qword [rcx + 0x10]
mov r15, rdx
mov ecx, dword [r8 + 8]
mov r14d, dword [r8 + 0x1c]
mov dword [rsp + 0x44], eax
xor eax, eax
mov ebp, eax
mov dword [rsp + 0x3c], r14d
movzx eax, byte [rsi]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsi + 4]
mov dword [rsp + 0x30], eax
mov rax, qword [rdx + 0x20]
add rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [r8]
mov eax, dword [rax]
sub eax, ecx
mov dword [rsp + 0x40], eax
test ecx, ecx
je 0x180100b95
cmp eax, 1
je 0x180100b95
mov r9d, eax
lea r8, str.USE_TEMP_B_TREE_FOR_LAST__d_TERMS_OF_ORDER_BY
xor edx, edx
mov rcx, rdi
call fcn.1800a3360
jmp 0x180100bba
test ecx, ecx
lea rax, str.LAST_TERM_OF
lea r9, [0x1801a09d9]
mov rcx, rdi
cmovne r9, rax
lea r8, str.USE_TEMP_B_TREE_FOR__sORDER_BY
xor edx, edx
call fcn.1800a3360
mov edx, dword [r13 + 0x14]
test edx, edx
je 0x180100ca8
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [r13 + 0x10]
cmp dword [rbx + 0x94], ecx
jg 0x180100bf4
xor eax, eax
mov r9d, edx
mov edx, 0xa
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.1800a2d30
xor r9d, r9d
jmp 0x180100c25
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xa
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180100c4e
mov dword [rsp + 0x20], r9d
xor r8d, r8d
mov r9d, r14d
mov edx, 9
mov rcx, rbx
call fcn.1800a2d30
jmp 0x180100c79
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rcx, qword [rbx + 0x18]
mov edx, dword [r13 + 0x14]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180100c98
mov r8d, edx
mov rdx, rbx
call fcn.1800a3570
jmp 0x180100ca8
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov r9d, dword [rsp + 0xa8]
mov r13d, dword [r13 + 0xc]
mov dword [rsp + 0x34], r13d
lea eax, [r9 - 9]
test al, 0xfb
je 0x180100dd9
cmp r9b, 0xa
je 0x180100da4
movzx eax, byte [rdi + 0x1f]
lea rcx, [rdi + 0x38]
test al, al
jne 0x180100ce8
mov r8d, dword [rcx]
inc r8d
mov dword [rcx], r8d
xor dl, dl
jmp 0x180100cf8
dec al
movzx edx, al
mov byte [rdi + 0x1f], dl
mov r8d, dword [rdi + rdx*4 + 0xe8]
lea eax, [r9 - 0xc]
mov dword [rsp + 0xa0], r8d
test al, 0xfd
je 0x180100d6b
cmp r12d, 1
jne 0x180100d37
test dl, dl
jne 0x180100d1f
inc dword [rcx]
mov r14d, dword [rcx]
xor r10d, r10d
jmp 0x180100dec
dec dl
movzx eax, dl
xor r10d, r10d
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xe8]
jmp 0x180100dec
mov edx, dword [rdi + 0x28]
mov r14d, dword [rdi + 0x2c]
cmp r12d, edx
jg 0x180100d58
sub edx, r12d
lea eax, [r14 + r12]
mov dword [rdi + 0x2c], eax
xor r10d, r10d
mov dword [rdi + 0x28], edx
jmp 0x180100dec
mov eax, dword [rcx]
lea r14d, [rax + 1]
add eax, r12d
mov dword [rcx], eax
xor r10d, r10d
jmp 0x180100dec
test dl, dl
jne 0x180100d84
inc dword [rcx]
mov r14d, dword [rcx]
xor r10d, r10d
mov r12d, r10d
mov dword [rsp + 0xb8], r10d
jmp 0x180100dec
dec dl
movzx eax, dl
xor r10d, r10d
mov byte [rdi + 0x1f], al
mov r12d, r10d
mov dword [rsp + 0xb8], r10d
mov r14d, dword [rdi + rax*4 + 0xe8]
jmp 0x180100dec
cmp dword [r15 + 0xc], ebp
je 0x180100dd9
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rsi + 0xc]
cmp dword [rbx + 0x94], ecx
jg 0x180100e44
xor eax, eax
mov r9d, edx
mov edx, 0x4b
mov dword [rsp + 0x20], eax
xor r8d, r8d
mov rcx, rbx
call fcn.1800a2d30
xor r10d, r10d
mov r14d, dword [rsi + 0xc]
lea rcx, [rdi + 0x38]
mov dword [rsp + 0xa0], r10d
mov rdx, qword [rsp + 0xb0]
test byte [rdx + 0x24], 1
je 0x18010100e
mov r13d, dword [rdi + 0x34]
inc dword [rcx]
mov esi, dword [rcx]
lea eax, [r13 + 1]
mov dword [rdi + 0x34], eax
cmp dword [rdx + 0x14], ebp
je 0x180100ea7
movsxd rbp, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ebp
jg 0x180100e76
xor r9d, r9d
mov dword [rsp + 0x20], r10d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.1800a2d30
mov ebp, eax
xor r10d, r10d
jmp 0x180100ea7
lea eax, [rcx + 1]
xor r10d, r10d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x180100ddc
lea eax, [rbp + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x88]
add rcx, rbp
mov qword [rax + rcx*8], reloc.WS2_32.dll_ntohs
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
mov r15d, dword [rsp + 0x40]
movsxd rcx, dword [rbx + 0x90]
lea edx, [r15 + 1]
add edx, r12d
cmp dword [rbx + 0x94], ecx
jg 0x180100ede
mov dword [rsp + 0x20], edx
mov r9d, esi
mov edx, 0x79
mov r8d, r13d
mov rcx, rbx
call fcn.1800a2d30
xor r10d, r10d
jmp 0x180100f0b
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x79
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r10
test ebp, ebp
je 0x180100f3c
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x180100f27
lea rax, [0x1801e46a0]
jmp 0x180100f39
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rdx, dword [rbx + 0x90]
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
cmp dword [rbx + 0x94], edx
jg 0x180100f73
mov edx, 0x22
mov dword [rsp + 0x20], r10d
mov rcx, rbx
call fcn.1800a2d30
mov r8d, dword [rsp + 0x34]
mov edx, eax
xor r10d, r10d
jmp 0x180100fa2
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x22
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], r10
movsxd rcx, dword [rbx + 0x90]
lea ebp, [rdx + 1]
mov dword [rsp + 0x38], ebp
cmp dword [rbx + 0x94], ecx
jg 0x180100fd8
mov r9d, esi
mov dword [rsp + 0x20], r13d
mov edx, 0x85
mov rcx, rbx
call fcn.1800a2d30
xor r10d, r10d
mov esi, r10d
jmp 0x18010111e
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], esi
mov esi, r10d
mov dword [rax + rcx*8], 0x85
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x18010111e
movsxd rdx, dword [rbx + 0x90]
mov r9d, dword [rsp + 0x3c]
cmp dword [rbx + 0x94], edx
jg 0x18010103e
mov r8d, r13d
mov dword [rsp + 0x20], r10d
mov edx, 0x23
mov rcx, rbx
call fcn.1800a2d30
mov edx, eax
xor r10d, r10d
jmp 0x18010106d
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x23
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
lea eax, [rdx + 1]
mov esi, 1
mov edx, dword [r15 + 0xc]
mov dword [rsp + 0x38], eax
test edx, edx
jle 0x1801010dd
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1801010ab
mov r9d, dword [rsp + 0x44]
mov r8d, edx
mov edx, 0x3b
mov dword [rsp + 0x20], esi
mov rcx, rbx
call fcn.1800a2d30
jmp 0x1801010dd
mov r8d, dword [rsp + 0x44]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x3b
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r10
cmp dword [r15 + 0xc], ebp
jle 0x180101116
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r15 + 8]
cmp dword [rbx + 0x94], ecx
jg 0x18010118f
xor eax, eax
mov r8d, edx
mov edx, 0x56
mov dword [rsp + 0x20], eax
mov r9d, 0xffffffff
mov rcx, rbx
call fcn.1800a2d30
xor r10d, r10d
mov r15d, dword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
lea r8d, [rsi + r15]
mov dword [rsp + 0x40], r8d
lea esi, [r8 - 1]
movsxd rdx, r12d
test r12d, r12d
jle 0x180101156
lea rcx, [r9 + 0x18]
nop dword [rax]
cmp word [rcx], 0
lea eax, [rsi + 1]
lea rcx, [rcx + 0x20]
cmovne eax, esi
mov esi, eax
sub rdx, 1
jne 0x180101140
lea eax, [r12 - 1]
movsxd rbp, eax
test eax, eax
js 0x180101244
mov r12, rbp
lea r15d, [rax + r14]
shl r12, 5
add r12, 0x18
add r12, r9
nop dword [rax + rax]
movzx eax, word [r12]
test ax, ax
je 0x1801011c8
lea edx, [rax - 1]
jmp 0x1801011cc
lea eax, [rcx + 1]
xor r10d, r10d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x56
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], 0xffffffff
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x180101119
mov edx, esi
dec esi
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1801011f8
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x5e
mov r8d, r13d
mov rcx, rbx
call fcn.1800a2d30
xor r10d, r10d
jmp 0x180101226
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r10
dec r15d
sub r12, 0x20
sub rbp, 1
jns 0x180101180
mov r8d, dword [rsp + 0x40]
mov r12d, dword [rsp + 0xb8]
mov edx, dword [rsp + 0xa8]
mov ecx, edx
sub ecx, 0xa
je 0x1801016e4
sub ecx, 1
je 0x180101602
sub ecx, 1
je 0x1801014ba
sub ecx, 2
je 0x1801014ba
mov rsi, qword [rsp + 0xc0]
cmp ecx, 1
je 0x180101377
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
cmp dl, 9
jne 0x180101329
mov edx, dword [rsi + 0xc]
cmp eax, ecx
jg 0x1801012f9
mov r8d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0x54
mov r9d, r12d
mov rcx, rbx
call fcn.1800a2d30
mov ebp, dword [rsp + 0xa0]
mov edx, dword [rsp + 0xa8]
xor esi, esi
test ebp, ebp
je 0x18010171a
cmp dl, 0xb
jne 0x1801016f0
cmp r12d, 1
je 0x1801016f0
cmp r12d, dword [rdi + 0x28]
jle 0x180101708
mov dword [rdi + 0x28], r12d
mov dword [rdi + 0x2c], r14d
jmp 0x180101708
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x54
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x1801012b7
mov edx, dword [rsi + 4]
cmp eax, ecx
jg 0x180101345
mov r8d, edx
mov dword [rsp + 0x20], r10d
mov edx, recv
xor r9d, r9d
jmp 0x1801012af
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], recv
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x1801012b7
movzx eax, byte [rdi + 0x1f]
mov ebp, dword [rsi + 8]
test al, al
jne 0x18010138a
inc dword [rdi + 0x38]
mov esi, dword [rdi + 0x38]
jmp 0x180101399
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0xe8]
movsxd rcx, dword [rbx + 0x90]
mov eax, ebp
shr eax, 0x1f
mov edx, r12d
sub edx, eax
lea r8d, [rax + r14]
cmp dword [rbx + 0x94], ecx
jg 0x1801013cf
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x61
mov rcx, rbx
call fcn.1800a2d30
xor r10d, r10d
jmp 0x1801013fc
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
test ebp, ebp
jns 0x18010145e
cmp eax, ecx
jg 0x180101428
mov r8d, dword [rsp + 0x30]
mov r9d, esi
mov dword [rsp + 0x20], r14d
mov edx, 0x80
jmp 0x1801012af
mov edx, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x80
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x1801012b7
cmp eax, ecx
jg 0x180101485
mov r8d, dword [rsp + 0x30]
mov r9d, esi
mov dword [rsp + 0x28], ebp
mov edx, 0x8a
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.1800a2d90
jmp 0x1801012b7
mov edx, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xfd8a
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r14d
mov dword [rax + rcx*8 + 0x10], ebp
jmp 0x1801012b7
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1801014e6
mov r9d, r8d
mov dword [rsp + 0x20], r14d
mov r8d, r13d
mov edx, 0x5e
mov rcx, rbx
call fcn.1800a2d30
xor r10d, r10d
jmp 0x180101515
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x30]
cmp dword [rbx + 0x94], ecx
jg 0x180101554
mov r9d, dword [rsp + 0xa0]
mov edx, 0x7f
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.1800a2d30
mov edx, dword [rsp + 0xa0]
xor r10d, r10d
mov r8d, dword [rsp + 0x30]
jmp 0x180101589
mov edx, dword [rsp + 0xa0]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x7f
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1801015ae
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x80
mov rcx, rbx
call fcn.1800a2d30
jmp 0x1801015dc
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x80
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r10
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1801012b7
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], 8
jmp 0x1801012b7
mov rsi, qword [rsp + 0xc0]
movsxd rdx, dword [rbx + 0x90]
mov ebp, dword [rsp + 0xa0]
mov rsi, qword [rsi + 0x18]
cmp dword [rbx + 0x94], edx
jg 0x18010163f
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov r8d, r14d
mov edx, 0x61
mov rcx, rbx
call fcn.1800a2d30
mov edx, eax
jmp 0x18010166d
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r10
mov r9d, r12d
mov r8, rsi
mov rcx, rbx
call fcn.1800a3db0
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1801016ae
mov r8d, dword [rsp + 0x30]
mov r9d, ebp
mov dword [rsp + 0x28], r12d
mov edx, 0x8a
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.1800a2d90
jmp 0x1801012be
mov edx, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xfd8a
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r14d
mov dword [rax + rcx*8 + 0x10], r12d
jmp 0x1801012be
mov ebp, dword [rsp + 0xa0]
jmp 0x1801012c5
test r14d, r14d
je 0x180101708
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x180101708
mov dword [rdi + rax*4 + 0xe8], r14d
inc byte [rdi + 0x1f]
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x18010171a
mov dword [rdi + rax*4 + 0xe8], ebp
inc byte [rdi + 0x1f]
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x44]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180101739
mov r8d, edx
mov rdx, rbx
call fcn.1800a3570
jmp 0x180101749
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov rdi, qword [rsp + 0xb0]
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
test byte [rdi + 0x24], 1
je 0x1801017a2
cmp eax, ecx
jg 0x180101785
mov r9d, dword [rsp + 0x38]
mov edx, 0x25
mov r8d, dword [rsp + 0x34]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.1800a2d30
jmp 0x1801017f7
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x25
jmp 0x1801017de
cmp eax, ecx
jg 0x1801017c3
mov r9d, dword [rsp + 0x38]
mov edx, 0x27
mov r8d, dword [rsp + 0x34]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.1800a2d30
jmp 0x1801017f7
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x38]
mov qword [rax + rcx*8 + 0x10], rsi
mov dword [rax + rcx*8 + 0xc], esi
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x10]
test edx, edx
je 0x180101853
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180101826
mov r8d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x43
xor r9d, r9d
mov rcx, rbx
call fcn.1800a2d30
jmp 0x180101853
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x43
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x3c]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180101872
mov r8d, edx
mov rdx, rbx
call fcn.1800a3570
jmp 0x180101882
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret