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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, edx
mov dword [ebp - 8], ecx
push esi
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push edi
mov edx, dword [ebx]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], ebx
cmp edx, 1
jne 0x41cbc7
test eax, eax
jne 0x41cbe4
jmp 0x41cbd0
cmp edx, 3
jne 0x41cbd0
test eax, eax
je 0x41cbe4
push 0x31e6
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str._req__Type__ImGuiDockRequestType_Dock__req__DockPayload___0____req__Type__ImGuiDockRequestType_Split__req__DockPayload__0_
call esi
add esp, 0xc
cmp dword [ebx + 4], 0
jne 0x41cc04
cmp dword [ebx + 8], 0
jne 0x41cc04
push 0x31e7
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.req__DockTargetWindow___0__req__DockTargetNode___0
call esi
add esp, 0xc
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edi, dword [ebx + 8]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
test eax, eax
je 0x41cc52
mov ebx, dword [eax + 0x3c0]
mov dword [eax + 0x3c0], 0
test ebx, ebx
je 0x41cc4c
cmp dword [ebx + 0x14], 0
jne 0x41cc52
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x41cc52
mov eax, dword [eax + 0x14]
jmp 0x41cc4f
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
test edi, edi
je 0x41ccca
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0x78]
cmp eax, dword [edx + 0x1be0]
jle 0x41cc7b
push 0x3204
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.node__LastFrameAlive___g.FrameCount
call esi
mov ecx, dword [ebp - 0x10]
add esp, 0xc
test ecx, ecx
je 0x41cd9c
cmp edi, dword [ecx + 0x3c0]
jne 0x41cd9c
cmp dword [edi + 0x1c], 0
jg 0x41cd9c
cmp dword [edi + 0x14], 0
jne 0x41cd9c
mov eax, dword [edi + 8]
shr eax, 0xb
test al, 1
jne 0x41cd9c
push 0x3206
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.node__Windows.Size___0__node__IsSplitNode____node__IsCentralNode__
call esi
add esp, 0xc
jmp 0x41cd9c
mov edi, dword [ebp - 8]
mov esi, 1
push esi
lea ecx, [edi + 0x2fb8]
call fcn.004046e0
test eax, eax
je 0x41ccf3
inc esi
lea ecx, [edi + 0x2fb8]
push esi
call fcn.004046e0
test eax, eax
jne 0x41cce2
mov eax, dword [0x4883e0]
test eax, eax
je 0x41cd02
inc dword [eax + 0x374]
push 0x98
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x41cd20
push esi
mov ecx, eax
call fcn.0041d4f0
mov edi, eax
jmp 0x41cd22
xor edi, edi
mov ecx, dword [ebp - 8]
push edi
push dword [edi]
lea ecx, [ecx + 0x2fb8]
call fcn.004047b0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x50]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
cmp dword [esi + 0x3c0], 0
jne 0x41cd9c
push 1
mov edx, esi
mov ecx, edi
call fcn.0041d6d0
mov eax, dword [edi + 0x28]
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [eax], 0
jg 0x41cd8b
push 0x6c8
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [eax + 8]
and dword [eax + 4], 0xffbfffff
or byte [esi + 0x3a1], 1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
cmp eax, 0xffffffff
je 0x41cdf5
test eax, eax
je 0x41cdb7
cmp eax, 1
je 0x41cdb7
mov edx, 1
jmp 0x41cdbd
xor edx, edx
test eax, eax
je 0x41cdc6
cmp eax, 2
je 0x41cdc6
xor esi, esi
jmp 0x41cdcb
mov esi, 1
movss xmm0, dword [ecx + 0x14]
push ebx
push ecx
mov ecx, dword [ebp - 8]
movss dword [esp], xmm0
push esi
push edx
mov edx, edi
call fcn.00421b60
mov eax, dword [edi + 0x68]
add esp, 0x10
xor esi, 1
mov ecx, dword [edi + esi*4 + 0x14]
mov edi, ecx
mov dword [ecx + 0x68], eax
and dword [edi + 8], 0xffffdfff
cmp edi, ebx
je 0x41d051
mov eax, dword [edi + 0x1c]
test eax, eax
jle 0x41ce5c
cmp dword [edi + 0x28], 0
jne 0x41ce5c
mov ecx, edi
call fcn.00420500
mov eax, dword [edi + 0x1c]
xor esi, esi
test eax, eax
jle 0x41ce5c
test esi, esi
js 0x41ce29
cmp esi, eax
jl 0x41ce41
push 0x6c8
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.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 + 0x24]
xor edx, edx
mov ecx, dword [edi + 0x28]
push dword [eax + esi*4]
call fcn.004411f0
mov eax, dword [edi + 0x1c]
inc esi
add esp, 4
cmp esi, eax
jl 0x41ce21
test ebx, ebx
je 0x41d026
cmp dword [ebx + 0x14], 0
je 0x41d001
test eax, eax
jle 0x41ced9
cmp dword [ebx + 0x74], 0
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jne 0x41ce92
push 0x3238
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.payload_node__OnlyNodeWithWindows___0
call esi
add esp, 0xc
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x41cebb
cmp dword [ecx], 0
jg 0x41cebb
push 0x323b
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.visible_node__TabBar__Tabs.Size___0
call esi
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov edx, eax
mov ecx, edi
call fcn.0041dc80
mov esi, dword [ebp - 0x10]
mov edx, edi
mov ecx, esi
call fcn.0041dc80
mov edx, dword [esi]
mov ecx, dword [edi]
call fcn.00424d10
mov eax, dword [edi + 8]
shr eax, 0xb
test al, 1
je 0x41cf79
mov ecx, dword [ebp - 8]
push dword [ebx + 0x84]
lea ecx, [ecx + 0x2fb8]
call fcn.004046e0
mov edx, eax
mov dword [ebp - 0x10], edx
test edx, edx
jne 0x41cf1f
push 0x3245
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.last_focused_node___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [edx + 0x10]
mov esi, edx
test eax, eax
je 0x41cf31
mov esi, eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x41cf28
mov eax, dword [ebx + 0x10]
mov ecx, ebx
test eax, eax
je 0x41cf49
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x41cf40
cmp esi, ecx
je 0x41cf68
push 0x3247
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.last_focused_root_node__DockNodeGetRootNode_payload_node_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [ebp - 0x10]
add esp, 0xc
or dword [edx + 8], 0x800
and dword [edi + 8], 0xfffff7ff
mov dword [esi + 0x70], edx
cmp dword [edi + 0x1c], 0
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
je 0x41cfb3
push 0x324d
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.node__Windows.Size__0
call esi
add esp, 0xc
cmp dword [edi + 0x1c], 0
je 0x41cfb3
push 0x338e
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.dst_node__Windows.Size__0
call esi
add esp, 0xc
mov ecx, dword [ebx + 0x14]
mov dword [edi + 0x14], ecx
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
test ecx, ecx
je 0x41cfc6
mov dword [ecx + 0x10], edi
mov eax, dword [edi + 0x18]
test eax, eax
je 0x41cfd0
mov dword [eax + 0x10], edi
mov eax, dword [ebx + 0x44]
mov edx, ebx
mov dword [edi + 0x44], eax
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x40], ecx
mov ecx, dword [ebp - 8]
mov dword [edi + 0x3c], eax
push 1
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
call fcn.0041c360
add esp, 4
jmp 0x41d058
mov esi, dword [ebx]
mov edx, ebx
mov ecx, edi
call fcn.0041dc80
mov edx, dword [edi]
mov ecx, esi
call fcn.00424d10
mov ecx, dword [ebp - 8]
mov edx, ebx
push 1
call fcn.0041c360
add esp, 4
jmp 0x41d058
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x41d058
mov esi, dword [edx + 0x3c4]
mov ecx, edi
push 1
mov dword [edi + 0x6c], edx
call fcn.0041d6d0
add esp, 4
test esi, esi
je 0x41d058
mov edx, dword [edi]
mov ecx, esi
call fcn.00424d10
jmp 0x41d058
or byte [edi + 0x94], 0x80
mov eax, dword [edi + 0x28]
test eax, eax
je 0x41d065
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x4883e0]
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2fe4]
jb 0x41d080
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2fe4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret