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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47416d
push rbp
mov rbp, rsp
sub rsp, 0x60
test rdi, rdi
jge 0x473ee9
movabs rdx, 0x10ec478201c22906
mov qword [rsp + 0x24], rdx
movabs rdx, 0x74b318128f599521
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x344e902663ab57dc
mov qword [rsp + 0x34], rdx
movabs rdx, 0xbccbb514bf072740
mov qword [rsp + 0x3c], rdx
movabs rdx, 0x30c0bfac892b4663
mov qword [rsp + 0x44], rdx
xor eax, eax
jmp 0x474141
cmp rdi, 9
jg 0x47410e
test ebx, ebx
jne 0x473f02
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 0x473f37
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 0x473f3a
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 0x473f77
test rsi, rsi
setge r8b
jmp 0x473f7a
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.00475260
test rbx, rbx
jge 0x4740f5
mov rdx, qword [rsp + 0x58]
lea r8, [rdx + 9]
cmp r8, 0xa
jae 0x473fcb
mov r8d, dword [rsp + 0x4c]
mov r8d, r8d
test r8, r8
je 0x4740a8
mov r9, qword [rsp + 0x50]
neg r9
jmp 0x4740c2
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 0x474047
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 0x47403a
nop
jne 0x474042
test dil, dil
je 0x47403a
cmp r8d, r9d
jne 0x474042
test dil, dil
je 0x474042
mov r8d, ebx
and r8d, 1
jmp 0x474069
mov r8d, 1
jmp 0x474069
xor r8d, r8d
jmp 0x474069
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 0x474070
xor edi, edi
xor edi, 1
mov rax, qword [rsp + 0x70]
mov ecx, edi
mov edi, r8d
mov rsi, qword [rsp + 0x88]
call fcn.004745a0
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 0x473fd0
dec r9
mov eax, esi
mov r8, rdx
mov rdx, rdi
test r9, r9
jle 0x4740a8
mov esi, eax
movabs rax, 0xcccccccccccccccd
mov rdi, rdx
mul r8
shr rdx, 2
lea r10, [rdx + rdx*4]
cmp r8, r10
je 0x4740b7
mov eax, esi
mov rdx, rdi
movzx esi, byte [rsp + 0x23]
jmp 0x473fd0
call fcn.004776a0
call fcn.0040aba0
mov rbx, rax
lea rax, [0x00502d80]
call fcn.00433e40
call fcn.00477300
call fcn.0040aba0
mov rbx, rax
lea rax, [0x00502d80]
call fcn.00433e40
lea rdx, [0x0053bf88]
movzx esi, byte [rdx + rax]
movzx edi, byte [rsp + rax + 0x24]
sub edi, esi
mov byte [rsp + rax + 0x24], dil
inc rax
cmp rax, 0x28
jl 0x474127
xor eax, eax
lea rbx, [rsp + 0x24]
mov ecx, 0x28
call fcn.0044d280
call fcn.0040aba0
mov rbx, rax
lea rax, [0x00502d80]
call fcn.00433e40
nop
mov qword [rsp + 8], rax
mov dword [rsp + 0x10], ebx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004609c0
mov rax, qword [rsp + 8]
mov ebx, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00473e80