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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
sub rsp, 0xb0
mov rdi, qword [rcx + 0x18]
mov r8, qword [rcx]
mov eax, r9d
mov dword [rsp + 0x58], eax
inc eax
mov rsi, rdx
mov dword [rsp + 0x60], eax
inc eax
mov r12, rcx
mov dword [rsp + 0x3c], eax
inc eax
mov qword [rsp + 0x68], r8
mov dword [rsp + 0x5c], eax
inc eax
mov dword [rsp + 0x48], eax
inc eax
mov dword [rsp + 0x70], eax
inc eax
mov dword [rsp + 0x50], eax
inc eax
mov dword [rsp + 0xe8], eax
test rdi, rdi
jne 0x18009c2b1
mov rcx, r8
call fcn.1800843a0
mov rdi, rax
mov qword [r12 + 0x18], rax
test rax, rax
je 0x18009c2ac
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rax
mov dword [rsp + 0x20], 0
call fcn.180084570
mov r8, qword [rsp + 0x68]
jmp 0x18009c2b1
mov r8, qword [rsp + 0x68]
test rdi, rdi
je 0x18009d052
test rsi, rsi
je 0x18009d052
cmp qword [rsi + 0x18], 0
je 0x18009d052
mov rdx, qword [rsi + 0x78]
mov qword [rsp + 0xa0], rbp
mov ebp, 0xfff0bdc0
mov dword [rsp + 0x38], ebp
test rdx, rdx
je 0x18009c313
mov ecx, dword [r8 + 8]
xor ebp, ebp
mov dword [rsp + 0x38], ebp
test ecx, ecx
jle 0x18009c313
mov rax, qword [r8 + 0x10]
add rax, 0x18
nop
cmp qword [rax], rdx
je 0x18009c30f
inc ebp
add rax, 0x20
cmp ebp, ecx
jl 0x18009c300
mov dword [rsp + 0x38], ebp
mov rax, qword [r8 + 0x10]
mov r8, qword [rsi]
xor r9d, r9d
movsxd rcx, ebp
lea edx, [r9 + 0x1c]
shl rcx, 5
mov rcx, qword [rcx + rax]
mov qword [rsp + 0x20], rcx
mov rcx, r12
call fcn.18009e5f0
test eax, eax
jne 0x18009d04a
mov rax, qword [rsi]
mov r8d, dword [rsi + 0x20]
xor r9d, r9d
mov edx, ebp
mov rcx, r12
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x20], rax
call fcn.18009e6b0
mov ebx, dword [r12 + 0x54]
lea eax, [rbx + 1]
mov dword [rsp + 0x30], ebx
mov dword [r12 + 0x54], eax
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x18009d042
mov qword [rsp + 0x98], r13
lea r13, [rdi + 0x1c]
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x88], r15
nop word [rax + rax]
mov r15d, dword [rcx + 8]
mov rdx, rcx
mov rcx, r12
mov dword [rsp + 0x54], r15d
call fcn.1800a4970
lea r14d, [r15 + r15]
mov r12, rax
mov eax, dword [rsp + 0xe8]
lea ecx, [r14 + rax + 1]
mov rax, qword [rsp + 0xd0]
cmp ecx, dword [rax + 0x58]
jle 0x18009c3e7
mov dword [rax + 0x58], ecx
mov rax, qword [rsp + 0x40]
mov r8d, ebx
mov edx, 0x26
mov r9d, dword [rax + 0x28]
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.180084570
mov rbp, qword [rdi + 0x20]
mov rcx, qword [rdi]
test rbp, rbp
je 0x18009c460
cmp byte [rcx + 0x2a], 0
jne 0x18009c460
test eax, eax
jns 0x18009c41f
mov eax, dword [rdi + 0x18]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rbp + rbx*8 + 1]
mov r8, qword [rbp + rbx*8 + 0x10]
call fcn.180084970
xor ecx, ecx
mov qword [rbp + rbx*8 + 0x10], rcx
test r12, r12
jne 0x18009c44b
mov qword [rbp + rbx*8 + 0x10], rcx
mov byte [rbp + rbx*8 + 1], cl
jmp 0x18009c46f
mov qword [rbp + rbx*8 + 0x10], r12
mov byte [rbp + rbx*8 + 1], 0xfa
jmp 0x18009c46f
mov r8, r12
mov edx, 0xfffffff0
call fcn.180084970
xor ecx, ecx
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x40]
cmp qword [rax + 0x18], rbx
jne 0x18009c531
mov r9d, dword [rsp + 0x58]
mov r12, qword [rax]
xor r8d, r8d
mov dword [rsp + 0x20], ecx
lea edx, [r8 + 0x5e]
mov rcx, rdi
call fcn.180084570
mov rbp, qword [rdi + 0x20]
mov rcx, qword [rdi]
test rbp, rbp
je 0x18009c527
cmp byte [rcx + 0x2a], 0
jne 0x18009c527
test eax, eax
jns 0x18009c4bc
mov eax, dword [rdi + 0x18]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rbp + rbx*8 + 1]
mov r8, qword [rbp + rbx*8 + 0x10]
call fcn.180084970
xor r11d, r11d
mov qword [rbp + rbx*8 + 0x10], r11
test r12, r12
jne 0x18009c4ef
mov qword [rbp + rbx*8 + 0x10], r11
mov byte [rbp + rbx*8 + 1], r11b
mov rbx, qword [rsp + 0x40]
jmp 0x18009c531
mov rax, r12
cmp byte [r12], r11b
je 0x18009c500
inc rax
cmp byte [rax], r11b
jne 0x18009c4f8
mov rcx, qword [rdi]
sub eax, r12d
mov rdx, r12
and eax, 0x3fffffff
mov r8d, eax
call fcn.180064700
mov byte [rbp + rbx*8 + 1], 0xff
mov qword [rbp + rbx*8 + 0x10], rax
mov rbx, qword [rsp + 0x40]
jmp 0x18009c531
mov r8, r12
xor edx, edx
call fcn.180084970
mov r9d, dword [rsp + 0x60]
mov r12, qword [rbx]
xor r8d, r8d
lea edx, [r8 + 0x5e]
mov rcx, rdi
mov dword [rsp + 0x20], 0
call fcn.180084570
mov rbp, qword [rdi + 0x20]
mov rcx, qword [rdi]
test rbp, rbp
je 0x18009c5cb
cmp byte [rcx + 0x2a], 0
jne 0x18009c5cb
test eax, eax
jns 0x18009c56b
mov eax, dword [rdi + 0x18]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rbp + rbx*8 + 1]
mov r8, qword [rbp + rbx*8 + 0x10]
call fcn.180084970
xor eax, eax
mov qword [rbp + rbx*8 + 0x10], rax
test r12, r12
jne 0x18009c597
mov qword [rbp + rbx*8 + 0x10], rax
mov byte [rbp + rbx*8 + 1], al
jmp 0x18009c5d5
cmp byte [r12], 0
mov rax, r12
je 0x18009c5a9
inc rax
cmp byte [rax], 0
jne 0x18009c5a1
mov rcx, qword [rdi]
sub eax, r12d
mov rdx, r12
and eax, 0x3fffffff
mov r8d, eax
call fcn.180064700
mov byte [rbp + rbx*8 + 1], 0xff
mov qword [rbp + rbx*8 + 0x10], rax
jmp 0x18009c5d5
mov r8, r12
xor edx, edx
call fcn.180084970
xor ebp, ebp
mov ebx, ebp
test r15d, r15d
js 0x18009c610
mov r12d, dword [rsp + 0xe8]
nop word [rax + rax]
xor r8d, r8d
lea r9d, [rbx + r12]
mov rcx, rdi
lea edx, [r8 + 7]
mov dword [rsp + 0x20], ebp
call fcn.180084570
inc ebx
cmp ebx, r15d
jle 0x18009c5f0
jmp 0x18009c618
mov r12d, dword [rsp + 0xe8]
mov ebx, ebp
test r15d, r15d
jle 0x18009c683
nop
movsxd rbp, dword [rdi + 0x18]
cmp dword [r13], ebp
jg 0x18009c636
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009c67a
inc dword [rdi + 0x18]
mov rdx, qword [rdi + 0x20]
lea r8, [rbp + rbp*2]
xor ebp, ebp
lea eax, [rbx + r15]
mov byte [rdx + r8*8], 0xa
lea ecx, [rax + r12 + 1]
mov byte [rdx + r8*8 + 3], 0
mov dword [rdx + r8*8 + 4], ebp
mov dword [rdx + r8*8 + 0xc], ebp
mov qword [rdx + r8*8 + 0x10], rbp
mov byte [rdx + r8*8 + 1], bpl
mov dword [rdx + r8*8 + 8], ecx
mov byte [rdi + 0xa2], bpl
jmp 0x18009c67c
xor ebp, ebp
inc ebx
cmp ebx, r15d
jl 0x18009c620
mov rcx, rdi
call fcn.1800846b0
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
mov r12d, eax
mov dword [rsp + 0x4c], eax
jg 0x18009c6a8
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009c6de
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov ecx, dword [rsp + 0x30]
lea rdx, [rbx + rbx*2]
mov byte [rax + rdx*8], 0x41
mov byte [rax + rdx*8 + 3], 0
mov dword [rax + rdx*8 + 4], ecx
mov dword [rax + rdx*8 + 8], r12d
mov dword [rax + rdx*8 + 0xc], ebp
mov qword [rax + rdx*8 + 0x10], rbp
mov byte [rax + rdx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd r13, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], r13d
mov dword [rsp + 0x34], r13d
jg 0x18009c6f9
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009c736
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0xe8]
lea rcx, [r13 + r13*2]
mov byte [rax + rcx*8], 0x14
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], 1
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
test r15d, r15d
jle 0x18009c824
mov r14d, dword [rsp + 0xe8]
mov r12d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x5c]
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x18009c766
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009c79d
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x1c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x18009c7b2
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009c7f5
inc dword [rdi + 0x18]
mov rdx, qword [rdi + 0x20]
lea r8, [rbx + rbx*2]
xor r9d, r9d
lea eax, [rbp + r15]
mov byte [rdx + r8*8], 0x4b
lea ecx, [rax + r14 + 1]
mov byte [rdx + r8*8 + 3], 0
mov dword [rdx + r8*8 + 4], r13d
mov dword [rdx + r8*8 + 8], r9d
mov qword [rdx + r8*8 + 0x10], r9
mov byte [rdx + r8*8 + 1], r9b
mov dword [rdx + r8*8 + 0xc], ecx
mov byte [rdi + 0xa2], r9b
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x18009c80b
movsxd rax, dword [rdi + 0x18]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
inc ebp
cmp ebp, r15d
jl 0x18009c751
mov r12d, dword [rsp + 0x4c]
mov r13d, dword [rsp + 0x34]
lea r14d, [r15 + r15]
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x2a], 0
jne 0x18009d02a
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x18009c848
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009c881
inc dword [rdi + 0x18]
mov rax, qword [rdi + 0x20]
lea rcx, [rbx + rbx*2]
xor r8d, r8d
mov byte [rax + rcx*8], 1
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], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], r8b
mov byte [rdi + 0xa2], r8b
jmp 0x18009c884
xor r8d, r8d
mov ebp, r8d
test r15d, r15d
jle 0x18009c982
mov r13d, dword [rsp + 0xe8]
mov r12d, dword [rsp + 0x30]
nop dword [rax]
mov edx, dword [rdi + 0x18]
mov eax, edx
sub eax, r14d
cmp edx, eax
jle 0x18009c8ba
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x20]
mov dword [rax + rcx*8 + 8], edx
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x18009c8d2
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009c90d
xor r8d, r8d
mov rcx, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea rdx, [rbx + rbx*2]
lea eax, [rbp + r13 + 1]
mov byte [rcx + rdx*8], 0x14
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], 1
mov dword [rcx + rdx*8 + 0xc], r8d
mov qword [rcx + rdx*8 + 0x10], r8
mov dword [rcx + rdx*8 + 4], eax
mov byte [rcx + rdx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x18009c922
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009c967
mov rdx, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea r8, [rbx + rbx*2]
lea eax, [rbp + r15]
mov byte [rdx + r8*8], 0x1c
mov byte [rdx + r8*8 + 3], 0
lea ecx, [rax + r13 + 1]
mov dword [rdx + r8*8 + 4], r12d
mov dword [rdx + r8*8 + 8], ebp
mov qword [rdx + r8*8 + 0x10], 0
mov byte [rdx + r8*8 + 1], 0
mov dword [rdx + r8*8 + 0xc], ecx
mov byte [rdi + 0xa2], 0
inc ebp
mov r8d, 0
cmp ebp, r15d
jl 0x18009c8a0
mov r12d, dword [rsp + 0x4c]
mov r13d, dword [rsp + 0x34]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x18009c99e
movsxd rax, r12d
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rdi + 0x18]
mov dword [rcx], eax
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x18009c9b3
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009c9ef
inc dword [rdi + 0x18]
mov rax, qword [rdi + 0x20]
mov ebp, dword [rsp + 0x30]
lea rcx, [rbx + rbx*2]
xor r14d, r14d
mov byte [rax + rcx*8], 0x43
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], r14b
mov byte [rdi + 0xa2], r14b
jmp 0x18009c9f6
mov ebp, dword [rsp + 0x30]
xor r14d, r14d
movsxd rbx, dword [rdi + 0x18]
lea r13, [rdi + 0x1c]
cmp dword [r13], ebx
jg 0x18009ca10
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009ca43
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x2b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd r15, dword [rdi + 0x18]
cmp dword [r13], r15d
mov dword [rsp + 0x34], r15d
jg 0x18009ca73
mov rcx, rdi
call fcn.1800844d0
test eax, eax
je 0x18009ca73
mov r12d, dword [rsp + 0xe8]
mov r15d, 1
mov dword [rsp + 0x34], r15d
jmp 0x18009caaf
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov r12d, dword [rsp + 0xe8]
lea rcx, [r15 + r15*2]
mov byte [rax + rcx*8], 0x1b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009cac5
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009cb01
inc dword [rdi + 0x18]
mov rax, qword [rdi + 0x20]
mov edx, dword [rsp + 0x3c]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], r12d
xor r12d, r12d
mov byte [rax + rcx*8], 0xf
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], r12b
mov byte [rdi + 0xa2], r12b
jmp 0x18009cb04
xor r12d, r12d
mov ebp, dword [rsp + 0x54]
mov r14d, r12d
test ebp, ebp
jle 0x18009ce1c
mov r15d, dword [rsp + 0x70]
mov qword [rsp + 0x78], r13
nop dword [rax]
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009cb3d
mov rcx, rdi
call fcn.1800844d0
test eax, eax
je 0x18009cb3d
mov ebx, 1
jmp 0x18009cb71
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x5e
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], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
mov r12, qword [rdi + 0x20]
mov rcx, qword [rdi]
test r12, r12
je 0x18009cc11
cmp byte [rcx + 0x2a], 0
jne 0x18009cc11
test ebx, ebx
jns 0x18009cb94
mov ebx, dword [rdi + 0x18]
dec ebx
movsxd rax, ebx
lea r13, [rax + rax*2]
movsx edx, byte [r12 + r13*8 + 1]
mov r8, qword [r12 + r13*8 + 0x10]
call fcn.180084970
lea rax, [0x180127770]
mov qword [r12 + r13*8 + 0x10], 0
mov rbx, rax
nop
inc rbx
cmp byte [rbx], 0
jne 0x18009cbc0
mov rcx, qword [rdi]
sub ebx, eax
and ebx, 0x3fffffff
lea edx, [rbx + 1]
call fcn.180064530
mov rbp, rax
test rax, rax
je 0x18009cbfc
movsxd rbx, ebx
lea rdx, [0x180127770]
mov rcx, rax
mov r8, rbx
call sub.MSVCR90.dll_memcpy
mov byte [rbx + rbp], 0
mov qword [r12 + r13*8 + 0x10], rbp
mov ebp, dword [rsp + 0x54]
mov byte [r12 + r13*8 + 1], 0xff
lea r13, [rdi + 0x1c]
jmp 0x18009cc1f
lea r8, [0x180127770]
xor edx, edx
call fcn.180084970
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009cc35
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009cc6f
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0x3c]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x5b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009cc85
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009cccb
mov rcx, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov r12d, dword [rsp + 0xe8]
lea rdx, [rbx + rbx*2]
lea eax, [r14 + r12 + 1]
mov dword [rcx + rdx*8 + 8], eax
mov byte [rcx + rdx*8], 0x56
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], r12d
mov dword [rcx + rdx*8 + 0xc], r15d
mov qword [rcx + rdx*8 + 0x10], 0
mov byte [rcx + rdx*8 + 1], 0
mov byte [rdi + 0xa2], 0
jmp 0x18009ccd3
mov r12d, dword [rsp + 0xe8]
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009cce9
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009cd1f
inc dword [rdi + 0x18]
mov rax, qword [rdi + 0x20]
lea rcx, [rbx + rbx*2]
xor edx, edx
mov byte [rax + rcx*8], 0x14
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], 0xffffffff
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov byte [rdi + 0xa2], dl
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009cd35
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009cd72
inc dword [rdi + 0x18]
mov rcx, qword [rdi + 0x20]
lea rdx, [rbx + rbx*2]
lea eax, [r14 + r12 + 1]
xor r12d, r12d
mov byte [rcx + rdx*8], 0x59
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], r15d
mov dword [rcx + rdx*8 + 0xc], r15d
mov dword [rcx + rdx*8 + 4], eax
mov qword [rcx + rdx*8 + 0x10], r12
mov byte [rcx + rdx*8 + 1], r12b
mov byte [rdi + 0xa2], r12b
jmp 0x18009cd75
xor r12d, r12d
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009cd8b
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009cdbf
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x90
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009cdd5
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009ce0b
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0x3c]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x5b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
inc r14d
cmp r14d, ebp
jl 0x18009cb20
mov r15d, dword [rsp + 0x34]
movsxd rbx, dword [rdi + 0x18]
mov rbp, r13
cmp dword [r13], ebx
jg 0x18009ce3c
mov rcx, rdi
call fcn.1800844d0
test eax, eax
je 0x18009ce3c
mov ebx, 1
jmp 0x18009ce79
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0x58]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x48]
mov byte [rax + rcx*8], 0x1e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], 3
mov qword [rax + rcx*8 + 0x10], r12
mov dword [rax + rcx*8 + 0xc], edx
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
mov r12, qword [rdi + 0x20]
mov rcx, qword [rdi]
test r12, r12
je 0x18009cf18
cmp byte [rcx + 0x2a], 0
jne 0x18009cf18
test ebx, ebx
jns 0x18009ce9c
mov ebx, dword [rdi + 0x18]
dec ebx
movsxd rax, ebx
lea r13, [rax + rax*2]
movsx edx, byte [r12 + r13*8 + 1]
mov r8, qword [r12 + r13*8 + 0x10]
call fcn.180084970
lea rax, [0x180135478]
mov qword [r12 + r13*8 + 0x10], 0
mov rbx, rax
inc rbx
cmp byte [rbx], 0
jne 0x18009cec6
mov rcx, qword [rdi]
sub ebx, eax
and ebx, 0x3fffffff
lea edx, [rbx + 1]
call fcn.180064530
mov rbp, rax
test rax, rax
je 0x18009cf02
movsxd rbx, ebx
lea rdx, [0x180135478]
mov rcx, rax
mov r8, rbx
call sub.MSVCR90.dll_memcpy
mov byte [rbx + rbp], 0
mov qword [r12 + r13*8 + 0x10], rbp
mov rbp, qword [rsp + 0x78]
mov byte [r12 + r13*8 + 1], 0xff
lea r13, [rdi + 0x1c]
jmp 0x18009cf26
lea r8, [0x180135478]
xor edx, edx
call fcn.180084970
movsxd rbx, dword [rdi + 0x18]
cmp dword [rbp], ebx
jg 0x18009cf3b
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009cf7b
inc dword [rdi + 0x18]
mov rax, qword [rdi + 0x20]
mov edx, dword [rsp + 0x50]
mov r12d, dword [rsp + 0xe0]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov byte [rax + rcx*8], 0x36
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov byte [rdi + 0xa2], dl
jmp 0x18009cf83
mov r12d, dword [rsp + 0xe0]
movsxd rbx, dword [rdi + 0x18]
cmp dword [rbp], ebx
jg 0x18009cf98
mov rcx, rdi
call fcn.1800844d0
test eax, eax
jne 0x18009cfd6
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0x48]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + 0x50]
mov byte [rax + rcx*8], 0x37
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov qword [rax + rcx*8 + 0x10], 0
mov dword [rax + rcx*8 + 0xc], edx
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x18009cfec
movsxd rax, dword [rdi + 0x18]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
mov edx, dword [rdi + 0x18]
cmp edx, r15d
jle 0x18009d003
movsxd rax, r15d
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x20]
mov dword [rax + rcx*8 + 8], edx
mov rcx, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x30]
mov ebp, dword [rsp + 0x38]
mov rcx, qword [rcx + 0x38]
mov r12, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rcx
test rcx, rcx
jne 0x18009c3b0
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
mov r15, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
add rsp, 0xb0
pop r12
pop rdi
pop rsi
ret