Function at 0x140011840
Capabilities:
Hash data using djb2

Disassembly:
push r15
sub rsp, 0x50
mov r15, qword [0x1401b72c0]
cmp byte [r15], 0
jne 0x14001186d
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 0x140011882
call fcn.140011360
mov eax, dword [r15 + 0x4098]
cmp dword [r15 + 0x40a4], eax
je 0x140011cd2
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 0x1400118f8
nop
cmp dword [rbx + 4], 4
jne 0x1400118ef
mov rdx, rbx
mov rcx, r15
call qword [rbx + reloc.WS2_32.dll_recv]
add rbx, 0x20
cmp rbx, rdi
jne 0x1400118e0
mov rdi, qword [r15 + 0x4c80]
movsxd rax, dword [r15 + 0x4c78]
lea rbp, [rdi + rax*8]
cmp rdi, rbp
je 0x140011a0c
cmp qword [0x1401b72c0], r12
mov rbx, qword [rdi]
jne 0x140011939
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 [0x1401b72c0]
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.140037240
mov rcx, qword [rbx + 0xf0]
xor edx, edx
call fcn.140037240
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 0x1400119a0
mov qword [rsp + 0x60], r12
jmp 0x1400119ab
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 0x1400119ff
lea r8, str.Background
xor edx, edx
mov rcx, rbx
call fcn.14000e4f0
mov rdx, qword [rbx + 0xe8]
mov r8, rax
mov rcx, rsi
call fcn.1400434d0
add rdi, 8
cmp rdi, rbp
jne 0x140011913
call fcn.140010d20
mov rax, qword [r15 + 0x4ef8]
test rax, rax
je 0x140011a36
test dword [rax + 0x14], 0x2000
jne 0x140011a36
mov rsi, qword [rax + 0x3d0]
mov rdi, qword [r15 + 0x4f08]
jmp 0x140011a4a
mov rsi, r12
test rax, rax
je 0x140011a47
mov rdi, qword [r15 + 0x4f08]
jmp 0x140011a4a
mov rdi, r12
mov rbx, qword [r15 + 0x40e8]
movsxd rax, dword [r15 + 0x40e0]
lea rbp, [rbx + rax*8]
cmp rbx, rbp
je 0x140011aa0
mov rcx, qword [rbx]
cmp byte [rcx + 0xf3], r12b
je 0x140011a94
cmp byte [rcx + 0xfa], r12b
jne 0x140011a94
mov edx, dword [rcx + 0x14]
bt edx, 0x18
jb 0x140011a94
cmp rcx, rsi
je 0x140011a94
cmp rcx, rdi
je 0x140011a94
shr edx, 0x19
and edx, 1
call fcn.140010570
add rbx, 8
cmp rbx, rbp
jne 0x140011a61
nop dword [rax]
test rsi, rsi
je 0x140011ac8
cmp byte [rsi + 0xf3], r12b
je 0x140011ac8
cmp byte [rsi + 0xfa], r12b
jne 0x140011ac8
mov edx, dword [rsi + 0x14]
mov rcx, rsi
shr edx, 0x19
and edx, 1
call fcn.140010570
test rdi, rdi
je 0x140011af0
cmp byte [rdi + 0xf3], r12b
je 0x140011af0
cmp byte [rdi + 0xfa], r12b
jne 0x140011af0
mov edx, dword [rdi + 0x14]
mov rcx, rdi
shr edx, 0x19
and edx, 1
call fcn.140010570
cmp byte [r15 + 0x60], r12b
je 0x140011b18
mov r8d, dword [r15 + 0x50d0]
cmp r8d, 0xffffffff
je 0x140011b18
movss xmm1, dword [r15 + 0x3ad0]
mov rcx, qword [r15 + 0xe48]
call fcn.14000bc80
mov qword [r15 + 0xe0], r12
mov r14, qword [r15 + 0x4c80]
movsxd rax, dword [r15 + 0x4c78]
lea r12, [r14 + rax*8]
cmp r14, r12
je 0x140011c81
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.140037240
mov rbx, qword [rsi + 0xf0]
movsxd rax, dword [rbx]
test eax, eax
je 0x140011b94
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.140037240
cmp qword [rsi + 0xa0], 0
je 0x140011bc8
lea r8, str.Foreground
mov edx, 1
mov rcx, rsi
call fcn.14000e4f0
mov rdx, qword [rsi + 0xe8]
lea rcx, [rsi + 0xa8]
mov r8, rax
call fcn.1400434d0
mov eax, dword [rsi + 0xac]
cmp dword [rsi + 0xb8], eax
je 0x140011bf0
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 0x140011c5a
mov rbx, qword [rdi]
mov eax, dword [rbx]
test eax, eax
jle 0x140011c51
mov rcx, qword [rbx + 8]
mov edx, eax
imul rax, rdx, 0x38
cmp dword [rax + rcx - 0x18], 0
jne 0x140011c51
cmp qword [rax + rcx - 0x10], 0
jne 0x140011c51
test edx, edx
jne 0x140011c47
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 0x140011c10
add rdi, 8
cmp rdi, rbp
jne 0x140011c07
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 0x140011b40
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 0x140011cc8
nop
cmp dword [rbx + 4], 5
jne 0x140011cbf
mov rdx, rbx
mov rcx, r15
call qword [rbx + reloc.WS2_32.dll_recv]
add rbx, 0x20
cmp rbx, rdi
jne 0x140011cb0
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
add rsp, 0x50
pop r15
ret