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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x52a278]
push esi
push edi
mov dword [ebp - 8], ebx
cmp byte [ebx], 0
jne 0x4149ce
push 0x14e9
push str.C:Users_soniaOneDriveDocumentosGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.cpp
push str.g.Initialized
call fcn.004cb34c
add esp, 0xc
mov eax, dword [ebx + 0x3eb0]
cmp dword [ebx + 0x3eb4], eax
je 0x4149e7
call fcn.00414480
mov eax, dword [ebx + 0x3eb0]
cmp dword [ebx + 0x3ebc], eax
je 0x414dec
mov dword [ebx + 0x3ebc], eax
mov dword [ebx + 0xb0], 0
mov eax, dword [ebx + 0x5cd4]
mov esi, dword [ebx + 0x5cdc]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x414a37
nop dword [eax]
cmp dword [esi + 4], 4
jne 0x414a30
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x414a20
mov eax, dword [ebp - 8]
mov ebx, dword [ebx + 0x48f4]
mov eax, dword [eax + 0x48ec]
lea eax, [ebx + eax*4]
mov dword [ebp - 0xc], eax
cmp ebx, eax
je 0x414b51
cmp dword [0x52a278], 0
mov esi, dword [ebx]
jne 0x414a76
push 0x1108
push str.C:Users_soniaOneDriveDocumentosGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004cb34c
add esp, 0xc
mov eax, dword [0x52a278]
lea edi, [esi + 0x80]
mov dword [ebp - 0x10], eax
lea ecx, [edi + 0x10]
mov dword [esi + 0x30], edi
lea eax, [esi + 0xc0]
push 0
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], eax
call fcn.004425b0
mov ecx, dword [esi + 0xbc]
push 0
call fcn.004425b0
mov eax, dword [esi + 4]
shr eax, 0xc
and al, 1
mov byte [edi], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
je 0x414af1
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
jmp 0x414b00
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x40]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], esi
cmp dword [esi + 0x78], 0
je 0x414b45
push str.Background
xor edx, edx
mov ecx, esi
call fcn.00411a10
mov edx, dword [esi + 0xb8]
add esp, 4
mov ecx, edi
push eax
call fcn.004781b0
add esp, 4
add ebx, 4
cmp ebx, dword [ebp - 0xc]
jne 0x414a54
call fcn.00413f50
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x4af0]
test eax, eax
je 0x414b7d
test dword [eax + 0xc], 0x2000
jne 0x414b7d
mov edi, dword [eax + 0x348]
mov ebx, dword [ecx + 0x4af8]
mov dword [ebp - 0x20], edi
jmp 0x414b90
xor edi, edi
mov dword [ebp - 0x20], edi
test eax, eax
je 0x414b8e
mov ebx, dword [ecx + 0x4af8]
jmp 0x414b90
xor ebx, ebx
mov esi, dword [ecx + 0x3ef4]
mov eax, dword [ecx + 0x3eec]
mov dword [ebp - 0x1c], ebx
lea eax, [esi + eax*4]
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x414bec
nop dword [eax]
mov ecx, dword [esi]
cmp byte [ecx + 0xdf], 0
je 0x414be5
cmp byte [ecx + 0xe6], 0
jne 0x414be5
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x414be5
cmp ecx, edi
je 0x414be5
cmp ecx, ebx
je 0x414be5
shr edx, 0x19
and edx, 1
call fcn.00413990
mov eax, dword [ebp - 0x10]
add esi, 4
cmp esi, eax
jne 0x414bb0
xor esi, esi
nop
mov ecx, dword [ebp + esi*4 - 0x20]
test ecx, ecx
je 0x414c18
cmp byte [ecx + 0xdf], 0
je 0x414c18
cmp byte [ecx + 0xe6], 0
jne 0x414c18
mov edx, dword [ecx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.00413990
inc esi
cmp esi, 2
jl 0x414bf0
mov ebx, dword [ebp - 8]
cmp byte [ebx + 0x4c], 0
je 0x414c51
mov ecx, dword [ebx + 0x4c5c]
cmp ecx, 0xffffffff
je 0x414c51
push dword [ebx + 0xdc8]
movss xmm0, dword [ebx + 0x3900]
push dword [ebx + 0xdc4]
sub esp, 8
call fcn.0040f500
add esp, 0x10
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xa8], 0
mov ecx, dword [ebx + 0x48f4]
mov eax, dword [ebx + 0x48ec]
mov dword [ebp - 0x10], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1c], eax
cmp ecx, eax
je 0x414dbf
mov esi, dword [ecx]
mov dword [ebp - 0xc], esi
mov eax, dword [esi + 0xbc]
mov ecx, dword [esi + 0xb8]
mov eax, dword [eax]
mov edi, dword [ecx]
add eax, edi
push eax
call fcn.004425b0
mov esi, dword [esi + 0xbc]
mov eax, dword [esi]
test eax, eax
je 0x414cd3
shl eax, 2
push eax
mov eax, dword [ebp - 0xc]
push dword [esi + 8]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 8]
lea eax, [eax + edi*4]
push eax
call fcn.004c0790
add esp, 0xc
mov ecx, esi
push 0
call fcn.004425b0
mov esi, dword [ebp - 0xc]
cmp dword [esi + 0x7c], 0
je 0x414d05
push str.Foreground
mov edx, 1
mov ecx, esi
call fcn.00411a10
mov edx, dword [esi + 0xb8]
lea ecx, [esi + 0x80]
add esp, 4
push eax
call fcn.004781b0
add esp, 4
mov eax, dword [esi + 0x90]
cmp eax, dword [esi + 0x84]
je 0x414d30
push 0x151d
push str.C:Users_soniaOneDriveDocumentosGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.cpp
push str.draw_data__CmdLists.Size__draw_data__CmdListsCount
call fcn.004cb34c
mov eax, dword [esi + 0x90]
add esp, 0xc
mov edi, dword [esi + 0x98]
lea eax, [edi + eax*4]
mov dword [ebp - 0x14], eax
cmp edi, eax
je 0x414d95
mov ebx, eax
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
jle 0x414d88
nop word [eax + eax]
mov edx, dword [esi + 8]
lea ecx, [eax + eax*4]
cmp dword [edx + ecx*8 - 0xc], 0
jne 0x414d88
cmp dword [edx + ecx*8 - 8], 0
jne 0x414d88
test eax, eax
jne 0x414d81
push 0x797
push str.C:Users_soniaOneDriveDocumentosGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.h
push str.Size___0
call fcn.004cb34c
mov eax, dword [esi]
add esp, 0xc
dec eax
mov dword [esi], eax
test eax, eax
jg 0x414d50
add edi, 4
cmp edi, ebx
jne 0x414d42
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + 0x8c]
mov ecx, dword [ebp - 0x10]
add dword [ebx + 0xa8], eax
add ecx, 4
mov eax, dword [esi + 0x88]
add dword [ebx + 0xac], eax
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x1c]
jne 0x414c82
mov eax, dword [ebx + 0x5cd4]
mov esi, dword [ebx + 0x5cdc]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x414dec
cmp dword [esi + 4], 5
jne 0x414de5
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x414dd5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret