Function at 0x1005d860
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [0x101a7e2c]
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 0x1005d89d
push 0x2b0c
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.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 0x1005d8b2
mov edx, eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1005d8a6
sub edx, ecx
mov dword [ebp - 0x10], edx
mov esi, dword [ebx + 0x2ec4]
lea eax, [ebx + 0x2ec0]
lea edi, [edx + 1]
cmp edi, esi
jle 0x1005d8f7
test esi, esi
je 0x1005d8d6
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1005d8db
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx + 0x2ec0]
push eax
call fcn.1005eda0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x2ec0]
mov dword [eax], edi
mov edi, dword [ebx + 0x2ec8]
push edx
push dword [ebp - 0x18]
mov dword [ebp - 0x20], edi
lea esi, [edi + edx]
push edi
mov dword [ebp - 0xc], esi
call sub.VCRUNTIME140.dll_memcpy
mov byte [esi], 0
add esp, 0xc
mov eax, dword [ebx + 0x2ecc]
xor esi, esi
test eax, eax
jle 0x1005d9e0
xor edi, edi
mov ecx, eax
nop dword [eax]
test esi, esi
js 0x1005d938
cmp esi, eax
jl 0x1005d956
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebx + 0x2ecc]
add esp, 0xc
mov eax, dword [ebx + 0x2ed4]
cmp dword [eax + edi + 0xc], 0
je 0x1005d9c9
test esi, esi
js 0x1005d96b
cmp esi, ecx
jl 0x1005d98f
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ebx + 0x2ed4]
add esp, 0xc
mov ecx, dword [ebx + 0x2ecc]
lea edx, [eax + edi]
mov dword [ebp - 0x1c], edx
test esi, esi
js 0x1005d99d
cmp esi, ecx
jl 0x1005d9be
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ebx + 0x2ed4]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edi + 0xc]
push edx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x2ecc]
inc esi
add edi, 0x24
mov ecx, eax
cmp esi, eax
jl 0x1005d930
mov edi, dword [ebp - 0x20]
xor esi, esi
xor edx, edx
mov ecx, edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
cmp edi, dword [ebp - 0xc]
jae 0x1005dbc5
mov al, byte [ecx]
cmp al, 0xa
je 0x1005dca4
cmp al, 0xd
je 0x1005dca4
mov edi, ecx
mov dword [ebp - 0x1c], edi
cmp ecx, dword [ebp - 0xc]
jae 0x1005da29
mov ebx, dword [ebp - 0xc]
mov al, byte [edi]
cmp al, 0xa
je 0x1005da23
cmp al, 0xd
je 0x1005da23
inc edi
cmp edi, ebx
jb 0x1005da14
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov byte [edi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1005dbb6
cmp al, 0x5b
jne 0x1005db9a
cmp edi, ecx
jbe 0x1005db9a
cmp byte [edi - 1], 0x5d
lea esi, [edi - 1]
jne 0x1005db97
inc ecx
mov byte [esi], 0
mov eax, esi
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 0x1005dbb0
lea ecx, [eax + 1]
sub esi, ecx
push esi
push 0x5b
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1005dbb0
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 [0x101a7e2c]
mov dword [ebp - 8], eax
mov al, byte [edx]
inc edx
test al, al
je 0x1005dade
or edi, 0xffffffff
cmp al, 0x23
jne 0x1005dac2
cmp byte [edx], al
jne 0x1005dac2
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x10096e50]
test al, al
jne 0x1005dab4
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
xor esi, esi
not ebx
mov eax, dword [ecx + 0x2ecc]
test eax, eax
jle 0x1005db37
xor edx, edx
mov dword [ebp - 0x1c], edx
test esi, esi
js 0x1005dafc
cmp esi, eax
jl 0x1005db17
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2ed4]
cmp dword [edx + ecx + 4], ebx
je 0x1005db46
mov eax, dword [eax + 0x2ecc]
inc esi
add edx, 0x24
mov dword [ebp - 0x1c], edx
cmp esi, eax
jl 0x1005daf4
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 8], esi
jmp 0x1005dbb6
test esi, esi
js 0x1005db52
cmp esi, dword [eax + 0x2ecc]
jl 0x1005db73
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [ecx + 0x2ed4]
lea eax, [esi + esi*8]
lea edx, [ecx + eax*4]
mov dword [ebp - 4], edx
test edx, edx
je 0x1005db3c
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push edx
push ebx
call eax
mov esi, eax
add esp, 0xc
mov dword [ebp - 8], esi
jmp 0x1005dbb3
mov esi, dword [ebp - 8]
test edx, edx
je 0x1005dbb6
test esi, esi
je 0x1005dbb6
mov eax, dword [edx + 0x14]
push ecx
push esi
push edx
push ebx
call eax
add esp, 0x10
jmp 0x1005dbb3
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea ecx, [edi + 1]
cmp ecx, dword [ebp - 0xc]
jb 0x1005d9f5
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov byte [ebx + 0x2eb9], 1
push dword [ebp - 0x18]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2ecc]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x1005dc9d
xor edi, edi
mov ecx, eax
nop
test esi, esi
js 0x1005dbf8
cmp esi, eax
jl 0x1005dc16
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebx + 0x2ecc]
add esp, 0xc
mov eax, dword [ebx + 0x2ed4]
cmp dword [eax + edi + 0x18], 0
je 0x1005dc89
test esi, esi
js 0x1005dc2b
cmp esi, ecx
jl 0x1005dc4f
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ebx + 0x2ed4]
add esp, 0xc
mov ecx, dword [ebx + 0x2ecc]
lea edx, [eax + edi]
mov dword [ebp - 0x28], edx
test esi, esi
js 0x1005dc5d
cmp esi, ecx
jl 0x1005dc7e
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ebx + 0x2ed4]
add esp, 0xc
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + edi + 0x18]
push edx
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0x2ecc]
inc esi
add edi, 0x24
mov ecx, eax
cmp esi, eax
jl 0x1005dbf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x1005d9f5