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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push r13
sub rsp, 0x78
mov r13, qword [rcx + 0x10]
xor r10d, r10d
mov qword [rax - 0x18], rbx
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x38], r14
mov r14, qword [rdx + 0x30]
mov qword [rax - 0x40], r15
mov rbx, rcx
mov r15, rdx
mov esi, r10d
mov dword [rsp + 0x90], r10d
mov qword [rsp + 0x38], r14
mov ebp, r10d
mov dword [rsp + 0x30], r10d
mov byte [rdx], 1
mov dword [rsp + 0xa8], r10d
lea r9d, [r10 + 0xa]
cmp dword [rdx + 0x38], r10d
jle 0x18008089f
mov qword [rax - 0x30], r12
nop dword [rax + rax]
mov rax, qword [r14]
mov dword [rsp + 0xa0], ebp
mov r14, qword [rax + 0x20]
test r14, r14
je 0x180080436
mov r12d, dword [r14]
mov ecx, dword [rbx + 0x48]
mov r15d, dword [rbx + 0x4c]
cmp r12d, ecx
jg 0x180080411
lea eax, [r15 + r12]
sub ecx, r12d
mov dword [rbx + 0x4c], eax
mov dword [rbx + 0x48], ecx
jmp 0x18008041e
mov eax, dword [rbx + 0x58]
lea r15d, [rax + 1]
add eax, r12d
mov dword [rbx + 0x58], eax
xor r9d, r9d
mov r8d, r15d
mov rdx, r14
mov rcx, rbx
mov byte [rsp + 0x20], 1
call fcn.180049a50
jmp 0x18008043c
mov r12d, ebp
mov r15d, ebp
mov rbp, qword [rsp + 0x38]
cmp dword [rbp + 0x14], 0
jl 0x1800804c5
mov rsi, qword [r13 + 0x30]
movsxd rdi, dword [rsi + 0x80]
lea eax, [rdi + 1]
mov dword [rsi + 0x80], eax
lea eax, [rdi - 1]
test edi, eax
jne 0x180080486
mov rdx, qword [rsi + 0x88]
mov rcx, qword [rsi]
lea eax, [rdi*2 + 1]
movsxd r8, eax
shl r8, 2
call fcn.180046460
mov qword [rsi + 0x88], rax
mov rcx, qword [rsi + 0x88]
test rcx, rcx
je 0x180080499
mov dword [rcx + rdi*4], 0xffffffff
mov edx, dword [rbp + 0x14]
or esi, 0xffffffff
mov r9d, 1
sub esi, edi
mov rcx, rbx
mov dword [rsp + 0x20], r15d
mov r8d, esi
mov dword [rsp + 0xa0], esi
call fcn.18001a690
mov esi, dword [rsp + 0x90]
mov rax, qword [rbp + 8]
test byte [rax + 2], 0x20
je 0x1800805e0
mov rsi, qword [r14 + 8]
xor ebp, ebp
xor edi, edi
nop dword [rax + rax]
cmp edi, r12d
jge 0x180080500
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.18004bd90
inc edi
add rsi, 0x28
mov rbp, rax
test rax, rax
je 0x1800804e0
jmp 0x18008050c
test rbp, rbp
jne 0x18008050c
mov rax, qword [rbx]
mov rbp, qword [rax + 0x10]
mov esi, dword [rsp + 0x90]
test esi, esi
jne 0x180080531
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x2c], esi
je 0x180080531
inc dword [rbx + 0x58]
mov esi, dword [rbx + 0x58]
mov dword [rsp + 0x90], esi
mov rax, qword [r13 + 0x30]
movsxd rdx, dword [r13 + 0x3c]
cmp dword [rax + 0x64], edx
jg 0x18008055c
xor r9d, r9d
mov r8d, esi
mov rcx, r13
lea edx, [r9 + 0x57]
mov dword [rsp + 0x20], 0
call fcn.1800296a0
mov edx, eax
jmp 0x180080587
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
xor r8d, r8d
mov dword [r13 + 0x3c], eax
mov rax, qword [r13 + 8]
mov word [rax + rcx*8], 0x57
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [r13]
cmp byte [rcx + 0x55], 0
je 0x1800805a0
mov r8, rbp
mov edx, 0xfffffffc
call fcn.1800264a0
jmp 0x1800805e0
test edx, edx
jns 0x1800805aa
mov edx, dword [r13 + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x1800805d3
mov r9d, 0xfffffffc
mov r8, rbp
mov rcx, r13
call fcn.1800816e0
jmp 0x1800805e0
test rbp, rbp
je 0x1800805e0
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], 0xfc
mov r14, qword [rsp + 0x38]
mov rax, qword [r13 + 0x30]
movsxd rdx, dword [r13 + 0x3c]
mov rdi, qword [r14 + 8]
mov r8d, dword [r14 + 0x10]
cmp dword [rax + 0x64], edx
jg 0x180080618
mov dword [rsp + 0x20], r8d
mov r9d, r15d
mov edx, 0x92
xor r8d, r8d
mov rcx, r13
call fcn.1800296a0
xor ebp, ebp
mov edx, eax
jmp 0x180080647
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
xor ebp, ebp
mov dword [r13 + 0x3c], eax
mov rax, qword [r13 + 8]
mov word [rax + rcx*8], 0x92
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, qword [r13]
cmp byte [rcx + 0x55], 0
je 0x180080660
mov r8, rdi
mov edx, 0xfffffffb
call fcn.1800264a0
jmp 0x1800806a0
test edx, edx
jns 0x18008066a
mov edx, dword [r13 + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180080693
mov r9d, 0xfffffffb
mov r8, rdi
mov rcx, r13
call fcn.1800816e0
jmp 0x1800806a0
test rdi, rdi
je 0x1800806a0
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xfb
mov rax, qword [r13]
cmp byte [rax + 0x55], 0
jne 0x1800806bb
movsxd rax, dword [r13 + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 8]
mov byte [rax + rcx*8 - 0x15], r12b
test r15d, r15d
jle 0x18008076e
cmp byte [rbx + 0x25], 0
je 0x18008076e
lea rcx, [rbx + 0x144]
lea r8, [rbx + 0x90]
nop dword [rax]
mov edx, dword [rcx + 0xc]
cmp edx, r15d
jl 0x180080712
lea eax, [r15 + r12]
cmp edx, eax
jge 0x180080712
cmp byte [rcx + 6], 0
je 0x18008070c
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x180080708
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx + 6], 0
mov dword [rcx + 0xc], ebp
dec byte [rbx + 0x25]
cmp rcx, r8
je 0x18008071d
sub rcx, 0x14
jmp 0x1800806e0
cmp byte [rbx + 0x25], 0
je 0x18008076e
lea rcx, [rbx + 0x144]
lea r8, [rbx + 0x90]
mov edx, dword [rcx + 0xc]
cmp edx, r15d
jl 0x180080763
lea eax, [r15 + r12]
cmp edx, eax
jge 0x180080763
cmp byte [rcx + 6], 0
je 0x18008075d
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x180080759
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx + 6], 0
mov dword [rcx + 0xc], ebp
dec byte [rbx + 0x25]
cmp rcx, r8
je 0x18008076e
sub rcx, 0x14
jmp 0x180080731
cmp r12d, dword [rbx + 0x48]
jle 0x18008077c
mov dword [rbx + 0x48], r12d
mov dword [rbx + 0x4c], r15d
movsxd rax, dword [rsp + 0xa0]
test eax, eax
je 0x1800807f4
mov rdx, qword [r13 + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x1800807a9
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [r13 + 0x3c]
mov dword [rcx], eax
mov eax, dword [r13 + 0x3c]
mov r9d, 0xa
lea rcx, [rbx + 0x9c]
dec eax
mov r8d, r9d
mov dword [rdx + 0x6c], eax
mov edx, dword [rcx]
test edx, edx
je 0x1800807e9
cmp byte [rcx - 6], 0
je 0x1800807e4
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1800807e0
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebp
dec byte [rbx + 0x25]
add rcx, 0x14
dec r8
jne 0x1800807c2
jmp 0x1800807fa
mov r9d, 0xa
mov ecx, dword [rsp + 0xa8]
mov r15, qword [rsp + 0x98]
add r14, 0x18
inc ecx
mov qword [rsp + 0x38], r14
mov dword [rsp + 0xa8], ecx
cmp ecx, dword [r15 + 0x38]
jl 0x1800803e0
mov r12, qword [rsp + 0x58]
test esi, esi
je 0x180080898
mov rax, qword [r13 + 0x30]
movsxd rbp, dword [r13 + 0x3c]
cmp dword [rax + 0x64], ebp
jg 0x180080860
xor r9d, r9d
mov r8d, esi
mov rcx, r13
lea edx, [r9 + 0x15]
mov dword [rsp + 0x20], 0
call fcn.1800296a0
xor r10d, r10d
mov ebp, eax
lea r9d, [r10 + 0xa]
jmp 0x18008089f
lea eax, [rbp + 1]
lea rcx, [rbp*2]
mov dword [r13 + 0x3c], eax
mov rax, qword [r13 + 8]
add rcx, rbp
xor r10d, r10d
mov word [rax + rcx*8], 0x15
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], r10
mov qword [rax + rcx*8 + 0x10], r10
lea r9d, [r10 + 0xa]
jmp 0x18008089f
mov ebp, dword [rsp + 0x30]
xor r10d, r10d
mov r14, qword [rsp + 0x50]
lea rcx, [rbx + 0x9c]
mov r8, r9
nop
mov edx, dword [rcx]
test edx, edx
je 0x1800808d8
cmp byte [rcx - 6], 0
je 0x1800808d2
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1800808ce
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r10d
dec byte [rbx + 0x25]
add rcx, 0x14
dec r8
jne 0x1800808b0
mov rdi, qword [r15 + 0x20]
mov esi, r10d
cmp dword [r15 + 0x2c], r8d
jle 0x180080924
add rdi, 0x18
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rdi - 4]
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.180049840
inc esi
lea rdi, [rdi + 0x20]
cmp esi, dword [r15 + 0x2c]
jl 0x180080900
mov r9d, 0xa
xor r10d, r10d
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov byte [r15], 0
mov r15, qword [rsp + 0x48]
lea rcx, [rbx + 0x9c]
nop
mov edx, dword [rcx]
test edx, edx
je 0x180080968
cmp byte [rcx - 6], 0
je 0x180080962
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x18008095e
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r10d
dec byte [rbx + 0x25]
add rcx, 0x14
dec r9
jne 0x180080940
mov rbx, qword [rsp + 0x70]
test ebp, ebp
je 0x1800809c0
mov ecx, dword [r13 + 0x3c]
mov rax, qword [r13 + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [r13 + 0x3c]
test ebp, ebp
jns 0x180080992
lea ebp, [rdx - 1]
mov rax, qword [r13]
cmp byte [rax + 0x55], 0
je 0x1800809ae
lea rax, [0x1800bf8b8]
mov dword [rax + 8], edx
add rsp, 0x78
pop r13
pop rbp
ret
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
add rsp, 0x78
pop r13
pop rbp
ret