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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbx
push r12
push r15
sub rsp, 0x60
mov rbx, qword [rcx + 0x10]
mov qword [rax + 0x10], rbp
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov r12d, edx
mov qword [rsp + 0x38], rcx
mov qword [rax - 0x38], r14
mov rdi, rcx
test rbx, rbx
jne 0x18006de8d
call fcn.18003a350
mov rbx, rax
mov qword [rdi + 0x10], rax
test rax, rax
je 0x18006de76
mov edx, 0x9e
mov rcx, rax
call fcn.18003a750
cmp qword [rdi + 0x1c8], 0
jne 0x18006de8d
mov rax, qword [rdi]
test byte [rax + 0x50], 8
jne 0x18006de8d
mov byte [rdi + 0x23], 1
mov rbp, qword [rbx + 0x30]
mov eax, dword [rdi + 0x54]
movsxd rsi, dword [rbp + 0x80]
dec eax
mov dword [rsp + 0x80], eax
lea eax, [rsi + 1]
mov dword [rbp + 0x80], eax
lea eax, [rsi - 1]
test esi, eax
jne 0x18006ded6
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp]
lea eax, [rsi + rsi + 1]
movsxd r8, eax
shl r8, 2
call fcn.180017710
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0x88]
or r14d, 0xffffffff
test rcx, rcx
je 0x18006deea
mov dword [rcx + rsi*4], r14d
sub r14d, esi
xor r9d, r9d
mov dword [rsp + 0x30], r14d
cmp dword [rsp + 0xb8], r9d
jge 0x18006df61
mov rax, qword [rsp + 0xa0]
movsxd rcx, dword [rbx + 0x3c]
movzx edx, byte [rax + 0x2c]
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x18006df35
mov dword [rsp + 0x20], r9d
mov r8d, edx
mov rcx, rbx
mov r9d, r14d
mov edx, 0x88
call fcn.18003a660
xor r9d, r9d
jmp 0x18006df61
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], r9b
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x88
mov rax, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
mov qword [rsp + 0x48], r13
cmp dword [rax + 0x28], 0
mov r13d, dword [rsp + 0xb0]
mov esi, r9d
jle 0x18006e006
mov rbp, r15
mov rdi, rax
nop dword [rax]
mov eax, dword [rbp]
movsxd rcx, dword [rbx + 0x3c]
lea edx, [r13 + rax + 1]
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x18006dfc2
mov dword [rsp + 0x20], r9d
mov r8d, edx
mov rcx, rbx
mov r9d, r14d
mov edx, 0x4c
call fcn.18003a660
xor r9d, r9d
jmp 0x18006dfee
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 dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x4c
inc esi
add rbp, 4
cmp esi, dword [rdi + 0x28]
jl 0x18006df90
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0xa0]
cmp dword [rsp + 0xc0], 0
jne 0x18006e80d
mov rdx, qword [rsp + 0x98]
test rdx, rdx
jne 0x18006e2cf
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x18006e035
inc dword [rdi + 0x58]
mov esi, dword [rdi + 0x58]
jmp 0x18006e041
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0x28]
mov eax, dword [r15]
movsxd rcx, dword [rbx + 0x3c]
lea edx, [rax + r13 + 1]
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x18006e073
mov dword [rsp + 0x20], r9d
mov r8d, edx
mov rcx, rbx
mov r9d, esi
mov edx, 0x1f
call fcn.18003a660
xor r9d, r9d
jmp 0x18006e09e
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 dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x1f
mov rax, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ebp
jg 0x18006e0c6
mov dword [rsp + 0x20], r9d
xor r9d, r9d
mov r8d, esi
lea edx, [r9 + 0x26]
mov rcx, rbx
call fcn.18003a660
mov ebp, eax
jmp 0x18006e0f2
lea rcx, [rbp + rbp*2]
lea eax, [rbp + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x26
mov rax, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x90]
cmp r15, qword [rax]
jne 0x18006e143
cmp dword [rsp + 0xb8], 1
jne 0x18006e143
mov r9d, r14d
mov r8d, r13d
mov edx, 0x4f
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.18003a6c0
mov r11, qword [rbx]
cmp byte [r11 + 0x55], 0
jne 0x18006e143
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 - 0x15], 0x90
mov r8d, r12d
mov r12d, dword [rsp + 0x80]
mov r9, r15
mov rcx, rdi
mov edx, r12d
mov dword [rsp + 0x20], getservbyname
call fcn.180071400
mov rax, qword [rbx + 0x30]
movsxd r11, dword [rbx + 0x3c]
cmp dword [rax + 0x64], r11d
jg 0x18006e18d
xor r9d, r9d
mov r8d, r12d
mov rcx, rbx
lea edx, [r9 + 0x46]
mov dword [rsp + 0x20], esi
call fcn.18003a660
xor r15d, r15d
jmp 0x18006e1bd
lea rcx, [r11 + r11*2]
lea eax, [r11 + 1]
xor r15d, r15d
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r15
mov word [rax + rcx*8], 0x46
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18006e1e3
xor r8d, r8d
mov r9d, r14d
mov rcx, rbx
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], r15d
call fcn.18003a660
jmp 0x18006e210
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], r15d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov word [rax + rcx*8], select
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
lea ecx, [rdx - 2]
test ecx, ecx
jns 0x18006e22c
lea ecx, [r8 - 1]
mov rax, qword [rbx]
lea rdx, [0x1802f0540]
cmp byte [rax + 0x55], 0
je 0x18006e241
mov rax, rdx
jmp 0x18006e250
movsxd rax, ecx
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 rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
test ebp, ebp
jns 0x18006e26c
lea ebp, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x18006e284
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
mov dword [rdx + 8], r8d
test esi, esi
je 0x18006e818
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x18006e818
mov ecx, r15d
lea rax, [rdi + 0x90]
cmp dword [rax + 0xc], esi
je 0x18006e2c6
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18006e2a7
movzx eax, dl
mov dword [rdi + rax*4 + 0x28], esi
inc byte [rdi + 0x1f]
jmp 0x18006e818
mov byte [rax + 6], 1
jmp 0x18006e818
mov r13d, dword [rax + 0x28]
mov ecx, dword [rdi + 0x48]
mov ebp, dword [rdi + 0x4c]
mov dword [rsp + 0xc0], ebp
cmp r13d, ecx
jg 0x18006e2f5
lea eax, [rbp + r13]
sub ecx, r13d
mov dword [rdi + 0x4c], eax
mov dword [rdi + 0x48], ecx
jmp 0x18006e308
mov eax, dword [rdi + 0x58]
lea ebp, [rax + 1]
add eax, r13d
mov dword [rsp + 0xc0], ebp
mov dword [rdi + 0x58], eax
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x18006e319
inc dword [rdi + 0x58]
mov r14d, dword [rdi + 0x58]
jmp 0x18006e326
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0x28]
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [rdx + 0x58]
mov r8d, dword [rsp + 0x80]
cmp dword [rax + 0x64], ecx
jg 0x18006e355
mov r9d, edx
mov rcx, rbx
mov edx, getservbyname
mov dword [rsp + 0x20], r12d
call fcn.18003a660
jmp 0x18006e381
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], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], getservbyname
mov rdx, qword [rsp + 0x98]
mov rsi, qword [rdi + 0x10]
mov rcx, rdi
call fcn.180065cf0
mov rcx, qword [rsi]
cmp byte [rcx + 0x55], 0
mov r11, rax
je 0x18006e3b0
mov r8, rax
mov edx, 0xfffffffa
call fcn.18003b100
jmp 0x18006e3ea
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x18006e3dd
mov r9d, 0xfffffffa
mov r8, r11
mov rcx, rsi
call fcn.18003b3c0
jmp 0x18006e3ea
test r11, r11
je 0x18006e3ea
mov qword [rdx + 0x10], r11
mov byte [rdx + 1], 0xfa
test r13d, r13d
jle 0x18006e481
mov esi, ebp
mov rbp, r15
mov r15d, dword [rsp + 0xb0]
mov r12, r13
nop word [rax + rax]
mov eax, dword [rbp]
movsxd rcx, dword [rbx + 0x3c]
lea edx, [rax + r15 + 1]
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x18006e442
mov r8d, edx
mov r9d, esi
mov rcx, rbx
mov edx, 0x1e
mov dword [rsp + 0x20], 0
call fcn.18003a660
jmp 0x18006e46e
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], edx
xor edx, edx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], esi
mov word [rax + rcx*8], 0x1e
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
inc esi
add rbp, 4
dec r12
jne 0x18006e410
mov r15, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
mov r10, qword [rsp + 0x90]
cmp r10, qword [rax]
jne 0x18006e5dc
cmp dword [rsp + 0xb8], 1
jne 0x18006e5dc
mov eax, dword [rbx + 0x3c]
lea r12d, [rax + r13 + 1]
test r13d, r13d
jle 0x18006e581
mov r9d, dword [rsp + 0xb0]
mov rdi, qword [rsp + 0x98]
xor esi, esi
mov rbp, r13
nop
mov eax, dword [r15]
lea r8d, [rax + r9 + 1]
mov rax, qword [rdi + 8]
movsx ecx, word [rsi + rax]
mov rax, qword [rbx + 0x30]
cmp cx, word [r10 + 0x3c]
lea edx, [rcx + r9 + 1]
movsxd rcx, dword [rbx + 0x3c]
cmove edx, r9d
cmp dword [rax + 0x64], ecx
jg 0x18006e521
mov dword [rsp + 0x20], edx
mov r9d, r12d
mov rcx, rbx
mov edx, 0x4e
call fcn.18003a660
mov r9d, dword [rsp + 0xb0]
mov r10, qword [rsp + 0x90]
jmp 0x18006e551
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], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], 0
mov word [rax + rcx*8], 0x4e
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x18006e56b
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 - 0x15], 0x10
add r15, 4
add rsi, 2
dec rbp
jne 0x18006e4d0
mov rdi, qword [rsp + 0x38]
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov ebp, dword [rsp + 0x30]
xor r15d, r15d
cmp dword [rax + 0x64], ecx
jg 0x18006e5ae
lea edx, [r15 + 0xd]
mov r9d, ebp
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call fcn.18003a660
jmp 0x18006e5e3
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], r15d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov word [rax + rcx*8], select
jmp 0x18006e5e3
mov ebp, dword [rsp + 0x30]
xor r15d, r15d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rdi]
call fcn.180071510
mov rcx, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
mov r12d, dword [rsp + 0xc0]
mov rsi, rax
cmp dword [rcx + 0x64], edx
jg 0x18006e627
mov r9d, r13d
mov r8d, r12d
mov edx, gethostbyaddr
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.18003a660
mov edx, eax
jmp 0x18006e654
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r15
mov word [rax + rcx*8], gethostbyaddr
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x18006e670
cmp r13d, 0xfffffff6
je 0x18006e6c8
mov r8, rsi
mov edx, r13d
call fcn.18003b100
jmp 0x18006e6c8
test edx, edx
jns 0x18006e679
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
test r13d, r13d
jns 0x18006e6ba
cmp byte [rdx + 1], 0
jne 0x18006e6ba
cmp r13d, 0xfffffff2
jne 0x18006e6a2
mov dword [rdx + 0x10], esi
mov byte [rdx + 1], r13b
jmp 0x18006e6c8
test rsi, rsi
je 0x18006e6c8
mov qword [rdx + 0x10], rsi
mov byte [rdx + 1], r13b
cmp r13d, 0xfffffff6
jne 0x18006e6c8
inc dword [rsi + 0x18]
jmp 0x18006e6c8
mov r9d, r13d
mov r8, rsi
mov rcx, rbx
call fcn.18003b3c0
mov rax, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
mov r8d, dword [rsp + 0x80]
cmp dword [rax + 0x64], edx
jg 0x18006e6f6
mov r9d, ebp
mov edx, 0x45
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.18003a660
mov edx, eax
jmp 0x18006e722
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r15
mov word [rax + rcx*8], 0x45
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x18006e739
xor r8d, r8d
lea edx, [r8 - 0xe]
call fcn.18003b100
jmp 0x18006e773
test edx, edx
jns 0x18006e742
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x18006e76b
mov r9d, 0xfffffff2
xor r8d, r8d
mov rcx, rbx
call fcn.18003b3c0
jmp 0x18006e773
mov dword [rdx + 0x10], r15d
mov byte [rdx + 1], 0xf2
test r14d, r14d
je 0x18006e7b2
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x18006e7b2
mov ecx, r15d
lea rax, [rdi + 0x90]
nop dword [rax + rax]
cmp dword [rax + 0xc], r14d
je 0x18006e7ae
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18006e790
movzx eax, dl
mov dword [rdi + rax*4 + 0x28], r14d
inc byte [rdi + 0x1f]
jmp 0x18006e7b2
mov byte [rax + 6], 1
lea r9d, [r12 + r13 - 1]
lea rcx, [rdi + 0x9c]
mov r8d, 0xa
mov edx, dword [rcx]
cmp edx, r12d
jl 0x18006e7ef
cmp edx, r9d
jg 0x18006e7ef
cmp byte [rcx - 6], 0
je 0x18006e7ec
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x18006e7e8
movzx eax, al
mov dword [rdi + rax*4 + 0x28], edx
inc byte [rdi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r15d
add rcx, 0x14
dec r8
jne 0x18006e7c4
mov r14d, dword [rsp + 0x30]
cmp r13d, dword [rdi + 0x48]
jle 0x18006e810
mov dword [rdi + 0x48], r13d
mov dword [rdi + 0x4c], r12d
jmp 0x18006e810
xor r15d, r15d
mov r12d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
movzx ecx, byte [rdx + 0x2c]
mov rbp, qword [rsp + 0x88]
test cl, cl
jne 0x18006e875
mov rax, qword [rdi]
test dword [rax + 0x2c], 0x1000000
jne 0x18006e875
cmp qword [rdi + 0x1c8], 0
jne 0x18006e875
cmp byte [rdi + 0x20], cl
jne 0x18006e875
xor r9d, r9d
mov edx, 0x313
mov rcx, rdi
lea r8d, [r9 + 2]
mov byte [rsp + 0x28], 4
mov byte [rsp + 0x20], 0xfe
call fcn.1800653f0
jmp 0x18006e8ef
mov r8d, dword [rsp + 0xb8]
test r8d, r8d
jle 0x18006e898
test cl, cl
jne 0x18006e898
mov rax, qword [rdi + 0x1c8]
test rax, rax
cmovne rdi, rax
mov byte [rdi + 0x21], 1
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
movzx edx, byte [rdx + 0x2c]
cmp dword [rax + 0x64], ecx
jg 0x18006e8c3
mov r9d, r8d
mov r8d, edx
mov rcx, rbx
mov edx, 0x87
mov dword [rsp + 0x20], r15d
call fcn.18003a660
jmp 0x18006e8ef
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 dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov word [rax + rcx*8], 0x87
mov rdx, qword [rbx + 0x30]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18006e917
movsxd rax, r14d
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
mov r14, qword [rsp + 0x40]
dec eax
mov dword [rdx + 0x6c], eax
mov rax, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], edx
jg 0x18006e952
xor r9d, r9d
mov r8d, r12d
mov rcx, rbx
lea edx, [r9 + 0x3d]
mov dword [rsp + 0x20], r15d
call fcn.18003a660
add rsp, 0x60
pop r15
pop r12
pop rbx
ret
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r15
mov word [rax + rcx*8], 0x3d
add rsp, 0x60
pop r15
pop r12
pop rbx
ret