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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x218
mov rdi, rdx
movzx edx, word [rcx + 6]
mov ecx, 0x70
lea eax, [rcx - 9]
or dx, 0x20
lea r10d, [rcx - 0x6f]
movaps xmmword [r11 - 0x58], xmm6
cmp ax, dx
setne al
sub al, r10b
and al, 2
cmp cx, dx
lea edx, [rcx - 0x32]
movzx r13d, al
lea rcx, [r11 + 8]
cmove r13d, r10d
xor r9d, r9d
cmp rdi, r9
mov dword [rsp + 0x6c], r13d
cmove rdi, qword [0x14012e1b8]
mov qword [rsp + 0x268], rdi
call fcn.1400e7958
mov rbx, qword [rsp + 0x260]
cmp word [rbx], r9w
je 0x1400b3a41
add rbx, 2
cmp word [rbx], r9w
je 0x1400b3a41
mov ecx, 0xffffff
cmp r13b, r10b
mov r15, r9
sete r15b
lea eax, [rdx - 2]
lea ebp, [rdx - 0x2e]
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x68], ecx
mov ecx, 0xff
mov qword [rsp + 0x260], rbx
lea r14, [0x14011a3b8]
mov qword [rsp + 0xb0], r9
mov dword [rsp + 0x278], ecx
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0xf0], rbp
mov qword [rsp + 0xb8], r9
mov qword [rsp + 0x78], r9
mov r12d, r9d
mov esi, r9d
mov qword [rsp + 0x60], r15
cmp ax, word [rbx]
jne 0x1400b2e53
xor edi, edi
add rbx, 2
lea rcx, [rsp + 0x260]
mov edx, 0x3e
mov qword [rsp + 0x260], rbx
mov r11, rbx
call fcn.1400e7958
mov rbx, qword [rsp + 0x260]
lea r8d, [rdx - 0x3a]
lea rcx, [0x14011a3ac]
movzx r13d, word [rbx]
mov rdx, r11
call fcn.140058db8
cmp al, dil
je 0x1400b2ce0
mov r15d, 1
mov qword [rsp + 0x90], r15
lea eax, [r15 + 0x39]
cmp ax, word [r11 + 8]
jne 0x1400b2e0d
add r11, 0xa
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r11
call fcn.140063f14
mov r15, qword [rsp + 0x90]
jmp 0x1400b2e0d
lea rcx, [0x14011a3a4]
mov r8d, 5
mov rdx, r11
call fcn.140058db8
cmp al, dil
je 0x1400b2d39
add r11, 0xa
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r11
call fcn.140063f14
cmp eax, edi
je 0x1400b2e0d
cmp esi, edi
je 0x1400b2d2d
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xb8], rax
jmp 0x1400b2d32
mov rbp, qword [rsp + 0x78]
inc esi
jmp 0x1400b2e0d
lea rcx, [0x14011a39c]
mov r8d, 5
mov rdx, r11
call fcn.140058db8
cmp al, dil
je 0x1400b2d82
cmp r13w, di
je 0x1400b2d64
mov word [rbx], di
mov rbx, qword [rsp + 0x260]
add r11, 0xa
cmp r12d, edi
je 0x1400b2d77
mov qword [rsp + 0xb0], r11
jmp 0x1400b2d7a
mov r14, r11
inc r12d
jmp 0x1400b2e0d
lea rcx, [0x14011a394]
mov r8d, 6
mov rdx, r11
call fcn.140058db8
cmp al, dil
je 0x1400b2dd3
add r11, 0xc
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r11
call fcn.140063f40
mov ecx, dword [rsp + 0x70]
mov edi, ecx
mov dword [rsp + 0x278], ecx
and edi, 0xff000000
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x68], edi
xor edi, edi
jmp 0x1400b2e14
lea rcx, [0x14011a388]
mov r8d, 8
mov rdx, r11
call fcn.140058db8
cmp al, dil
je 0x1400b2e0d
add r11, 0x10
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r11
call fcn.140063f40
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x58], eax
mov ecx, dword [rsp + 0x278]
cmp r13w, di
je 0x1400b2e26
add rbx, 2
mov qword [rsp + 0x260], rbx
mov eax, 0x3c
cmp ax, word [rbx]
je 0x1400b2c56
mov rdi, qword [rsp + 0x268]
mov r13d, dword [rsp + 0x6c]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0xf0], rbp
xor esi, esi
mov eax, ecx
sar eax, 0x10
mov qword [rsp + 0xa8], rsi
movzx edx, al
movzx eax, cl
shl eax, 0x10
or edx, eax
mov eax, ecx
and eax, 0xff00
or edx, eax
mov dword [rsp + 0x68], edx
cmp word [rbx], si
je 0x1400b3a41
mov byte [rsp + 0x268], sil
cmp r13b, 2
jne 0x1400b2ea9
cmp r15, rsi
jg 0x1400b2ea9
mov ebx, esi
mov dword [rsp + 0x278], 0xff0000
mov dword [rsp + 0x58], ebx
jmp 0x1400b2ead
mov ebx, dword [rsp + 0x58]
xor edx, edx
lea rcx, [rsp + 0x1a4]
mov dword [rsp + 0x1a0], esi
lea r8d, [rdx + 0x58]
call fcn.1400f3900
lea r8, [rsp + 0x1a0]
mov edx, 0x5c
mov rcx, rdi
mov dword [rsp + 0x1b0], 0x190
call qword [sym.imp.GDI32.DLL_GetObjectW]
cmp r15, rsi
mov ecx, esi
movsd xmm6, qword [0x14011a380]
movsx eax, r13b
setg cl
or ecx, eax
mov dword [rsp + 0x1a4], esi
mov byte [rsp + 0x1b7], 1
setne al
mov qword [rsp + 0x148], rsi
add al, 3
mov byte [rsp + 0x1ba], al
mov rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x78]
call fcn.14006ac98
xor ecx, ecx
call qword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov qword [rsp + 0x140], rax
movaps xmm0, xmmword [rsp + 0x140]
movdqa xmmword [rsp + 0xe0], xmm0
cmp rax, rsi
je 0x1400b2f6c
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.DLL_ReleaseDC]
mov qword [rsp + 0x140], rsi
mov dword [rsp + 0x100], esi
mov dword [rsp + 0x104], esi
xor eax, eax
mov dword [rsp + 0x108], ebp
mov dword [rsp + 0x10c], ebp
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x88], rsi
mov r15, rsi
mov r12, rsi
mov rsi, qword [rsp + 0xe0]
cmp word [r14], ax
je 0x1400b2fea
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x1a0]
mov r8, r14
movsd qword [rsp + 0xa0], xmm6
call fcn.1400b25a8
mov r12, rax
xor eax, eax
cmp r12, rax
je 0x1400b2fea
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.GDI32.DLL_SelectObject]
mov r15, rax
xor eax, eax
mov r9d, 0x20
mov edx, ebp
mov ecx, ebp
lea r8d, [r9 - 0x1f]
mov qword [rsp + 0x20], rax
call qword [sym.imp.GDI32.DLL_CreateBitmap]
xor ecx, ecx
mov qword [rsp + 0xa0], rcx
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0xf8], rax
call qword [sym.imp.GDI32.DLL_SelectObject]
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0xd0], rax
call qword [sym.imp.GDI32.DLL_SetBkColor]
mov edx, dword [rsp + 0x278]
mov rcx, rsi
call qword [sym.imp.GDI32.DLL_SetTextColor]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.GDI32.DLL_SetBkMode]
xor edx, edx
cmp r13b, dl
je 0x1400b3060
cmp qword [rsp + 0x60], rdx
jle 0x1400b3075
lea rdx, [rsp + 0x100]
mov r8d, ebx
mov rcx, rsi
call fcn.1400d8ee0
xor edx, edx
mov r11, qword [rsp + 0x78]
mov qword [rsp + 0x50], r11
movzx eax, word [r11]
mov rbx, r11
mov r13, r11
mov edi, edx
cmp ax, dx
je 0x1400b315f
mov ecx, 0x3c
cmp cx, ax
je 0x1400b314f
mov r8d, 0x5c
cmp r8w, ax
jne 0x1400b312d
lea rax, [r11 + 2]
lea ecx, [r8 + 0x19]
cmp cx, word [rax]
jne 0x1400b310d
mov qword [rsp + 0x80], rdx
add r11, 4
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x50], r11
call fcn.140060dcc
mov r8, qword [rsp + 0x80]
xor edx, edx
lea ecx, [rdx + 0x3c]
cmp r8w, dx
je 0x1400b3106
mov word [rbx], r8w
add rbx, 2
mov r11, qword [rsp + 0x50]
jmp 0x1400b3142
mov qword [rsp + 0x50], rax
movzx ecx, word [rax]
cmp cx, dx
je 0x1400b315f
mov word [rbx], cx
mov r11, qword [rsp + 0x50]
add rbx, 2
mov ecx, 0x3c
jmp 0x1400b3142
mov word [rbx], ax
mov r11, qword [rsp + 0x50]
add rbx, 2
add r11, 2
mov qword [rsp + 0x50], r11
mov ax, word [r11]
cmp ax, dx
jne 0x1400b3099
cmp word [r11], dx
je 0x1400b315f
mov word [r11], dx
add qword [rsp + 0x50], 2
mov word [rbx], dx
lea rcx, [rsp + 0x50]
mov edx, 0x3e
call fcn.1400e7958
mov rcx, qword [rsp + 0x50]
xor ebx, ebx
cmp word [rcx], bx
je 0x1400b3186
mov word [rcx], bx
add qword [rsp + 0x50], 2
lea r9, [rsp + 0xc0]
or r8d, 0xffffffff
mov rdx, r13
mov rcx, rsi
mov dword [rsp + 0xc0], ebx
mov dword [rsp + 0xc4], ebx
mov dword [rsp + 0xc8], ebp
mov dword [rsp + 0xcc], ebp
mov dword [rsp + 0x20], 0x401
call qword [sym.imp.USER32.DLL_DrawTextW]
movsxd r11, dword [rsp + 0xcc]
mov rax, rbp
sub rax, r11
lea r9, [rsp + 0xc0]
or r8d, 0xffffffff
cqo
mov rcx, rsi
mov dword [rsp + 0xc8], ebp
sub rax, rdx
mov rdx, r13
mov dword [rsp + 0xcc], ebp
sar rax, 1
mov dword [rsp + 0x20], 1
mov dword [rsp + 0xc4], eax
call qword [sym.imp.USER32.DLL_DrawTextW]
mov r11, qword [rsp + 0x50]
cmp word [r11], bx
je 0x1400b3345
mov eax, 0x3c
cmp ax, word [r11]
jne 0x1400b32b8
xor esi, esi
mov ebp, eax
add r11, 2
lea rcx, [rsp + 0x50]
mov edx, 0x3e
mov qword [rsp + 0x50], r11
mov rbx, r11
call fcn.1400e7958
mov r11, qword [rsp + 0x50]
lea r8d, [rdx - 0x39]
lea rcx, [0x14011a39c]
movzx r13d, word [r11]
mov rdx, rbx
call fcn.140058db8
cmp al, sil
je 0x1400b3291
cmp r13w, si
je 0x1400b327a
mov word [r11], si
mov r11, qword [rsp + 0x50]
add rbx, 0xa
cmp edi, esi
je 0x1400b328c
mov qword [rsp + 0xb0], rbx
jmp 0x1400b328f
mov r14, rbx
inc edi
cmp r13w, si
je 0x1400b32a0
add r11, 2
mov qword [rsp + 0x50], r11
cmp bp, word [r11]
je 0x1400b322f
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xf0]
xor ebx, ebx
movsx ecx, byte [rsp + 0x268]
cmp edi, ecx
mov eax, ecx
jle 0x1400b3336
cmp cl, bl
cmovne r14, qword [rsp + 0xb0]
cmp word [r14], bx
je 0x1400b3336
cmp r15, rbx
je 0x1400b32eb
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.GDI32.DLL_SelectObject]
mov r15, rbx
cmp r12, rbx
je 0x1400b32f9
mov rcx, r12
call qword [sym.imp.GDI32.DLL_DeleteObject]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1a0]
mov r8, r14
movsd qword [rsp + 0x80], xmm6
call fcn.1400b25a8
mov r12, rax
cmp rax, rbx
je 0x1400b3331
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.DLL_SelectObject]
mov r15, rax
mov r11, qword [rsp + 0x50]
mov edx, 0
cmp word [r11], bx
jne 0x1400b307f
mov rdi, qword [rsp + 0x90]
xor r14d, r14d
cmp r15, r14
je 0x1400b3361
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.GDI32.DLL_SelectObject]
cmp r12, r14
je 0x1400b336f
mov rcx, r12
call qword [sym.imp.GDI32.DLL_DeleteObject]
mov eax, dword [rsp + 0x6c]
mov r15, qword [rsp + 0xf8]
mov r12, r14
mov qword [rsp + 0x80], r15
mov r13, r14
cmp al, r14b
jne 0x1400b347a
xor ecx, ecx
call qword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov qword [rsp + 0x138], r14
mov qword [rsp + 0x130], rax
movaps xmm0, xmmword [rsp + 0x130]
movdqa xmmword [rsp + 0x110], xmm0
cmp rax, r14
je 0x1400b33d3
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.DLL_ReleaseDC]
mov qword [rsp + 0x130], r14
mov r9d, 1
mov edx, ebp
mov ecx, ebp
mov r8d, r9d
mov qword [rsp + 0x20], r14
call qword [sym.imp.GDI32.DLL_CreateBitmap]
mov rdi, qword [rsp + 0x110]
mov rcx, rdi
mov rdx, rax
mov r12, rax
mov qword [rsp + 0x90], rdi
call qword [sym.imp.GDI32.DLL_SelectObject]
cmp qword [rsp + 0x60], r14
mov r13, rax
jg 0x1400b359b
mov ebx, dword [rsp + 0x58]
lea rdx, [rsp + 0x100]
mov rcx, rdi
mov r8d, ebx
call fcn.1400d8ee0
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.GDI32.DLL_SetBkColor]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.GDI32.DLL_BitBlt]
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x6c]
cmp qword [rsp + 0x60], r14
jg 0x1400b3592
cmp al, r14b
jne 0x1400b35bc
xor ecx, ecx
call qword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov edx, ebp
mov ecx, ebp
mov r14, rax
xor eax, eax
lea r9d, [rax + 0x20]
lea r8d, [rax + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.GDI32.DLL_CreateBitmap]
mov rcx, r14
mov rdx, rax
mov r15, rax
mov qword [rsp + 0xa0], rax
call qword [sym.imp.GDI32.DLL_SelectObject]
mov dword [rsp + 0x40], 0x8800c6
mov r9d, ebp
mov rbx, rax
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.GDI32.DLL_BitBlt]
mov edx, 0xffffff
mov rcx, r14
call qword [sym.imp.GDI32.DLL_SetBkColor]
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.DLL_SetTextColor]
mov dword [rsp + 0x40], 0x8800c6
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.GDI32.DLL_BitBlt]
mov dword [rsp + 0x40], 0xee0086
xor eax, eax
mov r9d, ebp
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.GDI32.DLL_BitBlt]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.GDI32.DLL_SelectObject]
xor eax, eax
mov qword [rsp + 0x80], r15
cmp r14, rax
je 0x1400b35ad
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.DLL_ReleaseDC]
xor r14d, r14d
cmp byte [rsp + 0x6c], r14b
jne 0x1400b35bc
jmp 0x1400b35b0
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x88], rax
jmp 0x1400b35b0
xor r14d, r14d
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.GDI32.DLL_SelectObject]
mov rdx, qword [rsp + 0xd0]
mov rcx, rsi
call qword [sym.imp.GDI32.DLL_SelectObject]
mov r13d, dword [rsp + 0x6c]
cmp r13b, 2
je 0x1400b374d
cmp r13b, 1
je 0x1400b373c
xor edx, edx
lea rcx, [rsp + 0x154]
lea r8d, [rdx + 0x1c]
call fcn.1400f3900
lea rcx, [rsp + 0x150]
mov dword [rsp + 0x150], 1
mov qword [rsp + 0x168], r15
mov qword [rsp + 0x160], r12
call qword [sym.imp.USER32.DLL_CreateIconIndirect]
mov rcx, r12
mov rbx, rax
call qword [sym.imp.GDI32.DLL_DeleteObject]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.GDI32.DLL_DeleteObject]
mov rax, qword [rsp + 0xa0]
cmp rax, r14
je 0x1400b3652
mov rcx, rax
call qword [sym.imp.GDI32.DLL_DeleteObject]
mov r12, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x270]
cmp r12, r14
jne 0x1400b3674
mov r12, rbx
mov qword [rsp + 0xa8], rbx
jmp 0x1400b367c
cmp rdx, r14
je 0x1400b367c
mov qword [rdx], rbx
mov rax, qword [rsp + 0xb0]
cmp rax, r14
je 0x1400b36fe
mov rcx, qword [rsp + 0xb8]
cmp rcx, r14
jle 0x1400b36fe
cmp rdx, r14
je 0x1400b36fe
cmp byte [rsp + 0x268], r14b
jne 0x1400b36fe
xor ebx, ebx
mov r14, rax
mov rbp, rcx
mov qword [rsp + 0xf0], rcx
mov byte [rsp + 0x268], 1
cmp rdi, rbx
je 0x1400b36d3
mov rcx, qword [rsp + 0x88]
mov rdx, rdi
call qword [sym.imp.USER32.DLL_ReleaseDC]
cmp rsi, rbx
je 0x1400b36e9
mov rcx, qword [rsp + 0xe8]
mov rdx, rsi
call qword [sym.imp.USER32.DLL_ReleaseDC]
lea rcx, [rsp + 0x78]
call fcn.140057768
mov ebx, dword [rsp + 0x58]
xor esi, esi
jmp 0x1400b2f21
cmp rdi, r14
je 0x1400b3714
mov rcx, qword [rsp + 0x88]
mov rdx, rdi
call qword [sym.imp.USER32.DLL_ReleaseDC]
cmp rsi, r14
je 0x1400b372a
mov rcx, qword [rsp + 0xe8]
mov rdx, rsi
call qword [sym.imp.USER32.DLL_ReleaseDC]
lea rcx, [rsp + 0x78]
call fcn.140057768
mov rax, r12
jmp 0x1400b3a43
cmp rdi, r14
je 0x1400b3a1c
mov rdx, rdi
jmp 0x1400b3a0e
mov qword [rsp + 0x268], r14
cmp qword [0x14012ce70], r14
jne 0x1400b3767
xor edx, edx
xor ecx, ecx
call fcn.14001e2a0
cmp qword [rsp + 0x60], r14
jle 0x1400b3786
lea r8, [rsp + 0x268]
xor edx, edx
mov rcx, r15
call qword [0x14012cdd0]
jmp 0x1400b39f0
xor edx, edx
lea rcx, [rsp + 0x174]
mov dword [rsp + 0x170], 0x28
lea r8d, [rdx + 0x24]
call fcn.1400f3900
lea rax, [rsp + 0x170]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
mov r9d, ebp
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.GDI32.DLL_GetDIBits]
mov r13, rbp
lea rcx, [rsp + 0x278]
shl r13, 2
mov dword [rsp + 0x180], r14d
mov dword [rsp + 0x178], ebp
mov rdi, r13
imul rdi, rbp
mov qword [rsp + 0xa8], rdi
lea rdx, [rdi + rdi]
call fcn.14005f7a0
mov rbx, qword [rsp + 0x278]
mov rcx, rbx
call fcn.1400576cc
lea rax, [rdi + rbx]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x170]
mov r9d, ebp
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.GDI32.DLL_GetDIBits]
cmp rbp, r14
mov r11, rbx
mov edx, r14d
jle 0x1400b387f
mov r8d, dword [rsp + 0x68]
mov ecx, r14d
mov eax, dword [r11]
inc ecx
shl eax, 0x18
or eax, r8d
mov dword [r11], eax
movsxd rax, ecx
add r11, 4
cmp rax, rbp
jl 0x1400b385b
inc edx
movsxd rax, edx
cmp rax, rbp
jl 0x1400b3858
mov rax, rbp
cqo
sub rax, rdx
sar rax, 1
mov r14, rax
sub r14d, 1
js 0x1400b3920
movsxd rcx, r14d
mov rdi, rbp
mov rax, r13
sub rdi, rcx
neg rax
mov r12, rcx
dec rdi
mov rsi, rax
imul r12, r13
add r12, rbx
imul rdi, r13
add rdi, rbx
mov rbx, qword [rsp + 0xb8]
xor r15d, r15d
mov r8, r13
mov rdx, r12
mov rcx, rbx
call fcn.14001c8fc
mov r8, r13
mov rdx, rdi
mov rcx, r12
call fcn.14001c8fc
mov r8, r13
mov rdx, rbx
mov rcx, rdi
call fcn.14001c8fc
dec r14d
add r12, rsi
add rdi, r13
cmp r14d, r15d
jge 0x1400b38c8
mov rbx, qword [rsp + 0x278]
mov rsi, qword [rsp + 0xe0]
mov r15, qword [rsp + 0x80]
mov rdi, qword [rsp + 0xa8]
mov rax, qword [0x14012ce70]
xor r14d, r14d
cmp rax, r14
je 0x1400b39e3
lea rcx, [rsp + 0x268]
mov r12d, 0x26200a
mov r8d, r13d
mov qword [rsp + 0x28], rcx
mov ecx, ebp
mov r9d, r12d
mov edx, ebp
mov qword [rsp + 0x20], r14
call rax
lea r8d, [r14 + 0x1c]
lea rcx, [rsp + 0x114]
xor edx, edx
mov dword [rsp + 0x110], r14d
call fcn.1400f3900
mov rcx, qword [rsp + 0x268]
lea rax, [rsp + 0x110]
lea r8d, [r14 + 1]
lea rdx, [rsp + 0xd0]
mov r9d, r12d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xd0], r14d
mov dword [rsp + 0xd4], r14d
mov dword [rsp + 0xd8], ebp
mov dword [rsp + 0xdc], ebp
call qword [0x14012ce60]
mov rcx, qword [rsp + 0x120]
mov r8, rdi
mov rdx, rbx
call fcn.14001c8fc
mov rcx, qword [rsp + 0x268]
lea rdx, [rsp + 0x110]
call qword [0x14012ce68]
lea rcx, [rsp + 0x278]
call fcn.140057768
mov rcx, r15
call qword [sym.imp.GDI32.DLL_DeleteObject]
mov rdx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x268]
cmp rdx, r14
je 0x1400b3a1c
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.USER32.DLL_ReleaseDC]
cmp rsi, r14
je 0x1400b3a32
mov rcx, qword [rsp + 0xe8]
mov rdx, rsi
call qword [sym.imp.USER32.DLL_ReleaseDC]
lea rcx, [rsp + 0x78]
call fcn.140057768
mov rax, r15
jmp 0x1400b3a43
xor eax, eax
movaps xmm6, xmmword [rsp + 0x200]
add rsp, 0x218
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret