Function at 0x10018520
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [0x1010e648]
push ebp
push esi
push edi
cmp byte [ebx], 0
mov esi, edx
mov edi, ecx
mov dword [esp + 0x18], ebx
jne 0x10018551
push 0x21ed
push str.C:UsersPCDesktopheadcoreHeadCoreincludesImGuiimgui.cpp
push str.g.Initialized
call fcn.100bb717
add esp, 0xc
cmp byte [ebx + 0x2d0c], 0
jne 0x10018563
cmp dword [ebx + 0x1968], 0
je 0x1001857a
push 0x21ee
push str.C:UsersPCDesktopheadcoreHeadCoreincludesImGuiimgui.cpp
push str.g.SettingsLoaded__false__g.FrameCount__0
call fcn.100bb717
add esp, 0xc
test esi, esi
jne 0x1001858c
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10018583
sub esi, ecx
mov eax, dword [0x1010e648]
test eax, eax
je 0x1001859b
inc dword [eax + 0x374]
lea eax, [esi + 1]
push eax
call fcn.100bb798
push esi
push edi
push eax
lea ebp, [eax + esi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ebp
call fcn.100ab8d0
mov edx, dword [esp + 0x30]
xor ecx, ecx
add esp, 0x10
mov byte [ebp], 0
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov edi, edx
cmp edx, ebp
jae 0x10018794
mov al, byte [edi]
cmp al, 0xa
je 0x100187c0
cmp al, 0xd
je 0x100187c0
mov dword [esp + 0x1c], edi
mov esi, edi
cmp edi, ebp
jae 0x10018603
mov al, byte [esi]
cmp al, 0xa
je 0x100185ff
cmp al, 0xd
je 0x100185ff
inc esi
cmp esi, ebp
jb 0x100185f0
mov dword [esp + 0x1c], esi
mov byte [esi], 0
mov al, byte [edi]
cmp al, 0x3b
je 0x10018785
cmp al, 0x5b
jne 0x1001876a
cmp esi, edi
jbe 0x1001876a
cmp byte [esi - 1], 0x5d
lea ebp, [esi - 1]
jne 0x10018766
lea ecx, [edi + 1]
mov byte [ebp], 0
mov eax, ebp
mov dword [esp + 0x10], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call fcn.100abfc0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1001866c
lea ecx, [ebx + 1]
sub ebp, ecx
push ebp
push 0x5b
push ecx
call fcn.100abfc0
add esp, 0xc
test eax, eax
je 0x1001866c
mov edx, dword [esp + 0x10]
mov byte [ebx], 0
jmp 0x10018673
mov edx, str.Window
mov eax, edi
inc eax
or ebx, 0xffffffff
mov dword [esp + 0x24], eax
mov eax, dword [0x1010e648]
mov dword [esp + 0x10], eax
mov al, byte [edx]
inc edx
test al, al
je 0x100186bb
or esi, 0xffffffff
nop
cmp al, 0x23
jne 0x1001869e
cmp byte [edx], al
jne 0x1001869e
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 + 0x100e7460]
test al, al
jne 0x10018690
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
xor edi, edi
not ebx
mov ecx, dword [eax + 0x2d20]
test ecx, ecx
jle 0x1001870c
xor ebp, ebp
cmp edi, ecx
jl 0x100186ee
push 0x4df
push 0x100e4328
push str.i___Size
call fcn.100bb717
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax + 0x2d20]
mov eax, dword [eax + 0x2d28]
cmp dword [eax + ebp + 4], ebx
je 0x1001871a
mov eax, dword [esp + 0x10]
inc edi
add ebp, 0x18
cmp edi, ecx
jl 0x100186ee
xor ebx, ebx
mov ebp, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x10018785
cmp edi, ecx
jl 0x10018735
push 0x4df
push 0x100e4328
push str.i___Size
call fcn.100bb717
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi*2]
mov eax, dword [eax + 0x2d28]
lea ebx, [eax + ecx*8]
test ebx, ebx
je 0x1001870e
push dword [esp + 0x24]
mov eax, dword [ebx + 8]
push ebx
push dword [esp + 0x20]
call eax
mov ebp, dword [esp + 0x20]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
jmp 0x10018785
mov ebp, dword [esp + 0x14]
test ebx, ebx
je 0x10018785
test ecx, ecx
je 0x10018785
mov eax, dword [ebx + 0xc]
push edi
push ecx
push ebx
push dword [esp + 0x24]
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea edi, [esi + 1]
cmp edi, ebp
jb 0x100185d4
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
je 0x100187ab
mov eax, dword [0x1010e648]
test eax, eax
je 0x100187ab
dec dword [eax + 0x374]
push edx
call fcn.100b61b5
mov eax, dword [esp + 0xc]
mov byte [eax + 0x2d0c], 1
add esp, 0x1c
ret
inc edi
jmp 0x100185d4