Function at 0x140011790
Capabilities:
Hash data using djb2

Disassembly:
push r15
sub rsp, 0x50
mov r15, qword [0x14020c350]
cmp byte [r15], 0
jne 0x1400117bd
mov r8d, 0x1505
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str.g.Initialized
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [r15 + 0x4098]
cmp dword [r15 + 0x409c], eax
je 0x1400117d2
call fcn.1400112b0
mov eax, dword [r15 + 0x4098]
cmp dword [r15 + 0x40a4], eax
je 0x140011c22
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r12
xor r12d, r12d
mov dword [r15 + 0xe8], r12d
mov dword [r15 + 0x40a4], eax
mov rbx, qword [r15 + 0x61e8]
movsxd rdi, dword [r15 + 0x61e0]
shl rdi, 5
add rdi, rbx
mov qword [rsp + 0x30], r14
cmp rbx, rdi
je 0x140011848
nop
cmp dword [rbx + 4], 4
jne 0x14001183f
mov rdx, rbx
mov rcx, r15
call qword [rbx + reloc.WS2_32.dll_recv]
add rbx, 0x20
cmp rbx, rdi
jne 0x140011830
mov rdi, qword [r15 + 0x4c80]
movsxd rax, dword [r15 + 0x4c78]
lea rbp, [rdi + rax*8]
cmp rdi, rbp
je 0x14001195c
cmp qword [0x14020c350], r12
mov rbx, qword [rdi]
jne 0x140011889
mov r8d, 0x1129
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r14, qword [0x14020c350]
lea rsi, [rbx + 0xa8]
mov qword [rbx + 0x30], rsi
lea rcx, [rsi + 0x10]
lea rax, [rbx + 0xf8]
mov qword [rbx + 0xe8], rcx
xor edx, edx
mov qword [rbx + 0xf0], rax
call fcn.1400369b0
mov rcx, qword [rbx + 0xf0]
xor edx, edx
call fcn.1400369b0
mov ecx, dword [rbx + 4]
shr ecx, 0xc
mov byte [rsi], 1
mov qword [rsi + 4], r12
mov dword [rsi + 0xc], r12d
movsd xmm0, qword [rbx + 8]
movsd qword [rsi + 0x20], xmm0
and cl, 1
je 0x1400118f0
mov qword [rsp + 0x60], r12
jmp 0x1400118fb
movsd xmm0, qword [rbx + 0x10]
movsd qword [rsp + 0x68], xmm0
test cl, cl
lea rax, [rsp + 0x68]
lea rdx, [rsp + 0x60]
cmovne rax, rdx
movsd xmm0, qword [rax]
movsd qword [rsi + 0x28], xmm0
movsd xmm1, qword [r14 + 0x50]
movsd qword [rsi + 0x30], xmm1
mov qword [rsi + 0x38], rbx
cmp qword [rbx + 0x98], r12
je 0x14001194f
lea r8, str.Background
xor edx, edx
mov rcx, rbx
call fcn.14000e600
mov rdx, qword [rbx + 0xe8]
mov r8, rax
mov rcx, rsi
call fcn.140042a70
add rdi, 8
cmp rdi, rbp
jne 0x140011863
call fcn.140010d50
mov rax, qword [r15 + 0x4ef8]
test rax, rax
je 0x140011986
test dword [rax + 0x14], 0x2000
jne 0x140011986
mov rsi, qword [rax + 0x3d0]
mov rdi, qword [r15 + 0x4f08]
jmp 0x14001199a
mov rsi, r12
test rax, rax
je 0x140011997
mov rdi, qword [r15 + 0x4f08]
jmp 0x14001199a
mov rdi, r12
mov rbx, qword [r15 + 0x40e8]
movsxd rax, dword [r15 + 0x40e0]
lea rbp, [rbx + rax*8]
cmp rbx, rbp
je 0x1400119f0
mov rcx, qword [rbx]
cmp byte [rcx + 0xf3], r12b
je 0x1400119e4
cmp byte [rcx + 0xfa], r12b
jne 0x1400119e4
mov edx, dword [rcx + 0x14]
bt edx, 0x18
jb 0x1400119e4
cmp rcx, rsi
je 0x1400119e4
cmp rcx, rdi
je 0x1400119e4
shr edx, 0x19
and edx, 1
call fcn.140010690
add rbx, 8
cmp rbx, rbp
jne 0x1400119b1
nop dword [rax]
test rsi, rsi
je 0x140011a18
cmp byte [rsi + 0xf3], r12b
je 0x140011a18
cmp byte [rsi + 0xfa], r12b
jne 0x140011a18
mov edx, dword [rsi + 0x14]
mov rcx, rsi
shr edx, 0x19
and edx, 1
call fcn.140010690
test rdi, rdi
je 0x140011a40
cmp byte [rdi + 0xf3], r12b
je 0x140011a40
cmp byte [rdi + 0xfa], r12b
jne 0x140011a40
mov edx, dword [rdi + 0x14]
mov rcx, rdi
shr edx, 0x19
and edx, 1
call fcn.140010690
cmp byte [r15 + 0x60], r12b
je 0x140011a68
mov r8d, dword [r15 + 0x50d0]
cmp r8d, 0xffffffff
je 0x140011a68
movss xmm1, dword [r15 + 0x3ad0]
mov rcx, qword [r15 + 0xe48]
call fcn.14000bde0
mov qword [r15 + 0xe0], r12
mov r14, qword [r15 + 0x4c80]
movsxd rax, dword [r15 + 0x4c78]
lea r12, [r14 + rax*8]
cmp r14, r12
je 0x140011bd1
nop word [rax + rax]
mov rsi, qword [r14]
mov rcx, qword [rsi + 0xe8]
mov rax, qword [rsi + 0xf0]
movsxd rdi, dword [rcx]
mov edx, dword [rax]
add edx, edi
call fcn.1400369b0
mov rbx, qword [rsi + 0xf0]
movsxd rax, dword [rbx]
test eax, eax
je 0x140011ae4
mov r8, rax
mov rax, qword [rsi + 0xe8]
shl r8, 3
mov rdx, qword [rax + 8]
lea rcx, [rdx + rdi*8]
mov rdx, qword [rbx + 8]
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
mov rcx, rbx
call fcn.1400369b0
cmp qword [rsi + 0xa0], 0
je 0x140011b18
lea r8, str.Foreground
mov edx, 1
mov rcx, rsi
call fcn.14000e600
mov rdx, qword [rsi + 0xe8]
lea rcx, [rsi + 0xa8]
mov r8, rax
call fcn.140042a70
mov eax, dword [rsi + 0xac]
cmp dword [rsi + 0xb8], eax
je 0x140011b40
mov r8d, 0x1539
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str.draw_data__CmdLists.Size__draw_data__CmdListsCount
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [rsi + 0xc0]
movsxd rax, dword [rsi + 0xb8]
lea rbp, [rdi + rax*8]
cmp rdi, rbp
je 0x140011baa
mov rbx, qword [rdi]
mov eax, dword [rbx]
test eax, eax
jle 0x140011ba1
mov rcx, qword [rbx + 8]
mov edx, eax
imul rax, rdx, 0x38
cmp dword [rax + rcx - 0x18], 0
jne 0x140011ba1
cmp qword [rax + rcx - 0x10], 0
jne 0x140011ba1
test edx, edx
jne 0x140011b97
mov r8d, 0x7f5
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx]
dec eax
mov dword [rbx], eax
test eax, eax
jg 0x140011b60
add rdi, 8
cmp rdi, rbp
jne 0x140011b57
mov eax, dword [rsi + 0xb4]
add r14, 8
add dword [r15 + 0xe0], eax
mov eax, dword [rsi + 0xb0]
add dword [r15 + 0xe4], eax
cmp r14, r12
jne 0x140011a90
mov rbx, qword [r15 + 0x61e8]
movsxd rdi, dword [r15 + 0x61e0]
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x78]
shl rdi, 5
add rdi, rbx
cmp rbx, rdi
je 0x140011c18
nop
cmp dword [rbx + 4], 5
jne 0x140011c0f
mov rdx, rbx
mov rcx, r15
call qword [rbx + reloc.WS2_32.dll_recv]
add rbx, 0x20
cmp rbx, rdi
jne 0x140011c00
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
add rsp, 0x50
pop r15
ret