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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x180079880]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r12, qword [rsp + 0x100]
mov eax, r8d
mov rbp, rcx
mov dword [rsp + 0x74], eax
imul ecx, r8d, 0x3ac
mov r13, r9
mov qword [rsp + 0x50], rdx
mov r10d, r8d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], ecx
cmp r8d, ecx
ja 0x180047ce1
movzx esi, word [rsp + 0x30]
xor ebx, ebx
mov r15, qword [rsp + 0x50]
mov r8d, 0xa0
mov dword [rsp + 0x30], esi
mov r14d, 0x7fff
movzx edi, word [rsp + 0x30]
mov r11d, 0xffff8000
movzx ecx, word [rsp + 0x30]
lea r9d, [rbx + 1]
movzx eax, word [rsp + 0x30]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x3c], eax
nop
cmp r10d, 0x5087
ja 0x180047842
je 0x180047c50
mov eax, r10d
sub eax, 0x5e
je 0x18004790e
sub eax, 0x1b
je 0x180047831
sub eax, 0x60
je 0x18004781c
sub eax, 0x2209
je 0x180047763
cmp eax, 0x2284
jne 0x180047a1c
cmp dword [r15], 0x7d00
jne 0x180047a1c
test rbp, rbp
jne 0x180047a1c
mov eax, 0xffffffff
jmp 0x180047ce5
mov eax, 0x10
mov dword [rsp + 0x3c], r8d
mov ecx, 0xa
mov dword [rsp + 0x38], eax
mov edi, eax
mov dword [rsp + 0x30], ecx
mov eax, dword [r15]
mov esi, ecx
cmp eax, 0x1f40
jne 0x1800477b9
movzx eax, word [r13]
cmp ax, 0x50
je 0x18004779e
cmp ax, r8w
jne 0x180047759
mov esi, 0x14
mov edi, 8
mov dword [rsp + 0x30], esi
mov eax, 0x50
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], eax
jmp 0x180047a1c
cmp eax, 0x3e80
jne 0x1800477f1
movzx eax, word [r13]
cmp ax, r8w
je 0x1800477da
mov ecx, 0x140
cmp ax, cx
jne 0x180047759
mov esi, 0x14
mov eax, edi
mov dword [rsp + 0x30], esi
movzx eax, r8w
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], eax
jmp 0x180047a1c
cmp eax, 0x7d00
jne 0x180047a1c
cmp word [r13], r8w
jne 0x180047759
movzx eax, r8w
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], edi
jmp 0x180047a1c
mov eax, dword [r12]
cmp eax, 3
ja 0x180047759
mov dword [rdx + 0x14], eax
jmp 0x180047a1c
mov eax, dword [rdx]
mov dword [r12], eax
mov eax, dword [rdx + 4]
mov dword [rbp], eax
jmp 0x180047a1c
cmp r10d, 0x67ea
je 0x180047ad2
cmp r10d, 0x8a6e
je 0x180047a3d
cmp r10d, 0xacf2
je 0x180047916
cmp r10d, 0xcf76
jne 0x180047a1c
mov eax, 0x10e
nop dword [rax + rax]
cmp eax, 0x10e
je 0x1800478d7
cmp eax, 0x567c
jne 0x1800478fe
movzx edi, bx
cmp bx, word [r13]
jge 0x1800478d0
mov r14d, dword [rsp + 0x3c]
nop dword [rax]
movsx rax, di
lea r9, [r15 + 0x160]
mov r8d, 0x61
mov word [rsp + 0x30], r14w
lea rdx, [rsp + 0x30]
lea rcx, [r12 + rax*2]
call fcn.1800050b0
add di, r14w
cmp di, word [r13]
jl 0x1800478a0
mov eax, ebx
jmp 0x180047ce5
cmp word [r15 + 0x12e], bx
jne 0x1800478f1
cmp si, 0xa
jne 0x1800478f1
mov word [r15 + 0x12e], r9w
jmp 0x1800478fe
mov ecx, 2
mov word [r15 + 0x12e], cx
add eax, 0x556e
cmp eax, 0xaadc
jbe 0x180047880
mov r15, rdx
jmp 0x180047a1c
cmp si, 0xa
jne 0x18004792b
mov eax, 0xb0
cmp word [r15 + 0x12e], bx
jg 0x180047930
mov eax, 0x9c
lea r14, [rax + r15]
movzx edi, bx
movsx eax, si
cdq
sub eax, edx
sar eax, 1
mov esi, eax
test eax, eax
jle 0x180047c38
mov eax, 0x10
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x68], eax
mov ecx, ebx
nop dword [rax]
cmp dword [r15], 0x3e80
jne 0x18004799a
shl ecx, 5
lea r8, [r15 + 0x3c]
movsxd rax, ecx
lea r9, [rsp + 0x78]
mov ecx, 0xe6
mov dword [rsp + 0x58], 0x20
lea rdx, [r12 + rax*2]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.18000a620
jmp 0x1800479b8
shl ecx, 4
movsxd rax, ecx
movups xmm0, xmmword [r12 + rax*2]
movups xmm1, xmmword [r12 + rax*2 + 0x10]
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm1
lea rax, [rsp + 0x78]
mov r8d, 0x19
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.180032170
movsx rcx, di
inc di
mov dword [r14 + rcx*4], eax
movsx ecx, di
cmp ecx, esi
jl 0x180047960
mov edi, dword [rsp + 0x38]
mov r14d, 0x7fff
mov esi, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x40]
mov r8d, 0xa0
mov r9d, 1
mov r11d, 0xffff8000
imul eax, dword [rsp + 0x74], 0x5e
add r10d, eax
mov dword [rsp + 0x40], r10d
cmp r10d, dword [rsp + 0x48]
ja 0x180047ce1
mov ecx, dword [rsp + 0x44]
jmp 0x180047700
cmp si, 0xa
jne 0x180047a56
cmp word [r15 + 0x12e], bx
jle 0x180047a56
lea r11, [r15 + 0xec]
jmp 0x180047a62
lea r11, [r15 + 0xc4]
cmp bx, si
jge 0x180047a16
movzx r10d, bx
nop word [rax + rax]
mov edx, ebx
movzx r8d, bx
cmp bx, di
jge 0x180047ab2
movsx r9d, di
movsx eax, r10w
imul r9d, eax
nop word [rax + rax]
movzx eax, r8w
add eax, r9d
cdqe
movsx ecx, word [r12 + rax*2]
imul ecx, ecx
cmp ecx, edx
cmovle ecx, edx
inc r8w
mov edx, ecx
cmp r8w, di
jl 0x180047a90
mov dword [r11], edx
inc r10w
add r11, 4
cmp r10w, si
jl 0x180047a70
mov rdx, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x40]
jmp 0x180047a0a
test r12, r12
je 0x180047759
mov eax, dword [r15 + 0x144]
cmp dword [r15 + 0x13c], eax
jle 0x180047c2b
mov esi, dword [rsp + 0x70]
mov r9d, 3
nop dword [rax]
cmp r9d, 3
je 0x180047beb
cmp r9d, 6
je 0x180047bcb
cmp r9d, 0xc
jne 0x180047bff
movzx eax, word [r15 + 0x134]
cmp ax, cx
jae 0x180047b30
inc ax
jmp 0x180047b35
jbe 0x180047b3d
dec ax
mov word [r15 + 0x134], ax
movzx edx, bx
movzx eax, ax
cmp bx, word [r13]
jge 0x180047bff
lea rcx, [0x180056120]
movzx r8d, word [rcx + rax*2]
nop word [rax + rax]
movzx ecx, dx
movsx eax, word [r12 + rcx*2]
imul eax, r8d
sar eax, 0xc
cmp eax, r14d
jle 0x180047b7a
movzx eax, r14w
jmp 0x180047b82
cmp eax, r11d
jge 0x180047b82
mov eax, r11d
mov word [r12 + rcx*2], ax
cmp dword [r15], 0x7d00
jne 0x180047bbb
movsx eax, word [rbp + rcx*2]
imul eax, r8d
sar eax, 0xc
cmp eax, r14d
jle 0x180047ba9
mov word [rbp + rcx*2], r14w
jmp 0x180047bbb
cmp eax, r11d
jge 0x180047bb6
mov word [rbp + rcx*2], r11w
jmp 0x180047bbb
mov word [rbp + rcx*2], ax
inc dx
cmp dx, word [r13]
jl 0x180047b60
mov ecx, dword [rsp + 0x44]
jmp 0x180047bff
movzx eax, word [r15 + 0x140]
sub ax, word [r15 + 0x144]
movsx ecx, ax
mov eax, esi
cdq
idiv ecx
mov ecx, eax
mov dword [rsp + 0x44], eax
jmp 0x180047bff
movzx eax, word [r15 + 0x13c]
sub ax, word [r15 + 0x144]
cwde
imul esi, eax, 0x1f
add r9d, 3
cmp r9d, 0xf
jb 0x180047b00
mov rdx, qword [rsp + 0x50]
mov r8d, 0xa0
mov dword [rsp + 0x70], esi
mov r9d, 1
mov esi, dword [rsp + 0x30]
jmp 0x180047a1c
mov word [r15 + 0x134], bx
jmp 0x180047a1c
mov edi, dword [rsp + 0x38]
mov r14d, 0x7fff
mov esi, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
jmp 0x180047a1c
mov eax, dword [r12]
test eax, eax
jne 0x180047c71
mov dword [rdx + 0x1c54], 0x3f800000
mov eax, ebx
mov qword [rdx + 0x1c58], 0x3f000000
jmp 0x180047ce5
cmp eax, 1
jne 0x180047c95
mov dword [rdx + 0x1c54], 0x3f800000
mov eax, ebx
mov dword [rdx + 0x1c58], 0x3e800000
mov dword [rdx + 0x1c5c], r9d
jmp 0x180047ce5
cmp eax, 2
jne 0x180047cb9
mov dword [rdx + 0x1c54], 0x3f8ccccd
mov eax, ebx
mov dword [rdx + 0x1c58], 0x3e000000
mov dword [rdx + 0x1c5c], r9d
jmp 0x180047ce5
cmp eax, 3
jne 0x1800478d0
mov dword [rdx + 0x1c54], 0x3fa00000
mov eax, ebx
mov dword [rdx + 0x1c58], 0x3db851ec
mov dword [rdx + 0x1c5c], r9d
jmp 0x180047ce5
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180050c90
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret