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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
dec dword [rcx + 0x44]
mov rsi, rcx
mov eax, dword [rcx + 0x44]
mov r13d, r9d
mov rbx, qword [rcx + 0x10]
xor r9d, r9d
mov rcx, qword [rsp + 0xd0]
mov r12, rdx
mov r11d, dword [r8 + 0x1c]
mov r15, r8
mov rdi, qword [r8]
mov ebp, r9d
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 4]
movzx r14d, byte [rcx]
mov dword [rsp + 0x44], eax
mov rax, qword [rdx + 0x20]
mov edx, dword [r8 + 0x14]
add rax, 8
mov dword [rsp + 0x3c], r11d
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x50], rax
test edx, edx
je 0x180305283
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [r8 + 0x10]
cmp dword [rbx + 0x94], ecx
jg 0x18030520b
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, 0xc
call fcn.1802bb270
mov r11d, dword [rsp + 0x3c]
jmp 0x180305239
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xc
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
mov edx, r11d
mov rcx, rbx
call fcn.1802bb490
mov rcx, qword [rbx + 0x18]
mov edx, dword [r15 + 0x14]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180305263
mov r8d, edx
mov rdx, rbx
call fcn.1802bbc10
jmp 0x180305273
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov r11d, dword [rsp + 0x3c]
xor r9d, r9d
mov rcx, qword [rsp + 0xd0]
mov edx, dword [r15 + 0xc]
mov dword [rsp + 0x38], edx
cmp r14d, 9
je 0x180305310
cmp r14b, 0xd
je 0x180305310
cmp r14b, 0xa
je 0x180305310
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x1803052b0
inc dword [rsi + 0x38]
mov r10d, dword [rsi + 0x38]
xor cl, cl
jmp 0x1803052c0
dec al
movzx ecx, al
mov byte [rsi + 0x1f], cl
mov r10d, dword [rsi + rcx*4 + 0xcc]
lea eax, [r14 - 0xc]
mov dword [rsp + 0xc8], r10d
test al, 0xfd
je 0x1803052eb
mov edx, r13d
mov rcx, rsi
call fcn.1802db840
mov edx, dword [rsp + 0x38]
mov r14d, eax
mov dword [rsp + 0x30], eax
xor r9d, r9d
jmp 0x180305321
test cl, cl
jne 0x1803052fb
inc dword [rsi + 0x38]
mov r13d, r9d
mov r14d, dword [rsi + 0x38]
jmp 0x18030531c
dec cl
mov r13d, r9d
movzx eax, cl
mov byte [rsi + 0x1f], al
mov r14d, dword [rsi + rax*4 + 0xcc]
jmp 0x18030531c
mov r14d, dword [rcx + 8]
mov dword [rsp + 0xc8], r9d
mov dword [rsp + 0x30], r14d
mov rcx, qword [rsp + 0xc0]
mov r15d, dword [rdi]
sub r15d, dword [rcx + 8]
test byte [rcx + 0x24], 1
je 0x180305460
mov edi, dword [rsi + 0x34]
inc dword [rsi + 0x38]
mov r12d, dword [rsi + 0x38]
mov dword [rsp + 0x40], edi
lea eax, [rdi + 1]
mov dword [rsi + 0x34], eax
cmp dword [rcx + 0x14], ebp
je 0x180305362
mov edx, 0x11
mov rcx, rbx
call fcn.1802bb340
mov ebp, eax
lea ecx, [r15 + 1]
mov r9d, r12d
add ecx, r13d
mov r8d, edi
mov dword [rsp + 0x20], ecx
mov edx, 0x72
mov rcx, rbx
call fcn.1802bb2d0
lea rdi, [rbx + 0x90]
test ebp, ebp
je 0x1803053bb
mov rax, qword [rbx]
mov edx, dword [rdi]
cmp byte [rax + 0x61], 0
je 0x18030539f
lea rax, [0x1804de2c0]
jmp 0x1803053b8
lea eax, [rdx - 1]
test ebp, ebp
cmovns eax, ebp
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rbp, dword [rdi]
cmp dword [rbx + 0x94], ebp
jg 0x1803053e5
mov r9d, dword [rsp + 0x3c]
xor ebp, ebp
mov r8d, dword [rsp + 0x38]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
lea edx, [rbp + 0x23]
call fcn.1802bb270
mov ebp, eax
jmp 0x180305420
mov edx, dword [rsp + 0x38]
lea eax, [rbp + 1]
mov dword [rdi], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x88]
add rcx, rbp
xor r8d, r8d
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x3c]
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8], 0x23
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rsp + 0xb8]
mov rcx, rbx
mov r8d, dword [rsp + 0x48]
mov edx, dword [rax + 0xc]
call fcn.180303c20
mov eax, dword [rsp + 0x40]
mov r9d, r12d
mov r8d, dword [rsp + 0x38]
mov edx, 0x7d
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.1802bb2d0
xor r10d, r10d
mov eax, r10d
jmp 0x1803054e1
lea rdi, [rbx + 0x90]
movsxd rbp, dword [rdi]
cmp dword [rbx + 0x94], ebp
jg 0x18030548e
mov dword [rsp + 0x20], r9d
mov r8d, edx
mov r9d, r11d
mov edx, 0x24
mov rcx, rbx
call fcn.1802bb270
mov ebp, eax
jmp 0x1803054bf
lea eax, [rbp + 1]
mov dword [rdi], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x88]
add rcx, rbp
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r11d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov r8d, dword [rsp + 0x48]
mov rcx, rbx
mov edx, dword [r12 + 0xc]
call fcn.180303c20
mov eax, dword [rsp + 0x38]
xor r10d, r10d
mov dword [rsp + 0x40], eax
mov eax, 1
mov r8, qword [rsp + 0x50]
lea r12d, [rbp + 1]
mov dword [rsp + 0x4c], r12d
lea r9d, [rax + r15]
mov dword [rsp + 0xb8], r9d
lea ebp, [r9 - 1]
test r13d, r13d
jle 0x180305526
lea rcx, [r8 + 0x18]
mov edx, r13d
nop dword [rax + rax]
cmp word [rcx], 0
lea eax, [rbp + 1]
lea rcx, [rcx + 0x20]
cmovne eax, ebp
mov ebp, eax
sub rdx, 1
jne 0x180305510
lea eax, [r13 - 1]
movsxd r15, eax
test eax, eax
js 0x1803055d8
mov esi, dword [rsp + 0x40]
lea r12, [r8 + 0x18]
add r14d, eax
mov rax, r15
shl rax, 5
add r12, rax
nop word [rax + rax]
movzx eax, word [r12]
test ax, ax
je 0x180305561
movzx edx, ax
dec edx
jmp 0x180305565
mov edx, ebp
dec ebp
movsxd rcx, dword [rdi]
cmp dword [rbx + 0x94], ecx
jg 0x18030558d
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x59
mov r8d, esi
mov rcx, rbx
call fcn.1802bb270
xor r10d, r10d
jmp 0x1803055b6
lea eax, [rcx + 1]
mov dword [rdi], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x59
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r10
dec r14d
sub r12, 0x20
sub r15, 1
jns 0x180305550
mov rsi, qword [rsp + 0xb0]
mov r9d, dword [rsp + 0xb8]
mov r12d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x34]
mov ecx, edx
sub ecx, 0xa
je 0x180305999
sub ecx, 1
je 0x180305836
sub ecx, 1
je 0x1803056f6
cmp ecx, 2
je 0x1803056f6
movsxd rcx, dword [rdi]
mov eax, dword [rbx + 0x94]
mov rbp, qword [rsp + 0xd0]
cmp dl, 9
jne 0x1803056ad
mov edx, dword [rbp + 8]
cmp eax, ecx
jg 0x18030563d
mov r8d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0x50
mov r9d, r13d
mov rcx, rbx
call fcn.1802bb270
jmp 0x180305667
lea eax, [rcx + 1]
mov dword [rdi], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x50
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov r14d, dword [rsp + 0x30]
xor ebp, ebp
mov r15d, dword [rsp + 0xc8]
mov edx, dword [rsp + 0x34]
test r15d, r15d
je 0x1803059de
cmp dl, 0xb
jne 0x1803059ad
cmp r13d, 1
je 0x1803059ad
cmp r13d, dword [rsi + 0x28]
jle 0x1803059c8
mov dword [rsi + 0x28], r13d
mov dword [rsi + 0x2c], r14d
jmp 0x1803059c8
mov edx, dword [rbp + 4]
cmp eax, ecx
jg 0x1803056cd
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0xe]
call fcn.1802bb270
jmp 0x180305667
lea eax, [rcx + 1]
mov dword [rdi], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xe
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
jmp 0x180305662
movsxd rcx, dword [rdi]
mov r14d, dword [rsp + 0x30]
cmp dword [rbx + 0x94], ecx
jg 0x180305722
mov r8d, dword [rsp + 0x40]
mov edx, 0x59
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.1802bb270
xor r10d, r10d
jmp 0x180305750
mov edx, dword [rsp + 0x40]
lea eax, [rcx + 1]
mov dword [rdi], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x59
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rdi]
mov r8d, dword [rsp + 0x44]
cmp dword [rbx + 0x94], ecx
jg 0x18030578b
mov r9d, dword [rsp + 0xc8]
mov edx, 0x78
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.1802bb270
mov edx, dword [rsp + 0xc8]
xor r10d, r10d
mov r8d, dword [rsp + 0x44]
jmp 0x1803057bc
mov edx, dword [rsp + 0xc8]
lea eax, [rcx + 1]
mov dword [rdi], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x78
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 [rdi]
cmp dword [rbx + 0x94], ecx
jg 0x1803057dd
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x79
mov rcx, rbx
call fcn.1802bb270
jmp 0x180305807
lea eax, [rcx + 1]
mov dword [rdi], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x79
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 [rdi]
xor ebp, ebp
mov r15d, dword [rsp + 0xc8]
test eax, eax
jle 0x180305676
lea rcx, [rax + rax*2]
mov edx, 8
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x180305676
mov rbp, qword [rsp + 0xd0]
movsxd rdx, dword [rdi]
mov r15d, dword [rsp + 0xc8]
mov r14d, dword [rsp + 0x30]
mov rbp, qword [rbp + 0x10]
cmp dword [rbx + 0x94], edx
jg 0x180305876
mov r9d, r13d
mov dword [rsp + 0x20], r15d
mov r8d, r14d
mov edx, 0x5b
mov rcx, rbx
call fcn.1802bb270
mov edx, eax
jmp 0x1803058a1
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5b
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r10
mov rcx, qword [rbx]
cmp byte [rcx + 0x61], 0
je 0x1803058bd
cmp r13d, 0xfffffff4
je 0x180305917
mov r8, rbp
mov edx, r13d
call fcn.1802bc250
jmp 0x180305917
test edx, edx
jns 0x1803058c5
mov edx, dword [rdi]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rdx, [rax + rcx*8]
test r13d, r13d
jns 0x180305909
cmp byte [rdx + 1], 0
jne 0x180305909
cmp r13d, 0xfffffffd
jne 0x1803058f1
mov dword [rdx + 0x10], ebp
mov byte [rdx + 1], r13b
jmp 0x180305917
test rbp, rbp
je 0x180305917
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], r13b
cmp r13d, 0xfffffff4
jne 0x180305917
inc dword [rbp + 0x18]
jmp 0x180305917
mov r9d, r13d
mov r8, rbp
mov rcx, rbx
call fcn.1802bc460
movsxd rdx, dword [rdi]
mov r8d, dword [rsp + 0x44]
cmp dword [rbx + 0x94], edx
jg 0x180305942
mov r9d, r15d
mov dword [rsp + 0x20], r14d
mov edx, 0x83
mov rcx, rbx
call fcn.1802bb270
mov edx, eax
xor ebp, ebp
jmp 0x18030596f
lea rcx, [rdx + rdx*2]
xor ebp, ebp
lea eax, [rdx + 1]
mov dword [rdi], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x83
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x180305676
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], r13d
jmp 0x180305676
mov r14d, dword [rsp + 0x30]
xor ebp, ebp
mov r15d, dword [rsp + 0xc8]
jmp 0x18030567a
test r14d, r14d
je 0x1803059c8
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x1803059c8
movzx eax, al
mov dword [rsi + rax*4 + 0xcc], r14d
inc byte [rsi + 0x1f]
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x1803059de
movzx eax, al
mov dword [rsi + rax*4 + 0xcc], r15d
inc byte [rsi + 0x1f]
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x48]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1803059fd
mov r8d, edx
mov rdx, rbx
call fcn.1802bbc10
jmp 0x180305a09
mov rcx, qword [rcx + 0x50]
mov eax, dword [rdi]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov rsi, qword [rsp + 0xc0]
movsxd rcx, dword [rdi]
mov eax, dword [rbx + 0x94]
test byte [rsi + 0x24], 1
je 0x180305a5b
cmp eax, ecx
jg 0x180305a42
mov r8d, dword [rsp + 0x38]
mov r9d, r12d
mov edx, 3
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.1802bb270
xor r8d, r8d
jmp 0x180305aae
lea eax, [rcx + 1]
mov dword [rdi], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 3
jmp 0x180305a94
cmp eax, ecx
jg 0x180305a7d
mov r8d, dword [rsp + 0x38]
mov r9d, r12d
mov edx, 5
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.1802bb270
xor r8d, r8d
jmp 0x180305aae
lea eax, [rcx + 1]
mov dword [rdi], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 5
mov edx, dword [rsp + 0x38]
xor r8d, r8d
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8 + 0xc], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsi + 0x10]
test edx, edx
je 0x180305b02
movsxd rcx, dword [rdi]
cmp dword [rbx + 0x94], ecx
jg 0x180305ad9
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x41]
call fcn.1802bb270
jmp 0x180305b02
lea eax, [rcx + 1]
mov dword [rdi], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x41
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x3c]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180305b21
mov r8d, edx
mov rdx, rbx
call fcn.1802bbc10
jmp 0x180305b2d
mov rcx, qword [rcx + 0x50]
mov eax, dword [rdi]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret