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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47eacd
push rbp
mov rbp, rsp
sub rsp, 0x60
test rdi, rdi
jge 0x47e849
movabs rdx, 0x324198884e68d320
mov qword [rsp + 0x24], rdx
movabs rdx, 0x57ba5ed53f746f6
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x18edb256e5ae8cfa
mov qword [rsp + 0x34], rdx
movabs rdx, 0xe5f8ec92b87f61a0
mov qword [rsp + 0x3c], rdx
movabs rdx, 0xf8f8984444331503
mov qword [rsp + 0x44], rdx
xor eax, eax
jmp 0x47eaa1
cmp rdi, 9
jg 0x47ea6e
test ebx, ebx
jne 0x47e862
movups xmmword [rax + 0x18], xmm15
add rsp, 0x60
pop rbp
ret
mov edx, ebx
lea rdx, [rdx + rdx]
lea rdx, [rdx + 1]
bsr rdx, rdx
cmp rdx, 0x19
jge 0x47e897
lea rsi, [rdx - 0x19]
neg rsi
mov r8, rcx
mov rcx, rsi
shl ebx, cl
lea rdx, [rdx + r8]
lea rdx, [rdx - 0x19]
cmp rcx, 0x20
sbb esi, esi
and ebx, esi
jmp 0x47e89a
mov rdx, rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x88], rdi
imul rsi, rdx, 0x13441
add rsi, 0x1ce618
sar rsi, 0x12
mov rcx, rdi
sub rcx, rsi
mov qword [rsp + 0x58], rcx
lea rsi, [rcx - 1]
cmp rsi, 0x1b
jg 0x47e8d7
test rsi, rsi
setge r8b
jmp 0x47e8da
xor r8d, r8d
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x23], r8b
mov dword [rsp + 0x4c], ebx
mov eax, ebx
mov rbx, rdx
mov rcx, rsi
call fcn.0047fc80
test rbx, rbx
jge 0x47ea55
mov rdx, qword [rsp + 0x58]
lea r8, [rdx + 9]
cmp r8, 0xa
jae 0x47e92b
mov r8d, dword [rsp + 0x4c]
mov r8d, r8d
test r8, r8
je 0x47ea08
mov r9, qword [rsp + 0x50]
neg r9
jmp 0x47ea22
movzx esi, byte [rsp + 0x23]
mov r8, rbx
neg rbx
mov edi, ecx
mov rcx, rbx
mov r9d, 1
shl r9d, cl
mov r10d, eax
shr eax, cl
cmp rcx, 0x20
sbb ebx, ebx
and r9d, ebx
dec r9d
and ebx, eax
and r9d, r10d
test sil, sil
je 0x47e9a7
lea rcx, [r8 + 1]
neg rcx
mov r8d, 1
shl r8d, cl
cmp rcx, 0x20
sbb r10d, r10d
and r8d, r10d
cmp r8d, r9d
jb 0x47e99a
nop
jne 0x47e9a2
test dil, dil
je 0x47e99a
cmp r8d, r9d
jne 0x47e9a2
test dil, dil
je 0x47e9a2
mov r8d, ebx
and r8d, 1
jmp 0x47e9c9
mov r8d, 1
jmp 0x47e9c9
xor r8d, r8d
jmp 0x47e9c9
lea rcx, [r8 + 1]
neg rcx
mov r10d, r9d
shr r9d, cl
cmp rcx, 0x20
sbb r11d, r11d
and r9d, r11d
cmp r9d, 1
sete r8b
mov r9d, r10d
test r9d, r9d
je 0x47e9d0
xor edi, edi
xor edi, 1
mov rax, qword [rsp + 0x70]
mov ecx, edi
mov edi, r8d
mov rsi, qword [rsp + 0x88]
call fcn.0047ef00
mov rdx, qword [rsp + 0x70]
mov r8, qword [rdx + 0x20]
mov r9, qword [rsp + 0x58]
sub r8, r9
inc r8
mov qword [rdx + 0x20], r8
add rsp, 0x60
pop rbp
ret
mov esi, 1
mov ecx, 1
jmp 0x47e930
dec r9
mov eax, esi
mov r8, rdx
mov rdx, rdi
test r9, r9
jle 0x47ea08
mov esi, eax
movabs rax, 0xcccccccccccccccd
mov rdi, rdx
mul r8
shr rdx, 2
lea r10, [rdx + rdx*4]
cmp r8, r10
je 0x47ea17
mov eax, esi
mov rdx, rdi
movzx esi, byte [rsp + 0x23]
jmp 0x47e930
call fcn.004824e0
call fcn.0040ae80
mov rbx, rax
lea rax, [0x00562b20]
call fcn.00434120
call fcn.00481760
call fcn.0040ae80
mov rbx, rax
lea rax, [0x00562b20]
call fcn.00434120
lea rdx, [0x005886ac]
movzx esi, byte [rdx + rax]
movzx edi, byte [rsp + rax + 0x24]
xor edi, esi
mov byte [rsp + rax + 0x24], dil
inc rax
cmp rax, 0x28
jl 0x47ea87
xor eax, eax
lea rbx, [rsp + 0x24]
mov ecx, 0x28
call fcn.0044d560
call fcn.0040ae80
mov rbx, rax
lea rax, [0x00562b20]
call fcn.00434120
nop
mov qword [rsp + 8], rax
mov dword [rsp + 0x10], ebx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460ca0
mov rax, qword [rsp + 8]
mov ebx, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0047e7e0