Function at 0x413700
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [0x6ab9c0]
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x10], edx
cmp byte [ebx], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
jne 0x41373d
push 0x2686
push str.C:UserskaragDesktopmunuguiimgui.cpp
push str.g.Initialized
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [ebp - 0x18]
test edx, edx
jne 0x413752
mov edx, eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x413746
sub edx, ecx
mov dword [ebp - 0x10], edx
mov esi, dword [ebx + 0x2e28]
lea eax, [ebx + 0x2e24]
lea edi, [edx + 1]
cmp edi, esi
jle 0x413797
test esi, esi
je 0x413776
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x41377b
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx + 0x2e24]
push eax
call fcn.00414b00
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x2e24]
mov dword [eax], edi
mov eax, dword [ebx + 0x2e2c]
push edx
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea esi, [eax + edx]
push eax
mov dword [ebp - 0xc], esi
call sub.VCRUNTIME140.dll_memcpy
mov byte [esi], 0
add esp, 0xc
mov eax, dword [ebx + 0x2e30]
xor esi, esi
test eax, eax
jle 0x41385f
xor edi, edi
cmp esi, eax
jl 0x4137e6
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebx + 0x2e38]
cmp dword [eax + edi + 0xc], 0
je 0x413851
cmp esi, dword [ebx + 0x2e30]
jl 0x413813
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebx + 0x2e38]
add eax, edi
mov dword [ebp - 0x1c], eax
cmp esi, dword [ebx + 0x2e30]
jl 0x41383e
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebx + 0x2e38]
push dword [ebp - 0x1c]
push ebx
mov eax, dword [eax + edi + 0xc]
call eax
add esp, 8
mov eax, dword [ebx + 0x2e30]
inc esi
add edi, 0x24
cmp esi, eax
jl 0x4137e6
mov eax, dword [ebp - 0x20]
xor edi, edi
xor edx, edx
mov dword [ebp - 8], edi
mov ecx, eax
mov dword [ebp - 4], edx
cmp eax, dword [ebp - 0xc]
jae 0x413a49
nop word [eax + eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x413b0d
cmp al, 0xd
je 0x413b0d
mov esi, ecx
mov dword [ebp - 0x1c], esi
cmp ecx, dword [ebp - 0xc]
jae 0x4138b5
mov ebx, dword [ebp - 0xc]
nop
mov al, byte [esi]
cmp al, 0xa
je 0x4138af
cmp al, 0xd
je 0x4138af
inc esi
cmp esi, ebx
jb 0x4138a0
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x413a3a
cmp al, 0x5b
jne 0x413a1e
cmp esi, ecx
jbe 0x413a1e
cmp byte [esi - 1], 0x5d
lea edi, [esi - 1]
jne 0x413a1b
inc ecx
mov byte [edi], 0
mov eax, edi
mov dword [ebp - 0x28], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [ebp - 0x24], eax
test eax, eax
je 0x413a34
lea ecx, [eax + 1]
sub edi, ecx
push edi
push 0x5b
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x413a34
mov eax, dword [ebp - 0x24]
or ebx, 0xffffffff
mov edx, dword [ebp - 0x28]
mov byte [eax], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
mov eax, dword [0x6ab9c0]
mov dword [ebp - 8], eax
mov al, byte [edx]
inc edx
test al, al
je 0x41396a
or esi, 0xffffffff
cmp al, 0x23
jne 0x41394e
cmp byte [edx], al
jne 0x41394e
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x432100]
test al, al
jne 0x413940
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
xor edi, edi
not ebx
mov eax, dword [edx + 0x2e30]
test eax, eax
jle 0x4139bf
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp edi, eax
jl 0x4139a2
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2e38]
cmp dword [ecx + eax + 4], ebx
je 0x4139ce
mov eax, dword [edx + 0x2e30]
inc edi
add ecx, 0x24
mov dword [ebp - 0x1c], ecx
cmp edi, eax
jl 0x4139a2
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x413a3a
cmp edi, dword [edx + 0x2e30]
jl 0x4139f1
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [edx + 0x2e38]
lea ecx, [edi + edi*8]
lea edx, [eax + ecx*4]
mov dword [ebp - 4], edx
test edx, edx
je 0x4139c4
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push edx
push ebx
call eax
mov edi, eax
add esp, 0xc
mov dword [ebp - 8], edi
jmp 0x413a37
mov edi, dword [ebp - 8]
test edx, edx
je 0x413a3a
test edi, edi
je 0x413a3a
mov eax, dword [edx + 0x14]
push ecx
push edi
push edx
push ebx
call eax
add esp, 0x10
jmp 0x413a37
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0xc]
jb 0x413880
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov byte [ebx + 0x2e1c], 1
push dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2e30]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x413b06
xor edi, edi
cmp esi, eax
jl 0x413a8d
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebx + 0x2e38]
cmp dword [eax + edi + 0x18], 0
je 0x413af8
cmp esi, dword [ebx + 0x2e30]
jl 0x413aba
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebx + 0x2e38]
add eax, edi
mov dword [ebp - 0x28], eax
cmp esi, dword [ebx + 0x2e30]
jl 0x413ae5
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebx + 0x2e38]
push dword [ebp - 0x28]
push ebx
mov eax, dword [eax + edi + 0x18]
call eax
add esp, 8
mov eax, dword [ebx + 0x2e30]
inc esi
add edi, 0x24
cmp esi, eax
jl 0x413a8d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x413880