Function at 0x42bf00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [0x53db38]
push esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [ebx], 0
mov dword [esp + 0x24], ebx
jne 0x42bf35
push 0x1323
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.cpp
push str.g.Initialized
call edi
add esp, 0xc
mov eax, dword [ebx + 0x3dec]
cmp eax, dword [ebx + 0x3de8]
je 0x42bf48
call fcn.0042baf0
mov eax, dword [ebx + 0x3df0]
mov edx, 4
mov dword [esp + 0x14], eax
mov ecx, ebx
mov eax, dword [ebx + 0x3de8]
mov dword [esp + 0x18], eax
mov dword [ebx + 0x3df0], eax
mov dword [ebx + 0xa8], 0
call fcn.00428290
mov eax, dword [ebx + 0x47bc]
xor esi, esi
mov dword [esp + 0xc], esi
test eax, eax
je 0x42c018
nop dword [eax]
test esi, esi
js 0x42bf98
cmp esi, eax
jl 0x42bfac
push 0x6fb
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.h
push str.i___0__i___Size
call edi
add esp, 0xc
mov eax, dword [ebx + 0x47c4]
mov edi, 2
mov eax, dword [eax + esi*4]
mov dword [esp + 0x10], eax
add eax, 0x64
mov dword [esp + 0x1c], eax
mov esi, eax
push 0
mov ecx, esi
call fcn.0043de00
add esi, 0xc
sub edi, 1
jne 0x42bfc7
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x30], edi
je 0x42bffb
push str.Background
xor edx, edx
call fcn.004292e0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, eax
call fcn.0042b200
mov esi, dword [esp + 0xc]
mov eax, dword [ebx + 0x47bc]
inc esi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esp + 0xc], esi
cmp esi, eax
jne 0x42bf90
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
je 0x42c027
call fcn.0042b760
mov eax, dword [ebx + 0x4920]
test eax, eax
je 0x42c050
test dword [eax + 8], 0x2000
jne 0x42c050
mov ecx, dword [eax + 0x2fc]
mov eax, dword [ebx + 0x4928]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], ecx
jmp 0x42c068
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x42c066
mov eax, dword [ebx + 0x4928]
jmp 0x42c068
xor eax, eax
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x3e00]
test eax, eax
je 0x42c0e4
nop dword [eax]
test esi, esi
js 0x42c088
cmp esi, eax
jl 0x42c09c
push 0x6fb
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.h
push str.i___0__i___Size
call edi
add esp, 0xc
mov eax, dword [ebx + 0x3e08]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0xa6], 0
je 0x42c0d9
cmp byte [ecx + 0xad], 0
jne 0x42c0d9
mov edx, dword [ecx + 8]
test edx, 0x1000000
jne 0x42c0d9
cmp ecx, dword [esp + 0xc]
je 0x42c0d9
cmp ecx, dword [esp + 0x10]
je 0x42c0d9
shr edx, 0x19
and edx, 1
call fcn.0042b300
mov eax, dword [ebx + 0x3e00]
inc esi
cmp esi, eax
jne 0x42c080
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x1c]
test ecx, ecx
je 0x42c10e
cmp byte [ecx + 0xa6], 0
je 0x42c10e
cmp byte [ecx + 0xad], 0
jne 0x42c10e
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
call fcn.0042b300
inc esi
cmp esi, 2
jl 0x42c0e6
cmp byte [ebx + 0x60], 0
je 0x42c14e
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
je 0x42c14e
mov ecx, dword [ebx + 0x494c]
cmp ecx, 0xffffffff
je 0x42c14e
push dword [ebx + 0xdbc]
movss xmm0, dword [ebx + 0x3850]
push dword [ebx + 0xdb8]
sub esp, 8
call fcn.00427130
add esp, 0x10
mov eax, dword [ebx + 0x47bc]
xor esi, esi
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa0], 0
mov dword [esp + 0x10], esi
test eax, eax
jle 0x42c337
test esi, esi
js 0x42c17e
cmp esi, eax
jl 0x42c192
push 0x6fb
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.h
push str.i___0__i___Size
call edi
add esp, 0xc
mov eax, dword [ebx + 0x47c4]
mov edi, dword [eax + esi*4]
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x70]
add eax, ecx
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 0x64]
call fcn.0043de00
mov eax, dword [edi + 0x70]
test eax, eax
je 0x42c225
jg 0x42c1d1
push 0x6fb
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
test eax, eax
js 0x42c1e5
cmp eax, dword [edi + 0x64]
jl 0x42c1fd
push 0x6fb
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0x70]
mov ecx, dword [esp + 0x18]
shl eax, 2
push eax
mov eax, dword [edi + 0x6c]
push dword [esp + 0x20]
lea eax, [eax + ecx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [edi + 0x70]
push 0
call fcn.0043de00
cmp dword [edi + 0x34], 0
je 0x42c249
push str.Foreground
mov edx, 1
mov ecx, edi
call fcn.004292e0
add esp, 4
lea ecx, [edi + 0x64]
mov edx, eax
call fcn.0042b200
mov edx, dword [0x53db38]
test edx, edx
jne 0x42c271
push 0xfe1
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [0x53db38]
add esp, 0xc
mov byte [edi + 0x38], 1
cmp dword [edi + 0x64], 0
jle 0x42c280
mov eax, dword [edi + 0x6c]
jmp 0x42c282
xor eax, eax
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x64]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], ecx
mov eax, dword [edx + 0x58]
mov ecx, dword [edx + 0x5c]
xor edx, edx
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], ecx
mov dword [esp + 0x18], 0
cmp dword [edi + 0x64], edx
jle 0x42c30b
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0x6c]
mov esi, dword [ecx + eax]
mov ecx, esi
call fcn.00445fa0
mov edx, dword [esi + 0x18]
add edx, dword [edi + 0x44]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x44], edx
add ecx, 4
mov eax, dword [esi + 0xc]
add dword [edi + 0x40], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 0x64]
jl 0x42c2d2
mov ebx, dword [esp + 0x24]
add dword [ebx + 0xa0], edx
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x10]
add dword [ebx + 0xa4], eax
inc esi
mov eax, dword [ebx + 0x47bc]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esp + 0x10], esi
cmp esi, eax
jl 0x42c176
mov edx, 5
mov ecx, ebx
call fcn.00428290
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret