Function at 0x180304480
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 0x1803045a3
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [r8 + 0x10]
cmp dword [rbx + 0x94], ecx
jg 0x18030452b
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, 0xc
call fcn.1802ba590
mov r11d, dword [rsp + 0x3c]
jmp 0x180304559
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.1802ba7b0
mov rcx, qword [rbx + 0x18]
mov edx, dword [r15 + 0x14]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180304583
mov r8d, edx
mov rdx, rbx
call fcn.1802baf30
jmp 0x180304593
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 0x180304630
cmp r14b, 0xd
je 0x180304630
cmp r14b, 0xa
je 0x180304630
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x1803045d0
inc dword [rsi + 0x38]
mov r10d, dword [rsi + 0x38]
xor cl, cl
jmp 0x1803045e0
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 0x18030460b
mov edx, r13d
mov rcx, rsi
call fcn.1802dab60
mov edx, dword [rsp + 0x38]
mov r14d, eax
mov dword [rsp + 0x30], eax
xor r9d, r9d
jmp 0x180304641
test cl, cl
jne 0x18030461b
inc dword [rsi + 0x38]
mov r13d, r9d
mov r14d, dword [rsi + 0x38]
jmp 0x18030463c
dec cl
mov r13d, r9d
movzx eax, cl
mov byte [rsi + 0x1f], al
mov r14d, dword [rsi + rax*4 + 0xcc]
jmp 0x18030463c
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 0x180304780
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 0x180304682
mov edx, 0x11
mov rcx, rbx
call fcn.1802ba660
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.1802ba5f0
lea rdi, [rbx + 0x90]
test ebp, ebp
je 0x1803046db
mov rax, qword [rbx]
mov edx, dword [rdi]
cmp byte [rax + 0x61], 0
je 0x1803046bf
lea rax, [0x1804dc250]
jmp 0x1803046d8
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 0x180304705
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.1802ba590
mov ebp, eax
jmp 0x180304740
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.180302f40
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.1802ba5f0
xor r10d, r10d
mov eax, r10d
jmp 0x180304801
lea rdi, [rbx + 0x90]
movsxd rbp, dword [rdi]
cmp dword [rbx + 0x94], ebp
jg 0x1803047ae
mov dword [rsp + 0x20], r9d
mov r8d, edx
mov r9d, r11d
mov edx, 0x24
mov rcx, rbx
call fcn.1802ba590
mov ebp, eax
jmp 0x1803047df
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.180302f40
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 0x180304846
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 0x180304830
lea eax, [r13 - 1]
movsxd r15, eax
test eax, eax
js 0x1803048f8
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 0x180304881
movzx edx, ax
dec edx
jmp 0x180304885
mov edx, ebp
dec ebp
movsxd rcx, dword [rdi]
cmp dword [rbx + 0x94], ecx
jg 0x1803048ad
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x59
mov r8d, esi
mov rcx, rbx
call fcn.1802ba590
xor r10d, r10d
jmp 0x1803048d6
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 0x180304870
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 0x180304cb9
sub ecx, 1
je 0x180304b56
sub ecx, 1
je 0x180304a16
cmp ecx, 2
je 0x180304a16
movsxd rcx, dword [rdi]
mov eax, dword [rbx + 0x94]
mov rbp, qword [rsp + 0xd0]
cmp dl, 9
jne 0x1803049cd
mov edx, dword [rbp + 8]
cmp eax, ecx
jg 0x18030495d
mov r8d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0x50
mov r9d, r13d
mov rcx, rbx
call fcn.1802ba590
jmp 0x180304987
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 0x180304cfe
cmp dl, 0xb
jne 0x180304ccd
cmp r13d, 1
je 0x180304ccd
cmp r13d, dword [rsi + 0x28]
jle 0x180304ce8
mov dword [rsi + 0x28], r13d
mov dword [rsi + 0x2c], r14d
jmp 0x180304ce8
mov edx, dword [rbp + 4]
cmp eax, ecx
jg 0x1803049ed
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0xe]
call fcn.1802ba590
jmp 0x180304987
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 0x180304982
movsxd rcx, dword [rdi]
mov r14d, dword [rsp + 0x30]
cmp dword [rbx + 0x94], ecx
jg 0x180304a42
mov r8d, dword [rsp + 0x40]
mov edx, 0x59
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.1802ba590
xor r10d, r10d
jmp 0x180304a70
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 0x180304aab
mov r9d, dword [rsp + 0xc8]
mov edx, 0x78
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.1802ba590
mov edx, dword [rsp + 0xc8]
xor r10d, r10d
mov r8d, dword [rsp + 0x44]
jmp 0x180304adc
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 0x180304afd
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x79
mov rcx, rbx
call fcn.1802ba590
jmp 0x180304b27
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 0x180304996
lea rcx, [rax + rax*2]
mov edx, 8
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x180304996
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 0x180304b96
mov r9d, r13d
mov dword [rsp + 0x20], r15d
mov r8d, r14d
mov edx, 0x5b
mov rcx, rbx
call fcn.1802ba590
mov edx, eax
jmp 0x180304bc1
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 0x180304bdd
cmp r13d, 0xfffffff4
je 0x180304c37
mov r8, rbp
mov edx, r13d
call fcn.1802bb570
jmp 0x180304c37
test edx, edx
jns 0x180304be5
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 0x180304c29
cmp byte [rdx + 1], 0
jne 0x180304c29
cmp r13d, 0xfffffffd
jne 0x180304c11
mov dword [rdx + 0x10], ebp
mov byte [rdx + 1], r13b
jmp 0x180304c37
test rbp, rbp
je 0x180304c37
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], r13b
cmp r13d, 0xfffffff4
jne 0x180304c37
inc dword [rbp + 0x18]
jmp 0x180304c37
mov r9d, r13d
mov r8, rbp
mov rcx, rbx
call fcn.1802bb780
movsxd rdx, dword [rdi]
mov r8d, dword [rsp + 0x44]
cmp dword [rbx + 0x94], edx
jg 0x180304c62
mov r9d, r15d
mov dword [rsp + 0x20], r14d
mov edx, 0x83
mov rcx, rbx
call fcn.1802ba590
mov edx, eax
xor ebp, ebp
jmp 0x180304c8f
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 0x180304996
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 0x180304996
mov r14d, dword [rsp + 0x30]
xor ebp, ebp
mov r15d, dword [rsp + 0xc8]
jmp 0x18030499a
test r14d, r14d
je 0x180304ce8
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x180304ce8
movzx eax, al
mov dword [rsi + rax*4 + 0xcc], r14d
inc byte [rsi + 0x1f]
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x180304cfe
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 0x180304d1d
mov r8d, edx
mov rdx, rbx
call fcn.1802baf30
jmp 0x180304d29
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 0x180304d7b
cmp eax, ecx
jg 0x180304d62
mov r8d, dword [rsp + 0x38]
mov r9d, r12d
mov edx, 3
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.1802ba590
xor r8d, r8d
jmp 0x180304dce
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 0x180304db4
cmp eax, ecx
jg 0x180304d9d
mov r8d, dword [rsp + 0x38]
mov r9d, r12d
mov edx, 5
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.1802ba590
xor r8d, r8d
jmp 0x180304dce
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 0x180304e22
movsxd rcx, dword [rdi]
cmp dword [rbx + 0x94], ecx
jg 0x180304df9
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x41]
call fcn.1802ba590
jmp 0x180304e22
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 0x180304e41
mov r8d, edx
mov rdx, rbx
call fcn.1802baf30
jmp 0x180304e4d
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