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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 8]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x1a]
mov byte [rsp + 0x3c], al
cmp byte [rsp + 0x3c], 1
je 0x1801c5cec
cmp byte [rsp + 0x3c], 2
je 0x1801c5b87
cmp byte [rsp + 0x3c], 7
je 0x1801c5e65
jmp 0x1801c61e3
cmp qword [rsp + 0xa0], 0
jne 0x1801c5c3b
mov dword [rsp + 0x40], 0
jmp 0x1801c5bd9
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x40], eax
jae 0x1801c5c36
mov dword [rsp + 0x24], 0
jmp 0x1801c5bf7
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x24], eax
jae 0x1801c5c31
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
shl eax, 0x18
or eax, 0xff0000
or eax, 0xff00
or eax, 0xff
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x1801c5bed
jmp 0x1801c5ba0
jmp 0x1801c5ce7
mov dword [rsp + 0x44], 0
jmp 0x1801c5c7e
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x44], eax
jae 0x1801c5ce7
mov dword [rsp + 0x28], 0
jmp 0x1801c5c9c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x28], eax
jae 0x1801c5ce2
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
shl eax, 0x18
or eax, 0xff0000
or eax, 0xff00
or eax, 0xff
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x1801c5c92
jmp 0x1801c5c45
jmp 0x1801c61e3
cmp qword [rsp + 0xa0], 0
je 0x1801c5d12
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x54], eax
jmp 0x1801c5d1a
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x1a], al
cmp qword [rsp + 0xa0], 0
je 0x1801c5d4c
mov eax, 1
imul rax, rax, 0xff
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x58], eax
jmp 0x1801c5d54
mov dword [rsp + 0x58], 0xff
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x19], al
mov dword [rsp + 0x48], 0
jmp 0x1801c5da0
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x48], eax
jae 0x1801c5e60
mov byte [rsp], 0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x2c], 0
jmp 0x1801c5dd9
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
movzx eax, byte [rsp]
shl al, 1
mov byte [rsp], al
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x2c], eax
jae 0x1801c5e5b
mov eax, dword [rsp + 0x2c]
and eax, 7
test eax, eax
jne 0x1801c5e0f
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
mov byte [rsp + 0x18], al
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x18]
mov byte [rsp], al
movzx eax, byte [rsp]
and eax, 0x80
test eax, eax
je 0x1801c5e27
movzx eax, byte [rsp + 0x19]
mov byte [rsp + 3], al
jmp 0x1801c5e30
movzx eax, byte [rsp + 0x1a]
mov byte [rsp + 3], al
movzx eax, byte [rsp + 3]
shl eax, 0x18
or eax, 0xff0000
or eax, 0xff00
or eax, 0xff
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x1801c5dc6
jmp 0x1801c5d67
jmp 0x1801c61e3
cmp qword [rsp + 0xa0], 0
jne 0x1801c6013
mov dword [rsp + 0x4c], 0
jmp 0x1801c5eb7
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x4c], eax
jae 0x1801c600e
mov dword [rsp + 0x10], 0
jmp 0x1801c5ed9
mov eax, dword [rsp + 0x10]
inc eax
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x10], eax
jae 0x1801c6009
mov eax, dword [rsp + 0x10]
lea eax, [rax*4 + 2]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1d], al
mov eax, dword [rsp + 0x10]
lea eax, [rax*4 + 1]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1c], al
mov eax, dword [rsp + 0x10]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1b], al
mov eax, dword [rsp + 0x10]
lea eax, [rax*4 + 3]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
shl eax, 0x18
movzx ecx, byte [rsp + 0x1b]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x1802d28bc]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 1]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1802d25d4]
cvttss2si rcx, xmm0
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp + 0x1c]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x1802d28bc]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 1]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1802d25d4]
cvttss2si rcx, xmm0
shl ecx, 8
or eax, ecx
movzx ecx, byte [rsp + 0x1d]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x1802d28bc]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 1]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1802d25d4]
cvttss2si rcx, xmm0
or eax, ecx
mov ecx, dword [rsp + 0x10]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x1801c5ecf
jmp 0x1801c5e7e
jmp 0x1801c61e3
mov dword [rsp + 0x50], 0
jmp 0x1801c6056
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x50], eax
jae 0x1801c61e3
mov dword [rsp + 0x14], 0
jmp 0x1801c6078
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x14], eax
jae 0x1801c61de
mov eax, dword [rsp + 0x14]
lea eax, [rax*4 + 2]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x14]
lea eax, [rax*4 + 1]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1f], al
mov eax, dword [rsp + 0x14]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1e], al
mov eax, dword [rsp + 0x14]
lea eax, [rax*4 + 3]
mov eax, eax
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 2], al
movzx eax, byte [rsp + 2]
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
shl eax, 0x18
movzx ecx, byte [rsp + 0x1e]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x1802d28bc]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 2]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1802d25d4]
cvttss2si rcx, xmm0
mov ecx, ecx
mov rdx, qword [rsp + 0xa0]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp + 0x1f]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x1802d28bc]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 2]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1802d25d4]
cvttss2si rcx, xmm0
mov ecx, ecx
mov rdx, qword [rsp + 0xa0]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
movzx ecx, byte [rsp + 0x20]
cvtsi2ss xmm0, ecx
movss xmm1, dword [0x1802d28bc]
mulss xmm1, xmm0
movaps xmm0, xmm1
movzx ecx, byte [rsp + 2]
cvtsi2ss xmm1, ecx
divss xmm0, xmm1
addss xmm0, dword [0x1802d25d4]
cvttss2si rcx, xmm0
mov ecx, ecx
mov rdx, qword [rsp + 0xa0]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov ecx, dword [rsp + 0x14]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
jmp 0x1801c606e
jmp 0x1801c601d
add rsp, 0x78
ret