Function at 0x1004f750
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, 0x1010cb2b
call fcn.100b1e70
mov ebx, dword [0x1010223c]
mov eax, dword [sym.imp.ucrtbased.dll__wassert]
mov dword [esp + 0x18], ebx
cmp byte [ebx], 0
jne 0x1004f792
push 0x2344
push str.D:onistrix_2018imguiimgui.cpp
push str.g.Initialized
call eax
mov eax, dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
cmp byte [ebx + 0x2c4c], 0
jne 0x1004f7a4
cmp dword [ebx + 0x1950], 0
je 0x1004f7b8
push 0x2345
push str.D:onistrix_2018imguiimgui.cpp
push str.g.SettingsLoaded__false__g.FrameCount__0
call eax
add esp, 0xc
test esi, esi
jne 0x1004f7ca
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1004f7c1
sub esi, ecx
mov eax, dword [0x1010223c]
test eax, eax
je 0x1004f7d9
inc dword [eax + 0x36c]
push dword [0x10102454]
lea eax, [esi + 1]
push eax
call dword [0x100fe338]
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ebx
call sub.VCRUNTIME140D.dll_memcpy
mov edx, dword [esp + 0x38]
add esp, 0x14
xor ebp, ebp
mov byte [ebx], 0
xor edi, edi
mov ecx, edx
cmp edx, ebx
jae 0x1004f9ca
mov al, byte [ecx]
cmp al, 0xa
je 0x1004f9fd
cmp al, 0xd
je 0x1004f9fd
mov dword [esp + 0x1c], ecx
mov esi, ecx
cmp ecx, ebx
jae 0x1004f843
mov al, byte [esi]
cmp al, 0xa
je 0x1004f83f
cmp al, 0xd
je 0x1004f83f
inc esi
cmp esi, ebx
jb 0x1004f830
mov dword [esp + 0x1c], esi
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1004f9bb
cmp al, 0x5b
jne 0x1004f9a4
cmp esi, ecx
jbe 0x1004f9a4
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x1004f9a0
lea edi, [ecx + 1]
mov byte [ebx], 0
mov eax, ebx
sub eax, edi
push eax
push 0x5d
push edi
call sub.VCRUNTIME140D.dll_memchr
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x1004f8ab
lea ecx, [ebp + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call sub.VCRUNTIME140D.dll_memchr
add esp, 0xc
test eax, eax
je 0x1004f8ab
lea ecx, [eax + 1]
mov byte [ebp], 0
mov dword [esp + 0x20], ecx
jmp 0x1004f8b4
mov dword [esp + 0x20], edi
mov edi, str.Window
mov eax, dword [0x1010223c]
lea edx, [edi + 1]
mov dword [esp + 0x10], eax
or ebx, 0xffffffff
mov al, byte [edi]
test al, al
je 0x1004f8fb
or esi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1004f8de
cmp byte [edx], al
jne 0x1004f8de
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 + 0x100b90a0]
test al, al
jne 0x1004f8d0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
xor edi, edi
not ebx
mov ecx, dword [eax + 0x2c60]
test ecx, ecx
jle 0x1004f94d
xor ebp, ebp
cmp edi, ecx
jl 0x1004f92f
push 0x4ae
push str.D:onistrix_2018imguiimgui.h
push str.i___Size
call dword [sym.imp.ucrtbased.dll__wassert]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax + 0x2c60]
mov eax, dword [eax + 0x2c68]
cmp dword [eax + ebp + 4], ebx
je 0x1004f957
mov eax, dword [esp + 0x10]
inc edi
add ebp, 0x18
cmp edi, ecx
jl 0x1004f92f
xor edi, edi
mov ebx, dword [esp + 0x14]
xor ebp, ebp
jmp 0x1004f9bb
cmp edi, ecx
jl 0x1004f973
push 0x4ae
push str.D:onistrix_2018imguiimgui.h
push str.i___Size
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi*2]
mov eax, dword [eax + 0x2c68]
lea edi, [eax + ecx*8]
test edi, edi
je 0x1004f94f
push dword [esp + 0x20]
mov eax, dword [edi + 8]
push edi
push dword [esp + 0x20]
call eax
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov ebp, eax
jmp 0x1004f9bb
mov ebx, dword [esp + 0x14]
test edi, edi
je 0x1004f9bb
test ebp, ebp
je 0x1004f9bb
mov eax, dword [edi + 0xc]
push ecx
push ebp
push edi
push dword [esp + 0x24]
call eax
add esp, 0x10
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x1004f814
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
je 0x1004f9e1
mov eax, dword [0x1010223c]
test eax, eax
je 0x1004f9e1
dec dword [eax + 0x36c]
push dword [0x10102454]
push edx
call dword [0x100fe33c]
mov eax, dword [esp + 0x10]
mov byte [eax + 0x2c4c], 1
add esp, 0x20
ret
inc ecx
jmp 0x1004f814