Function at 0x18009c560
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 0x18009c601
mov rcx, r8
call fcn.1800846f0
mov rdi, rax
mov qword [r12 + 0x18], rax
test rax, rax
je 0x18009c5fc
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rax
mov dword [rsp + 0x20], 0
call fcn.1800848c0
mov r8, qword [rsp + 0x68]
jmp 0x18009c601
mov r8, qword [rsp + 0x68]
test rdi, rdi
je 0x18009d3a2
test rsi, rsi
je 0x18009d3a2
cmp qword [rsi + 0x18], 0
je 0x18009d3a2
mov rdx, qword [rsi + 0x78]
mov qword [rsp + 0xa0], rbp
mov ebp, 0xfff0bdc0
mov dword [rsp + 0x38], ebp
test rdx, rdx
je 0x18009c663
mov ecx, dword [r8 + 8]
xor ebp, ebp
mov dword [rsp + 0x38], ebp
test ecx, ecx
jle 0x18009c663
mov rax, qword [r8 + 0x10]
add rax, 0x18
nop
cmp qword [rax], rdx
je 0x18009c65f
inc ebp
add rax, 0x20
cmp ebp, ecx
jl 0x18009c650
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.18009e940
test eax, eax
jne 0x18009d39a
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.18009ea00
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 0x18009d392
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.1800a4cc0
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 0x18009c737
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.1800848c0
mov rbp, qword [rdi + 0x20]
mov rcx, qword [rdi]
test rbp, rbp
je 0x18009c7b0
cmp byte [rcx + 0x2a], 0
jne 0x18009c7b0
test eax, eax
jns 0x18009c76f
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.180084cc0
xor ecx, ecx
mov qword [rbp + rbx*8 + 0x10], rcx
test r12, r12
jne 0x18009c79b
mov qword [rbp + rbx*8 + 0x10], rcx
mov byte [rbp + rbx*8 + 1], cl
jmp 0x18009c7bf
mov qword [rbp + rbx*8 + 0x10], r12
mov byte [rbp + rbx*8 + 1], 0xfa
jmp 0x18009c7bf
mov r8, r12
mov edx, 0xfffffff0
call fcn.180084cc0
xor ecx, ecx
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x40]
cmp qword [rax + 0x18], rbx
jne 0x18009c881
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.1800848c0
mov rbp, qword [rdi + 0x20]
mov rcx, qword [rdi]
test rbp, rbp
je 0x18009c877
cmp byte [rcx + 0x2a], 0
jne 0x18009c877
test eax, eax
jns 0x18009c80c
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.180084cc0
xor r11d, r11d
mov qword [rbp + rbx*8 + 0x10], r11
test r12, r12
jne 0x18009c83f
mov qword [rbp + rbx*8 + 0x10], r11
mov byte [rbp + rbx*8 + 1], r11b
mov rbx, qword [rsp + 0x40]
jmp 0x18009c881
mov rax, r12
cmp byte [r12], r11b
je 0x18009c850
inc rax
cmp byte [rax], r11b
jne 0x18009c848
mov rcx, qword [rdi]
sub eax, r12d
mov rdx, r12
and eax, 0x3fffffff
mov r8d, eax
call fcn.180064a50
mov byte [rbp + rbx*8 + 1], 0xff
mov qword [rbp + rbx*8 + 0x10], rax
mov rbx, qword [rsp + 0x40]
jmp 0x18009c881
mov r8, r12
xor edx, edx
call fcn.180084cc0
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.1800848c0
mov rbp, qword [rdi + 0x20]
mov rcx, qword [rdi]
test rbp, rbp
je 0x18009c91b
cmp byte [rcx + 0x2a], 0
jne 0x18009c91b
test eax, eax
jns 0x18009c8bb
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.180084cc0
xor eax, eax
mov qword [rbp + rbx*8 + 0x10], rax
test r12, r12
jne 0x18009c8e7
mov qword [rbp + rbx*8 + 0x10], rax
mov byte [rbp + rbx*8 + 1], al
jmp 0x18009c925
cmp byte [r12], 0
mov rax, r12
je 0x18009c8f9
inc rax
cmp byte [rax], 0
jne 0x18009c8f1
mov rcx, qword [rdi]
sub eax, r12d
mov rdx, r12
and eax, 0x3fffffff
mov r8d, eax
call fcn.180064a50
mov byte [rbp + rbx*8 + 1], 0xff
mov qword [rbp + rbx*8 + 0x10], rax
jmp 0x18009c925
mov r8, r12
xor edx, edx
call fcn.180084cc0
xor ebp, ebp
mov ebx, ebp
test r15d, r15d
js 0x18009c960
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.1800848c0
inc ebx
cmp ebx, r15d
jle 0x18009c940
jmp 0x18009c968
mov r12d, dword [rsp + 0xe8]
mov ebx, ebp
test r15d, r15d
jle 0x18009c9d3
nop
movsxd rbp, dword [rdi + 0x18]
cmp dword [r13], ebp
jg 0x18009c986
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009c9ca
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 0x18009c9cc
xor ebp, ebp
inc ebx
cmp ebx, r15d
jl 0x18009c970
mov rcx, rdi
call fcn.180084a00
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
mov r12d, eax
mov dword [rsp + 0x4c], eax
jg 0x18009c9f8
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009ca2e
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 0x18009ca49
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009ca86
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 0x18009cb74
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 0x18009cab6
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009caed
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 0x18009cb02
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009cb45
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 0x18009cb5b
movsxd rax, dword [rdi + 0x18]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
inc ebp
cmp ebp, r15d
jl 0x18009caa1
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 0x18009d37a
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x18009cb98
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009cbd1
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 0x18009cbd4
xor r8d, r8d
mov ebp, r8d
test r15d, r15d
jle 0x18009ccd2
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 0x18009cc0a
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 0x18009cc22
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009cc5d
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 0x18009cc72
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009ccb7
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 0x18009cbf0
mov r12d, dword [rsp + 0x4c]
mov r13d, dword [rsp + 0x34]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x18009ccee
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 0x18009cd03
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009cd3f
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 0x18009cd46
mov ebp, dword [rsp + 0x30]
xor r14d, r14d
movsxd rbx, dword [rdi + 0x18]
lea r13, [rdi + 0x1c]
cmp dword [r13], ebx
jg 0x18009cd60
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009cd93
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 0x18009cdc3
mov rcx, rdi
call fcn.180084820
test eax, eax
je 0x18009cdc3
mov r12d, dword [rsp + 0xe8]
mov r15d, 1
mov dword [rsp + 0x34], r15d
jmp 0x18009cdff
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 0x18009ce15
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009ce51
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 0x18009ce54
xor r12d, r12d
mov ebp, dword [rsp + 0x54]
mov r14d, r12d
test ebp, ebp
jle 0x18009d16c
mov r15d, dword [rsp + 0x70]
mov qword [rsp + 0x78], r13
nop dword [rax]
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009ce8d
mov rcx, rdi
call fcn.180084820
test eax, eax
je 0x18009ce8d
mov ebx, 1
jmp 0x18009cec1
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 0x18009cf61
cmp byte [rcx + 0x2a], 0
jne 0x18009cf61
test ebx, ebx
jns 0x18009cee4
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.180084cc0
lea rax, [0x180128770]
mov qword [r12 + r13*8 + 0x10], 0
mov rbx, rax
nop
inc rbx
cmp byte [rbx], 0
jne 0x18009cf10
mov rcx, qword [rdi]
sub ebx, eax
and ebx, 0x3fffffff
lea edx, [rbx + 1]
call fcn.180064880
mov rbp, rax
test rax, rax
je 0x18009cf4c
movsxd rbx, ebx
lea rdx, [0x180128770]
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 0x18009cf6f
lea r8, [0x180128770]
xor edx, edx
call fcn.180084cc0
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009cf85
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009cfbf
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 0x18009cfd5
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009d01b
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 0x18009d023
mov r12d, dword [rsp + 0xe8]
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009d039
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009d06f
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 0x18009d085
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009d0c2
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 0x18009d0c5
xor r12d, r12d
movsxd rbx, dword [rdi + 0x18]
cmp dword [r13], ebx
jg 0x18009d0db
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009d10f
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 0x18009d125
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009d15b
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 0x18009ce70
mov r15d, dword [rsp + 0x34]
movsxd rbx, dword [rdi + 0x18]
mov rbp, r13
cmp dword [r13], ebx
jg 0x18009d18c
mov rcx, rdi
call fcn.180084820
test eax, eax
je 0x18009d18c
mov ebx, 1
jmp 0x18009d1c9
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 0x18009d268
cmp byte [rcx + 0x2a], 0
jne 0x18009d268
test ebx, ebx
jns 0x18009d1ec
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.180084cc0
lea rax, [0x180136478]
mov qword [r12 + r13*8 + 0x10], 0
mov rbx, rax
inc rbx
cmp byte [rbx], 0
jne 0x18009d216
mov rcx, qword [rdi]
sub ebx, eax
and ebx, 0x3fffffff
lea edx, [rbx + 1]
call fcn.180064880
mov rbp, rax
test rax, rax
je 0x18009d252
movsxd rbx, ebx
lea rdx, [0x180136478]
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 0x18009d276
lea r8, [0x180136478]
xor edx, edx
call fcn.180084cc0
movsxd rbx, dword [rdi + 0x18]
cmp dword [rbp], ebx
jg 0x18009d28b
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009d2cb
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 0x18009d2d3
mov r12d, dword [rsp + 0xe0]
movsxd rbx, dword [rdi + 0x18]
cmp dword [rbp], ebx
jg 0x18009d2e8
mov rcx, rdi
call fcn.180084820
test eax, eax
jne 0x18009d326
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 0x18009d33c
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 0x18009d353
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 0x18009c700
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