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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
mov ebx, dword [0x52d99c]
push ebp
push esi
push edi
cmp byte [ebx], 0
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jne 0x41ec62
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 0x41ec75
call fcn.0041e830
mov eax, dword [ebx + 0x3df0]
mov edx, 4
mov dword [esp + 0x18], eax
mov ecx, ebx
mov eax, dword [ebx + 0x3de8]
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x3df0], eax
mov dword [ebx + 0xa8], 0
call fcn.0041b230
mov eax, dword [ebx + 0x47bc]
xor ebp, ebp
test eax, eax
je 0x41ed35
test ebp, ebp
js 0x41ecbd
cmp ebp, eax
jl 0x41ecd1
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 + ebp*4]
mov dword [esp + 0x14], eax
add eax, 0x64
mov dword [esp + 0x20], eax
mov esi, eax
nop dword [eax]
push 0
mov ecx, esi
call fcn.00430790
add esi, 0xc
sub edi, 1
jne 0x41ecf0
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x30], edi
je 0x41ed24
push str.Background
xor edx, edx
call fcn.0041c250
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, eax
call fcn.0041df60
mov eax, dword [ebx + 0x47bc]
inc ebp
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp ebp, eax
jne 0x41ecb5
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
je 0x41ed44
call fcn.0041e4d0
mov eax, dword [ebx + 0x4920]
test eax, eax
je 0x41ed69
test dword [eax + 8], 0x2000
jne 0x41ed69
mov ebp, dword [eax + 0x2fc]
mov eax, dword [ebx + 0x4928]
mov dword [esp + 0x20], ebp
jmp 0x41ed7d
xor ebp, ebp
mov dword [esp + 0x20], ebp
test eax, eax
je 0x41ed7b
mov eax, dword [ebx + 0x4928]
jmp 0x41ed7d
xor eax, eax
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x3e00]
test eax, eax
je 0x41edf3
test esi, esi
js 0x41ed99
cmp esi, eax
jl 0x41edad
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 0x41ede8
cmp byte [ecx + 0xad], 0
jne 0x41ede8
mov edx, dword [ecx + 8]
test edx, 0x1000000
jne 0x41ede8
cmp ecx, ebp
je 0x41ede8
cmp ecx, dword [esp + 0x14]
je 0x41ede8
shr edx, 0x19
and edx, 1
call fcn.0041e060
mov eax, dword [ebx + 0x3e00]
inc esi
cmp esi, eax
jne 0x41ed91
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x20]
test ecx, ecx
je 0x41ee1d
cmp byte [ecx + 0xa6], 0
je 0x41ee1d
cmp byte [ecx + 0xad], 0
jne 0x41ee1d
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
call fcn.0041e060
inc esi
cmp esi, 2
jl 0x41edf5
cmp byte [ebx + 0x60], 0
je 0x41ee5d
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
je 0x41ee5d
mov ecx, dword [ebx + 0x494c]
cmp ecx, 0xffffffff
je 0x41ee5d
push dword [ebx + 0xdbc]
movss xmm0, dword [ebx + 0x3850]
push dword [ebx + 0xdb8]
sub esp, 8
call fcn.0041a0d0
add esp, 0x10
mov eax, dword [ebx + 0x47bc]
xor ebp, ebp
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa0], 0
mov dword [esp + 0x18], ebp
test eax, eax
jle 0x41f023
test ebp, ebp
js 0x41ee8d
cmp ebp, eax
jl 0x41eea1
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 + ebp*4]
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x70]
add eax, ecx
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [edi + 0x64]
call fcn.00430790
mov eax, dword [edi + 0x70]
test eax, eax
je 0x41ef34
jg 0x41eee0
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 + 0x20], eax
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x41eef4
cmp eax, dword [edi + 0x64]
jl 0x41ef0c
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 + 0x1c]
shl eax, 2
push eax
mov eax, dword [edi + 0x6c]
push dword [esp + 0x24]
lea eax, [eax + ecx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [edi + 0x70]
push 0
call fcn.00430790
cmp dword [edi + 0x34], 0
je 0x41ef58
push str.Foreground
mov edx, 1
mov ecx, edi
call fcn.0041c250
add esp, 4
lea ecx, [edi + 0x64]
mov edx, eax
call fcn.0041df60
mov edx, dword [0x52d99c]
test edx, edx
jne 0x41ef80
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 [0x52d99c]
add esp, 0xc
mov byte [edi + 0x38], 1
cmp dword [edi + 0x64], 0
jle 0x41ef8f
mov eax, dword [edi + 0x6c]
jmp 0x41ef91
xor eax, eax
mov dword [edi + 0x48], eax
xor ebp, ebp
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 + 0x50], ecx
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x58], ecx
mov dword [edi + 0x54], eax
mov ecx, dword [edx + 0x5c]
mov eax, dword [edx + 0x58]
mov dword [edi + 0x60], ecx
xor ecx, ecx
mov dword [edi + 0x5c], eax
cmp dword [edi + 0x64], ecx
jle 0x41eff7
mov eax, dword [edi + 0x6c]
mov esi, dword [eax + ebp*4]
mov ecx, esi
call fcn.00439420
mov ecx, dword [esi + 0x18]
inc ebp
add ecx, dword [edi + 0x44]
mov dword [edi + 0x44], ecx
mov eax, dword [esi + 0xc]
add dword [edi + 0x40], eax
cmp ebp, dword [edi + 0x64]
jl 0x41efd5
add dword [ebx + 0xa0], ecx
mov eax, dword [edi + 0x40]
mov ebp, dword [esp + 0x18]
add dword [ebx + 0xa4], eax
inc ebp
mov eax, dword [ebx + 0x47bc]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esp + 0x18], ebp
cmp ebp, eax
jl 0x41ee85
mov edx, 5
mov ecx, ebx
call fcn.0041b230
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret