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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push r12
push r14
sub rsp, 0x120
mov qword [rax - 0x20], rbx
xor r14d, r14d
mov qword [rax - 0x28], rbp
mov r12, rcx
movsxd rbp, dword [r8]
mov rsi, r8
mov qword [rax - 0x30], rdi
mov rdi, rdx
mov edx, dword [r8 + 0x10]
mov rcx, rdi
mov qword [rax - 0x38], r13
mov r13d, dword [r8 + 4]
mov ebx, r13d
mov qword [rax - 0x40], r15
mov r15d, dword [r8 + 8]
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
xor al, al
mov byte [rsp + 0x148], al
mov eax, dword [r8 + 0x28]
bswap eax
shr eax, 8
mov dword [rsp + 0x9c], eax
mov eax, dword [r8 + 0x30]
bswap eax
shr eax, 8
mov dword [rsp + 0x84], eax
mov eax, dword [r8 + 0x2c]
bswap eax
shr eax, 8
mov dword [rsp + 0x98], eax
mov eax, dword [r8 + 0x34]
bswap eax
shr eax, 8
imul ebx, ebp
mov dword [rsp + 0x90], ebp
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x150], r15d
mov dword [rsp + 0x158], r14d
mov dword [rsp + 0x80], eax
test edx, edx
jne 0x1400d2c8e
lea eax, [rbx*4]
movsxd r8, eax
call fcn.1400e43c0
jmp 0x1400d2c9b
bswap edx
shr edx, 8
movsxd r8, ebx
call sym.zzzzzzzzzzzzz.exe_PhFillMemoryUlong
movss xmm8, dword [0x140138510]
lea r11d, [rbp - 1]
xor ecx, ecx
mov dword [rsp + 0x30], r11d
mov eax, 0x7fffffff
mov dword [rsp + 0x38], ecx
xorps xmm7, xmm7
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], ecx
cmp dword [rsi + 0x14], ecx
jbe 0x1400d2d41
mov rax, qword [rsi + 0x18]
movss xmm1, dword [rax]
comiss xmm7, xmm1
jbe 0x1400d2cde
movaps xmm1, xmm7
jmp 0x1400d2ce8
comiss xmm1, xmm8
jbe 0x1400d2ce8
movaps xmm1, xmm8
mov eax, dword [rsi + 4]
xorps xmm2, xmm2
dec eax
test byte [rsi + 8], 0x10
cvtsi2ss xmm2, rax
movaps xmm0, xmm2
mulss xmm0, xmm1
cvttss2si rax, xmm0
mov qword [rsp + 0x68], rax
je 0x1400d2d3c
mov rax, qword [rsi + 0x20]
addss xmm1, dword [rax]
comiss xmm7, xmm1
jbe 0x1400d2d27
movaps xmm1, xmm7
mulss xmm2, xmm1
cvttss2si r14, xmm2
jmp 0x1400d2d45
comiss xmm1, xmm8
jbe 0x1400d2d31
movaps xmm1, xmm8
mulss xmm2, xmm1
cvttss2si r14, xmm2
jmp 0x1400d2d45
mov r14d, eax
jmp 0x1400d2d45
mov dword [rsp + 0x68], ecx
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xb0], xmm9
test r15b, 3
je 0x1400d2d9c
movss xmm9, dword [rsi + 0x40]
comiss xmm9, xmm7
ja 0x1400d2d6c
movaps xmm9, xmm7
mov r8d, dword [rsi + 0x3c]
xor edx, edx
mov eax, dword [rsi + 0x44]
movaps xmm6, xmm9
imul eax, dword [rsi + 0xc]
mov r15d, dword [rsi + 0x38]
mov r9d, dword [rsi + 0x48]
bswap r15d
mov dword [rsp + 0x4c], r9d
div r8d
sub r8d, edx
dec r8d
shr r15d, 8
jmp 0x1400d2dca
mov eax, dword [rsp + 0x148]
movss xmm9, dword [rsp + 0x148]
movss xmm6, dword [rsp + 0x148]
mov r8d, dword [rsp + 0x148]
mov r15d, dword [rsp + 0x148]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x150]
and eax, 6
mov dword [rsp + 0x48], r8d
movaps xmmword [rsp + 0xa0], xmm10
cmp al, 6
jne 0x1400d2e6c
movss xmm10, dword [rsi + 0x4c]
comiss xmm10, xmm8
jbe 0x1400d2e67
cvtps2pd xmm0, xmm10
call fcn.140100380
movaps xmm6, xmm0
cvtps2pd xmm0, xmm9
call fcn.140100380
divsd xmm0, xmm6
xorps xmm0, xmmword [0x1401386c0]
call fcn.1400fe388
subsd xmm0, qword [0x140138528]
mulsd xmm0, xmm6
call fcn.1400fff80
cvtps2pd xmm1, xmm9
mulsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
comiss xmm7, xmm6
ja 0x1400d2e5c
movaps xmm0, xmm6
call fcn.1400f08d8
test ax, ax
jg 0x1400d2e5c
xor ecx, ecx
lea r11d, [rbp - 1]
comiss xmm6, xmm8
jbe 0x1400d2e76
movaps xmm6, xmm8
jmp 0x1400d2e76
movaps xmm6, xmm7
lea r11d, [rbp - 1]
xor ecx, ecx
jmp 0x1400d2e76
movaps xmm6, xmm7
jmp 0x1400d2e76
movss xmm10, dword [rsp + 0x148]
mov eax, dword [rsp + 0x150]
and eax, 0x1000
mov dword [rsp + 0x60], eax
je 0x1400d2e93
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x58], ecx
jmp 0x1400d2ea9
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x58], eax
movsxd rax, ebx
mov qword [rsp + 0x70], rax
test r11d, r11d
js 0x1400d32b5
mov eax, dword [rsp + 0x150]
mov r10, rbp
mov r13d, dword [rsp + 0x148]
mov edx, eax
mov r12d, dword [rsp + 0x148]
and edx, 1
mov dword [rsp + 0x88], edx
mov edx, eax
and eax, 0x10
movsxd rbx, r11d
and edx, 2
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x8c], edx
xor al, al
jmp 0x1400d2f02
xor ecx, ecx
test al, al
jne 0x1400d2ff1
mov eax, dword [rsp + 0x158]
mov r9d, r14d
mov r8d, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x158], eax
cmp eax, dword [rsi + 0x14]
jae 0x1400d2fbb
mov ecx, eax
mov rax, qword [rsi + 0x18]
movss xmm1, dword [rax + rcx*4]
comiss xmm7, xmm1
jbe 0x1400d2f40
movaps xmm1, xmm7
jmp 0x1400d2f4a
comiss xmm1, xmm8
jbe 0x1400d2f4a
movaps xmm1, xmm8
mov eax, dword [rsi + 4]
xorps xmm2, xmm2
dec eax
test byte [rsi + 8], 0x10
cvtsi2ss xmm2, rax
movaps xmm0, xmm2
mulss xmm0, xmm1
cvttss2si rax, xmm0
mov edx, eax
mov qword [rsp + 0x68], rdx
je 0x1400d2faf
mov rax, qword [rsi + 0x20]
addss xmm1, dword [rax + rcx*4]
comiss xmm7, xmm1
jbe 0x1400d2f93
mov eax, dword [rsp + 0x158]
movaps xmm1, xmm7
mulss xmm2, xmm1
cvttss2si r14, xmm2
jmp 0x1400d2fc5
comiss xmm1, xmm8
jbe 0x1400d2f9d
movaps xmm1, xmm8
mov eax, dword [rsp + 0x158]
mulss xmm2, xmm1
cvttss2si r14, xmm2
jmp 0x1400d2fc5
mov r14d, eax
mov eax, dword [rsp + 0x158]
jmp 0x1400d2fc5
mov edx, ecx
mov r14d, ecx
mov qword [rsp + 0x68], rdx
lea r13d, [r8 + rdx]
lea r12d, [r9 + r14]
shr r13d, 1
shr r12d, 1
cmp dword [rsp + 0x60], 0
je 0x1400d2fff
cmp eax, dword [rsi + 0x6c]
jae 0x1400d2fff
cmp dword [rsp + 0x34], r14d
ja 0x1400d2fff
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x58], eax
jmp 0x1400d2fff
mov r8d, r13d
mov r9d, r12d
mov r13d, dword [rsp + 0x68]
mov r12d, r14d
mov eax, dword [rsp + 0x3c]
lea r11d, [r8 + r13]
mov ecx, dword [rsp + 0x38]
mov edx, r13d
shr r11d, 1
imul r11d, ebp
imul edx, ebp
cmp r13d, r8d
jae 0x1400d3033
imul r8d, ebp
mov dword [rsp + 0x3c], edx
lea edx, [r11 + rbp]
mov dword [rsp + 0x38], r11d
mov r11d, r8d
jmp 0x1400d3045
mov dword [rsp + 0x38], edx
lea edx, [r11 + rbp]
mov dword [rsp + 0x3c], edx
mov edx, r8d
imul edx, ebp
cmp edx, eax
cmovg edx, eax
cmp r11d, ecx
cmovl r11d, ecx
add edx, dword [rsp + 0x30]
add r11d, dword [rsp + 0x30]
cmp dword [rsp + 0x5c], 0
je 0x1400d3100
mov eax, dword [rsp + 0x44]
lea r8d, [r12 + r9]
mov ecx, dword [rsp + 0x40]
mov r10d, r12d
shr r8d, 1
imul r8d, ebp
imul r10d, ebp
cmp r12d, r9d
jae 0x1400d30a3
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x44], r10d
lea r10d, [r8 + rbp]
mov r8d, r9d
mov dword [rsp + 0x50], r10d
imul r8d, ebp
mov r9d, r10d
jmp 0x1400d30b5
mov dword [rsp + 0x40], r10d
lea r10d, [r8 + rbp]
mov dword [rsp + 0x44], r10d
imul r9d, ebp
cmp r9d, eax
movsxd r10, ebp
cmovg r9d, eax
cmp r8d, ecx
lea eax, [r11 + rbp]
cmovl r8d, ecx
add r9d, dword [rsp + 0x30]
add r8d, dword [rsp + 0x30]
movsxd rcx, eax
movsxd rax, r9d
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x94], r8d
cmp rcx, rax
jge 0x1400d3100
mov r8d, dword [rsp + 0x80]
mov dword [rdi + rcx*4], r8d
add rcx, r10
cmp rcx, rax
jl 0x1400d30f4
movsxd rdx, edx
mov rax, rbx
cmp rbx, rdx
jge 0x1400d311d
mov ecx, dword [rsp + 0x84]
mov dword [rdi + rax*4], ecx
add rax, r10
cmp rax, rdx
jl 0x1400d3112
cmp dword [rsp + 0x88], 0
je 0x1400d315f
mov ecx, dword [rsp + 0x48]
test ecx, ecx
jne 0x1400d314c
mov r8, qword [rsp + 0x70]
mov rax, rbx
cmp rbx, r8
jge 0x1400d314c
nop dword [rax]
mov dword [rdi + rax*4], r15d
add rax, r10
cmp rax, r8
jl 0x1400d3140
inc ecx
mov eax, 0
cmp ecx, dword [rsi + 0x3c]
cmove ecx, eax
mov dword [rsp + 0x48], ecx
jmp 0x1400d3161
xor eax, eax
cmp dword [rsp + 0x8c], 0
je 0x1400d322b
test byte [rsp + 0x150], 4
je 0x1400d31ca
mov eax, dword [rsp + 0x54]
movaps xmm1, xmm6
dec eax
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
mulss xmm0, xmm6
cvttss2si ecx, xmm0
cmp ecx, eax
jg 0x1400d322b
mov r8d, dword [rsp + 0x4c]
movsxd rax, ecx
movaps xmm0, xmm2
imul rax, r10
divss xmm1, xmm10
add rax, rbx
mov dword [rdi + rax*4], r15d
mov eax, ecx
sub eax, r8d
mulss xmm0, xmm1
cvttss2si ecx, xmm0
cmp ecx, eax
jle 0x1400d31a1
jmp 0x1400d322b
mov r9d, dword [rsp + 0x54]
movaps xmm1, xmm9
dec r9d
mov r8d, eax
movd xmm2, r9d
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
mulss xmm0, xmm9
cvttss2si ecx, xmm0
cmp ecx, r9d
jge 0x1400d322b
mov ebp, dword [rsp + 0x4c]
lea eax, [r8 + rbp]
cmp ecx, eax
jl 0x1400d320f
movsxd rax, ecx
mov r8d, ecx
imul rax, r10
add rax, rbx
mov dword [rdi + rax*4], r15d
addss xmm1, xmm9
movaps xmm0, xmm2
mulss xmm0, xmm1
cvttss2si ecx, xmm0
cmp ecx, r9d
jl 0x1400d31f6
mov ebp, dword [rsp + 0x90]
cmp dword [rsp + 0x5c], 0
je 0x1400d325c
movsxd rax, dword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x94]
cmp rax, rcx
jg 0x1400d325c
mov r8d, dword [rsp + 0x98]
nop dword [rax]
mov dword [rdi + rax*4], r8d
add rax, r10
cmp rax, rcx
jle 0x1400d3250
movsxd rax, r11d
cmp rdx, rax
jg 0x1400d327b
mov ecx, dword [rsp + 0x9c]
nop dword [rax + rax]
mov dword [rdi + rdx*4], ecx
add rdx, r10
cmp rdx, rax
jle 0x1400d3270
movzx eax, byte [rsp + 0x148]
mov r11d, dword [rsp + 0x30]
test al, al
sete al
dec r11d
dec rbx
mov byte [rsp + 0x148], al
mov dword [rsp + 0x30], r11d
test r11d, r11d
jns 0x1400d2f00
mov r12, qword [rsp + 0x140]
mov r13d, dword [rsp + 0x54]
cmp dword [rsp + 0x60], 0
movaps xmm10, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm6, xmmword [rsp + 0xe0]
je 0x1400d3418
mov r15d, dword [rsp + 0x58]
cmp r15d, dword [rsi + 0x14]
jae 0x1400d3418
test byte [rsp + 0x150], 0x10
mov rax, qword [rsi + 0x18]
movss xmm2, dword [rax + r15*4]
je 0x1400d3318
mov rax, qword [rsi + 0x20]
addss xmm2, dword [rax + r15*4]
movss xmm3, dword [rsi + 0x58]
mov edx, r15d
mov rcx, rsi
call qword [rsi + 0x50]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1400d341b
mov rdx, qword [rsi + 0x60]
mov edi, r14d
test rdx, rdx
je 0x1400d334d
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdi, rax
mov edx, dword [rsi + 0x68]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 1
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetBkMode]
mov r8d, dword [rbx]
lea r9, [rsp + 0x150]
mov rdx, qword [rbx + 8]
mov rcx, r12
shr r8d, 1
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x140158614]
sub r13d, eax
sub r13d, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x154]
mov dword [rsp + 0x7c], r13d
sub r13d, ecx
mov dword [rsp + 0x74], r13d
cmp r13d, eax
jge 0x1400d33b3
mov dword [rsp + 0x74], eax
add eax, ecx
mov dword [rsp + 0x7c], eax
mov r8d, dword [rbx]
lea eax, [r15 + r15]
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x70]
cmp eax, ebp
mov dword [rsp + 0x70], r14d
mov ecx, ebp
mov dword [rsp + 0x20], 0x102
cmovl ecx, eax
shr r8d, 1
sub ebp, ecx
mov rcx, r12
sub ebp, dword [0x140158618]
mov dword [rsp + 0x78], ebp
call qword [sym.imp.USER32.dll_DrawTextW]
test rdi, rdi
je 0x1400d3400
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d341b
call fcn.1400ae900
jmp 0x1400d341b
xor r14d, r14d
cmp qword [rsi + 0x78], 0
mov r15, qword [rsp + 0xf8]
mov r13, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x108]
mov rbp, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
je 0x1400d34e4
mov rdx, qword [rsi + 0xa0]
test rdx, rdx
je 0x1400d3466
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov r14, rax
mov edx, dword [rsi + 0xac]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rdx, [rsi + 0x90]
mov rcx, r12
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov edx, dword [rsi + 0xa8]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 1
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetBkMode]
mov r8d, dword [rsi + 0x70]
lea r9, [rsi + 0x80]
mov rdx, qword [rsi + 0x78]
mov rcx, r12
shr r8d, 1
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.USER32.dll_DrawTextW]
test r14, r14
je 0x1400d34e4
mov rdx, r14
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
add rsp, 0x120
pop r14
pop r12
pop rsi
ret