Function at 0x10015850
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [0x1006e80c]
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], ebx
cmp byte [ebx], 0
mov edi, ecx
jne 0x10015882
push 0x2595
push str.E:Visual_Studio_ProjectsMGRModLoaderMGRModLoaderimguiimgui.cpp
push str.g.Initialized
call fcn.100451d7
add esp, 0xc
cmp byte [ebx + 0x2d94], 0
jne 0x10015894
cmp dword [ebx + 0x19b0], 0
je 0x100158ab
push 0x2596
push str.E:Visual_Studio_ProjectsMGRModLoaderMGRModLoaderimguiimgui.cpp
push 0x10060198
call fcn.100451d7
add esp, 0xc
test esi, esi
jne 0x100158bd
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100158b4
sub esi, ecx
mov eax, dword [0x1006e80c]
test eax, eax
je 0x100158cc
inc dword [eax + 0x374]
lea eax, [esi + 1]
push eax
call fcn.10045258
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ebx
call fcn.10038f90
mov esi, dword [ebp - 0x14]
xor edx, edx
add esp, 0x10
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 4], edx
mov ecx, esi
cmp esi, ebx
jae 0x10015ac0
mov al, byte [ecx]
cmp al, 0xa
je 0x10015aed
cmp al, 0xd
je 0x10015aed
mov dword [ebp - 0x10], ecx
mov esi, ecx
cmp ecx, ebx
jae 0x10015932
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0xa
je 0x1001592f
cmp al, 0xd
je 0x1001592f
inc esi
cmp esi, ebx
jb 0x10015920
mov dword [ebp - 0x10], esi
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x10015ab2
cmp al, 0x5b
jne 0x10015a91
cmp esi, ecx
jbe 0x10015a91
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x10015a8e
inc ecx
mov byte [ebx], 0
mov eax, ebx
mov dword [ebp - 0x1c], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call fcn.10054450
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10015aac
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call fcn.10054450
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10015aac
mov eax, dword [ebp - 0x18]
or ebx, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov byte [eax], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1006e80c]
mov dword [ebp - 4], eax
mov al, byte [edx]
inc edx
test al, al
je 0x100159ea
or esi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x100159ce
cmp byte [edx], al
jne 0x100159ce
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 + 0x10060498]
test al, al
jne 0x100159c0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
xor edi, edi
not ebx
mov ecx, dword [eax + 0x2da8]
test ecx, ecx
jle 0x10015a41
xor edx, edx
mov dword [ebp - 0x10], edx
cmp edi, ecx
jl 0x10015a21
push 0x523
push str.E:Visual_Studio_ProjectsMGRModLoaderMGRModLoaderimguiimgui.h
push str.i___Size
call fcn.100451d7
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2da8]
mov eax, dword [eax + 0x2db0]
cmp dword [eax + edx + 4], ebx
je 0x10015a4a
mov eax, dword [ebp - 4]
inc edi
add edx, 0x18
mov dword [ebp - 0x10], edx
cmp edi, ecx
jl 0x10015a21
xor edi, edi
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x10015aaf
cmp edi, ecx
jl 0x10015a65
push 0x523
push str.E:Visual_Studio_ProjectsMGRModLoaderMGRModLoaderimguiimgui.h
push str.i___Size
call fcn.100451d7
add esp, 0xc
mov eax, dword [ebp - 4]
lea ecx, [edi + edi*2]
mov eax, dword [eax + 0x2db0]
lea edi, [eax + ecx*8]
test edi, edi
je 0x10015a43
push dword [ebp - 0x18]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 0xc]
call eax
mov edx, eax
add esp, 0xc
mov dword [ebp - 4], edx
jmp 0x10015aaf
mov ebx, dword [ebp - 8]
test edi, edi
je 0x10015ab2
test edx, edx
je 0x10015ab2
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 4]
add esp, 0x10
jmp 0x10015ab2
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x10015900
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10015ad3
mov eax, dword [0x1006e80c]
test eax, eax
je 0x10015ad3
dec dword [eax + 0x374]
push esi
call fcn.10042d06
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov byte [eax + 0x2d94], 1
pop ebx
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x10015900