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

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x40
mov rdi, qword [rcx]
mov r15d, edx
mov r13, qword [rcx + 8]
xor edx, edx
mov rbx, qword [rcx + 0x10]
mov ebp, r8d
mov rsi, rcx
mov dword [rsp + 0x80], edx
mov dword [rsp + 0x34], edx
movzx eax, byte [r13 + 0x20]
dec dword [rdi + 0x44]
mov r12d, dword [rdi + 0x44]
mov byte [rsp + 0x88], al
cmp r15d, 2
jne 0x180082885
cmp byte [r13 + 0x21], 0x5a
jne 0x180082885
xor eax, eax
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test ebp, ebp
jle 0x18008294e
cmp byte [r13 + 0x20], 0x59
movsxd rcx, dword [rbx + 0x90]
jne 0x1800828f8
mov dword [rsp + 0x34], ecx
cmp r15d, 2
jne 0x1800828d1
cmp byte [r13 + 0x21], 0x56
lea rdx, [rsi + 0x2c]
lfence
jne 0x1800828c0
mov r8d, dword [rsi + 0x34]
mov eax, 0x37
mov ecx, dword [rdx]
jmp 0x1800828e0
mov r8d, dword [rdx]
mov eax, 0x39
mov ecx, dword [rsi + 0x34]
lea rdx, [rsi + 0x34]
jmp 0x1800828e0
lfence
mov r8d, dword [rsi + 0x3c]
mov eax, 0x36
mov ecx, dword [rsi + 0x34]
mov dword [rsp + 0x28], r12d
mov r9d, ebp
mov dword [rsp + 0x20], ecx
mov edx, eax
mov rcx, rsi
call fcn.180082200
jmp 0x18008294e
cmp dword [rbx + 0x94], ecx
jg 0x18008291d
lfence
mov r9d, r12d
mov dword [rsp + 0x20], 1
mov edx, 0x3b
mov rcx, rbx
call fcn.180029bc0
jmp 0x18008294e
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], ebp
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], rdx
cmp r15d, 1
jne 0x180082968
cmp dword [r13 + 0x84], 0
jne 0x180082968
xor edx, edx
mov rcx, rsi
call fcn.180080850
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x38], eax
movzx eax, byte [r13 + 0x22]
mov qword [rsp + 0x90], r14
cmp byte [r13 + 0x21], al
jne 0x180082a72
test ebp, ebp
je 0x180082a72
cmp byte [r13 + 0x20], 0x59
jne 0x180082a72
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1800829b3
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x1800829df
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xe4]
test al, al
jne 0x1800829cf
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x1800829df
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xe4]
cmp r15d, 2
jne 0x180082a12
mov r8d, dword [rsi + 0x2c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rbx
call fcn.180029d60
mov r8d, dword [rsi + 0x3c]
mov r9d, r14d
mov edx, 0x87
mov rcx, rbx
call fcn.180029d60
mov r8d, r14d
jmp 0x180082a30
cmp dword [rsi + 0x28], 0
je 0x180082a44
mov r8d, dword [rsi + 0x3c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rbx
call fcn.180029d60
mov r8d, dword [rsi + 0x28]
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov edx, 0x39
mov rcx, rbx
call fcn.180029c20
test ebp, ebp
je 0x180082a5a
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x180082a5a
mov dword [rdi + rax*4 + 0xe4], ebp
inc byte [rdi + 0x1f]
test r14d, r14d
je 0x180082a72
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x180082a72
mov dword [rdi + rax*4 + 0xe4], r14d
inc byte [rdi + 0x1f]
mov ecx, r15d
sub ecx, 1
je 0x180082b13
cmp ecx, 1
je 0x180082acf
cmp dword [r13 + 0x84], 0
mov r14d, dword [rsi + 0x40]
mov ebp, dword [rsi + 0x3c]
mov dword [rsp + 0x30], r14d
je 0x180082ab5
mov r8d, dword [r13 + 0x88]
mov r9d, 1
mov edx, 0x56
mov rcx, rbx
call fcn.180029d60
jmp 0x180082b25
mov eax, dword [rsi + 0x20]
xor r9d, r9d
mov r8d, ebp
mov dword [rsp + 0x20], eax
mov rdx, r13
mov rcx, rsi
call fcn.18007fe30
jmp 0x180082b25
mov r8d, dword [r13 + 0x84]
mov r9d, 1
mov r14d, dword [rsi + 0x30]
mov ebp, dword [rsi + 0x2c]
mov dword [rsp + 0x30], r14d
test r8d, r8d
je 0x180082afc
mov edx, 0x56
mov rcx, rbx
call fcn.180029d60
jmp 0x180082b25
mov eax, dword [rsi + 0x20]
mov r8d, ebp
mov rdx, r13
mov dword [rsp + 0x20], eax
mov rcx, rsi
call fcn.18007fe30
jmp 0x180082b25
mov eax, dword [rsi + 0x38]
mov rcx, rsi
mov ebp, dword [rsi + 0x34]
mov dword [rsp + 0x30], eax
call fcn.180081440
cmp r15d, dword [rsi + 0x24]
jne 0x180082ba4
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180082b57
xor r14d, r14d
xor r9d, r9d
mov r8d, ebp
mov dword [rsp + 0x20], r14d
mov edx, 0x82
mov rcx, rbx
call fcn.180029bc0
jmp 0x180082b85
lea eax, [rcx + 1]
xor edx, edx
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
xor r14d, r14d
mov dword [rax + rcx*8], 0x82
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], rdx
mov qword [rax + rcx*8 + 0x10], rdx
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x180082ba7
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], 2
jmp 0x180082ba7
xor r14d, r14d
cmp dword [rsp + 0x98], 0
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
je 0x180082c3c
lea edx, [rcx + 2]
cmp eax, ecx
jg 0x180082bdf
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x27
mov r8d, ebp
mov rcx, rbx
call fcn.180029bc0
jmp 0x180082c0f
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov edx, 9
mov rcx, rbx
call fcn.180029c80
cmp byte [rsp + 0x88], 0x4c
mov r15d, eax
mov dword [rsp + 0x80], eax
je 0x180082d41
xor r15d, r15d
jmp 0x180082cbe
movzx r14d, byte [rsp + 0x88]
xor r15d, r15d
cmp r14b, 0x4c
mov edx, r15d
setne dl
inc edx
add edx, ecx
cmp eax, ecx
jg 0x180082c74
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x27
mov r8d, ebp
mov rcx, rbx
call fcn.180029bc0
jmp 0x180082ca1
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 dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
cmp r14b, 0x4c
je 0x180082d41
mov r9d, r12d
xor r8d, r8d
mov edx, 9
mov rcx, rbx
call fcn.180029d60
mov r14, qword [r13 + 0x18]
test r14, r14
je 0x180082cdf
mov r14d, dword [r14]
test r14d, r14d
je 0x180082ce2
mov edx, r14d
mov rcx, rdi
call fcn.180029800
mov r15d, eax
jmp 0x180082ce2
mov r14d, r15d
mov r8d, r15d
mov edx, ebp
mov rcx, rsi
call fcn.18007fd20
mov eax, dword [rsp + 0x38]
mov r8d, r15d
mov r9d, dword [rsp + 0x30]
mov rcx, rdi
mov rdx, qword [r13 + 0x18]
mov dword [rsp + 0x20], eax
call fcn.180081fc0
cmp r14d, 1
jne 0x180082d2b
test r15d, r15d
je 0x180082d39
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x180082d39
mov dword [rdi + rax*4 + 0xe4], r15d
inc byte [rdi + 0x1f]
jmp 0x180082d39
cmp r14d, dword [rdi + 0x28]
jle 0x180082d39
mov dword [rdi + 0x28], r14d
mov dword [rdi + 0x2c], r15d
mov r15d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x34]
mov r14, qword [rsp + 0x90]
test edx, edx
je 0x180082da8
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180082d7b
xor eax, eax
mov r9d, edx
mov edx, 9
mov dword [rsp + 0x20], eax
xor r8d, r8d
mov rcx, rbx
call fcn.180029bc0
jmp 0x180082da8
lea eax, [rcx + 1]
xor r8d, r8d
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], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
not r12d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180082dc4
mov r8d, r12d
mov rdx, rbx
call fcn.18002a930
jmp 0x180082dd5
mov rdx, qword [rcx + 0x50]
mov ecx, dword [rbx + 0x90]
movsxd r8, r12d
mov dword [rdx + r8*4], ecx
mov eax, r15d
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret