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

Disassembly:
jmp 0x1400a8640
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x50], 0
je 0x1400a866a
xor eax, eax
jmp 0x1400a88a4
mov dword [rsp + 0x44], 0x28
mov eax, dword [rsp + 0x88]
mov ecx, 2
mov dword [rsp + 0x34], ecx
movzx ecx, al
mov eax, dword [rsp + 0x34]
sar eax, cl
cdqe
mov ecx, dword [rsp + 0x88]
imul ecx, dword [rsp + 0x78]
imul ecx, dword [rsp + 0x80]
mov ecx, ecx
lea rax, [rcx + rax*4 + 0x28]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov ecx, eax
call fcn.1401b0bb0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x50], 0
jne 0x1400a86dd
xor eax, eax
jmp 0x1400a88a4
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov dword [rax], 0x28
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov ecx, dword [rsp + 0x78]
mov dword [rax + 4], ecx
mov eax, dword [rsp + 0x80]
neg eax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x50]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
movzx ecx, word [rsp + 0x88]
mov word [rax + 0xe], cx
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov ecx, 1
mov word [rax + 0xc], cx
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov dword [rax + 0x18], 0x3e8
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov dword [rax + 0x1c], 0x3e8
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov dword [rax + 0x24], 0
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov eax, dword [rax]
imul rax, rax, 0x2c
mov rcx, qword [rsp + 0x70]
add rax, qword [rcx + 0x50]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
movzx eax, word [rax + 0xe]
mov ecx, 2
mov dword [rsp + 0x3c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x3c]
sar eax, cl
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x30], 0
jmp 0x1400a87dc
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x30], eax
jge 0x1400a8823
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax*4 + 2], 0
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax*4], 0
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax*4 + 1], 0
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax*4 + 3], 0
jmp 0x1400a87d2
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x58], rax
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
xor r8d, r8d
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x50]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x40]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x60], rax
mov eax, 1
add rsp, 0x68
ret