Function at 0x10012c30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push ebx
mov ebx, dword [0x10042270]
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], ebx
cmp byte [ebx], 0
mov edi, ecx
jne 0x10012c69
push 0x24a4
push str.C:Usershupap_source_reposImGui_DirectX_11ImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
push str.g.Initialized
call eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp byte [ebx + 0x2d2c], 0
jne 0x10012c7b
cmp dword [ebx + 0x1960], 0
je 0x10012c8f
push 0x24a5
push str.C:Usershupap_source_reposImGui_DirectX_11ImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
push str.g.SettingsLoaded__false__g.FrameCount__0
call eax
add esp, 0xc
test esi, esi
jne 0x10012ca1
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10012c98
sub esi, ecx
mov eax, dword [0x10042270]
test eax, eax
je 0x10012cb0
inc dword [eax + 0x374]
lea eax, [esi + 1]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push esi
push edi
push eax
lea ecx, [eax + esi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ecx
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 4]
xor edx, edx
mov esi, dword [ebp - 0x14]
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 8], edx
mov ecx, esi
mov byte [edi], 0
cmp esi, edi
jae 0x10012eb3
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x10012ee1
cmp al, 0xd
je 0x10012ee1
mov dword [ebp - 0x10], ecx
mov esi, ecx
cmp ecx, edi
jae 0x10012d22
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0xa
je 0x10012d1f
cmp al, 0xd
je 0x10012d1f
inc esi
cmp esi, edi
jb 0x10012d10
mov dword [ebp - 0x10], esi
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x10012ea5
cmp al, 0x5b
jne 0x10012e84
cmp esi, ecx
jbe 0x10012e84
cmp byte [esi - 1], 0x5d
lea edi, [esi - 1]
jne 0x10012e81
inc ecx
mov byte [edi], 0
mov eax, edi
mov dword [ebp - 0x1c], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10012e9f
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 0x10012e9f
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 [0x10042270]
mov dword [ebp - 8], eax
mov al, byte [edx]
inc edx
test al, al
je 0x10012dda
or esi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x10012dbe
cmp byte [edx], al
jne 0x10012dbe
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 + 0x1002ccb0]
test al, al
jne 0x10012db0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
xor edi, edi
not ebx
mov eax, dword [edx + 0x2d40]
test eax, eax
jle 0x10012e2f
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp edi, eax
jl 0x10012e12
push 0x4f8
push str.C:Usershupap_source_reposImGui_DirectX_11ImGui_DirectX_11_Kiero_Hookimguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2d48]
cmp dword [eax + ecx + 4], ebx
je 0x10012e38
mov eax, dword [edx + 0x2d40]
inc edi
add ecx, 0x18
mov dword [ebp - 0x10], ecx
cmp edi, eax
jl 0x10012e12
xor ebx, ebx
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10012ea2
cmp edi, dword [edx + 0x2d40]
jl 0x10012e5b
push 0x4f8
push str.C:Usershupap_source_reposImGui_DirectX_11ImGui_DirectX_11_Kiero_Hookimguiimgui.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 + 0x2d48]
lea ecx, [edi + edi*2]
lea ebx, [eax + ecx*8]
test ebx, ebx
je 0x10012e31
push dword [ebp - 0x18]
mov eax, dword [ebx + 8]
push ebx
push dword [ebp - 0xc]
call eax
mov edx, eax
add esp, 0xc
mov dword [ebp - 8], edx
jmp 0x10012ea2
mov edi, dword [ebp - 4]
test ebx, ebx
je 0x10012ea5
test edx, edx
je 0x10012ea5
mov eax, dword [ebx + 0xc]
push ecx
push edx
push ebx
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 8]
add esp, 0x10
jmp 0x10012ea5
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
lea ecx, [esi + 1]
cmp ecx, edi
jb 0x10012cf0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10012ec6
mov eax, dword [0x10042270]
test eax, eax
je 0x10012ec6
dec dword [eax + 0x374]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov byte [eax + 0x2d2c], 1
pop ebx
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x10012cf0