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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc8
lea ebx, [rdx + 0x20]
movaps xmmword [rax - 0x58], xmm6
mov dword [rsp + 0x20], ebx
mov r14, r9
mov r10, r8
mov r11d, edx
mov r12, rcx
cmp edx, ebx
jae case.0x18004c730.5
mov rbp, qword [rsp + 0x50]
lea r15d, [rdx - 0x55]
movss xmm6, dword [rsp + 0x118]
lea rdx, [0x180000000]
mov rdi, qword [rsp + 0x80]
xor ebx, ebx
mov rsi, qword [rsp + 0x28]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x40], r15d
nop word [rax + rax]
cmp r15d, 0xba
ja case.default.0x18004c730
movzx eax, byte [rdx + r15 + 0x4cd84]
mov ecx, dword [rdx + rax*4 + 0x4cd60]
add rcx, rdx
jmp rcx
mov r13, qword [rsp + 0x138]
test r13, r13
je 0x18004cd55
mov eax, 0x10f
mov dword [rsp + 0x44], eax
nop dword [rax]
sub eax, 0x10f
je 0x18004ca40
sub eax, 1
je 0x18004c836
sub eax, 1
je 0x18004c7d7
sub eax, 1
je 0x18004c79b
cmp eax, 1
jne 0x18004ca4d
mov rax, qword [rsp + 0x88]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x140]
test rax, rax
je 0x18004c7ab
mov qword [rax], rbp
mov r15, qword [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rdx, r14
mov dword [rsp + 0x60], r15d
mov ecx, 0xf3
call fcn.18003a070
mov qword [rsp + 0x88], r15
jmp 0x18004ca4d
mov r12, qword [rsp + 0x70]
test r12, r12
je 0x18004c812
mov r15, qword [rsp + 0x58]
mov rdx, rbp
mov r8, r15
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x78]
lea rcx, [r15 + r13]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
mov rbp, r13
mov qword [rsp + 0x50], r13
jmp 0x18004ca4d
cmp qword [rsp + 0x140], 0
jne 0x18004ca4d
mov r8, qword [rsp + 0x58]
mov rdx, rbp
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
jmp 0x18004ca4d
mov rax, qword [r10]
mov r13d, 0x35
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x70], rbx
nop
cmp r13d, 0x2894
ja 0x18004c9d1
je 0x18004c917
mov eax, r13d
sub eax, 0x35
je 0x18004c894
sub eax, 0x5b
je 0x18004c88b
cmp eax, 0x7b
mov rax, qword [rsp + 0x28]
jne 0x18004ca0d
mov qword [rsp + 0x98], r14
jmp 0x18004ca0d
mov dword [r14 + 4], ebx
jmp 0x18004ca08
mov ecx, 0xc1
nop dword [rax]
mov eax, ecx
sub eax, 0xc0
je 0x18004c8e4
sub eax, 1
je 0x18004c8b8
cmp eax, 3
jne 0x18004c8bd
mov qword [r14], rbx
jmp 0x18004c8bd
test r14, r14
je 0x18004c8d4
dec ecx
cmp ecx, 0xbe
ja 0x18004c8a0
mov qword [rsp + 0x90], rsi
jmp 0x18004ca08
mov rsi, rbx
mov qword [rsp + 0x90], rbx
jmp 0x18004ca08
cmp dword [r14 + 0x20], 0
jne 0x18004c8ff
mov rsi, qword [r14 + 8]
sub rsi, qword [r14]
mov qword [rsp + 0x90], rsi
jmp 0x18004ca08
mov rsi, qword [r14 + 0x10]
add rsi, qword [r14 + 8]
sub rsi, qword [r14]
mov qword [rsp + 0x90], rsi
jmp 0x18004ca08
mov rdi, qword [rsp + 0x90]
mov r8, qword [r14]
cmp rdi, rax
mov rdx, qword [r14 + 0x10]
cmovae rdi, rax
sub rdx, r8
cmp rdi, rdx
jbe 0x18004c98e
mov ecx, 0x55
nop word [rax + rax]
mov eax, ecx
sub eax, 0x54
je 0x18004c96e
cmp eax, 1
jne 0x18004c97e
mov r15, qword [r14 + 0x18]
mov rbx, qword [r14 + 0x28]
mov rbp, r15
imul rbp, r8
mov qword [rsp + 0x78], rbx
add rbp, rbx
imul r15, rdx
mov qword [rsp + 0x58], r15
jmp 0x18004c97e
mov r12, rdi
sub r12, rdx
imul r12, qword [r14 + 0x18]
mov qword [rsp + 0x70], r12
dec ecx
cmp ecx, 0x53
ja 0x18004c940
xor ebx, ebx
mov qword [rsp + 0x50], rbp
jmp 0x18004ca08
mov ecx, 0x4b
mov eax, ecx
sub eax, 0x4b
je 0x18004c9a6
cmp eax, 1
jne 0x18004c9c3
mov qword [rsp + 0x70], rbx
jmp 0x18004c9c3
mov r15, qword [r14 + 0x18]
mov rbp, r15
mov qword [rsp + 0x78], rbx
imul rbp, r8
add rbp, qword [r14 + 0x28]
imul r15, rdi
mov qword [rsp + 0x58], r15
inc ecx
cmp ecx, 0x4d
jb 0x18004c993
mov qword [rsp + 0x50], rbp
jmp 0x18004ca08
cmp r13d, 0x50f3
je 0x18004ca21
cmp r13d, 0xcc6c
jne 0x18004ca0d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_EnumLanguageGroupLocalesA]
mov rcx, qword [rsp + 0x98]
mov eax, 1
xchg dword [rcx + 0x11c], eax
mov rax, qword [rsp + 0x28]
add r13d, 0x285f
cmp r13d, 0xf23a
jbe 0x18004c850
mov r13, qword [rsp + 0x138]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0xa0], rdi
jmp 0x18004ca4d
mov rbp, rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x78], rbx
mov eax, dword [rsp + 0x44]
mov r10, qword [rsp + 0x120]
inc eax
mov dword [rsp + 0x44], eax
cmp eax, 0x114
jb 0x18004c750
mov r11d, dword [rsp + 0x118]
lea rdx, [0x180000000]
mov r15d, dword [rsp + 0x40]
jmp case.0x18004c730.8
mov rax, qword [rsp + 0x140]
mov dword [rsp + 0x38], ebx
mov ecx, dword [rax]
mov rax, qword [r14 + 0x40]
mov edx, dword [rax + rcx*4]
mov rax, qword [r14 + 0x48]
mov dword [rsp + 0x24], edx
lea rdx, [0x180000000]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x34], eax
mov rax, qword [r14 + 0x60]
mov qword [rsp + 0xa8], rax
jmp case.0x18004c730.8
mov eax, dword [r14 + 0x7c]
mov ecx, dword [r14 + 0x24]
mov dword [rsp + 0x48], eax
mov eax, dword [r14 + 0x28]
mov dword [rsp + 0x68], eax
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x3c], ecx
jmp case.0x18004c730.8
mov eax, dword [r14 + 0x18]
mov dword [rsp + 0x30], eax
jmp case.0x18004c730.8
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x88], eax
jmp case.0x18004c730.8
movsxd r8, dword [rsp + 0x24]
movsxd r9, dword [rsp + 0x30]
mov r13, r9
cmp r8d, dword [r10]
jge 0x18004ccf1
movsxd rdx, dword [rsp + 0x3c]
mov r15, r8
mov esi, dword [rsp + 0x34]
mov rdi, rdx
mov ebp, dword [rsp + 0x38]
nop word [rax + rax]
cmp ebp, dword [r12]
jge 0x18004ccca
mov rax, qword [rsp + 0x138]
lea r14, [rdi*4]
mov ecx, dword [rsp + 0x48]
mov r12d, ebp
mov r10d, 0x49
imul r12d, ecx
lea r11, [rax + r15*4]
nop
cmp r10d, 0x49
je 0x18004cbcb
cmp r10d, 0x29a2
je 0x18004cba2
cmp r10d, 0x52fb
jne 0x18004cc8d
add esi, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
cmp esi, eax
jb 0x18004cc8d
inc r8d
sub esi, eax
inc r15
mov dword [rsp + 0x24], r8d
add r11, 4
jmp 0x18004cc8d
mov r9, qword [rsp + 0x130]
add r8d, edx
movsxd rax, r12d
inc ebp
add r12d, ecx
mov dword [rsp + 0x24], r8d
add r15, rdi
add r11, r14
movss dword [r9 + rax*4], xmm6
jmp 0x18004cc88
mov rcx, qword [rsp + 0xa8]
mov eax, esi
imul eax, r9d
xorps xmm6, xmm6
mov r8, rbx
lea r9, [rcx + rax*4]
cmp r13, 4
jl 0x18004cc57
mov rcx, r11
lea rdx, [r13 - 4]
sub rcx, r9
shr rdx, 2
inc rdx
lea rax, [r9 + 4]
lea r8, [rdx*4]
nop word [rax + rax]
movss xmm1, dword [rcx + rax - 4]
mulss xmm1, dword [rax - 4]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [rax]
addss xmm1, xmm6
movaps xmm6, xmm1
movss xmm1, dword [rcx + rax + 4]
mulss xmm1, dword [rax + 4]
addss xmm6, xmm0
movss xmm0, dword [rcx + rax + 8]
mulss xmm0, dword [rax + 8]
add rax, 0x10
addss xmm6, xmm1
addss xmm6, xmm0
sub rdx, 1
jne 0x18004cc10
cmp r8, r13
jge 0x18004cc83
mov rdx, r11
lea rax, [r9 + r8*4]
sub rdx, r9
mov rcx, r13
sub rcx, r8
movss xmm0, dword [rdx + rax]
mulss xmm0, dword [rax]
add rax, 4
addss xmm6, xmm0
sub rcx, 1
jne 0x18004cc6c
mov r8d, dword [rsp + 0x24]
mov r9d, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x48]
add r10d, 0x2959
mov edx, dword [rsp + 0x3c]
cmp r10d, 0x7c0b
jbe 0x18004cb60
mov rax, qword [rsp + 0x120]
mov r12, qword [rsp + 0x110]
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x34], esi
cmp r8d, dword [rax]
jl 0x18004cb30
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x28]
mov r14, qword [rsp + 0x128]
mov rbp, qword [rsp + 0x50]
mov r11d, dword [rsp + 0x118]
mov r15d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x140]
mov rax, qword [r14 + 0x40]
mov ecx, dword [rdx]
mov dword [rax + rcx*4], r8d
mov ecx, dword [rdx]
mov edx, dword [rsp + 0x34]
mov rax, qword [r14 + 0x48]
mov dword [rax + rcx*4], edx
lea rdx, [0x180000000]
jmp case.0x18004c730.8
test r14, r14
je 0x18004cd55
mov eax, dword [rsp + 0x20]
add r11d, 4
add r15d, 4
mov dword [rsp + 0x118], r11d
mov dword [rsp + 0x40], r15d
cmp r11d, eax
jae case.0x18004c730.5
mov r10, qword [rsp + 0x120]
mov r12, qword [rsp + 0x110]
jmp 0x18004c710
mov rax, rbx
jmp 0x18004c77f