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

Disassembly:
sub esp, 0x64
mov eax, dword [0x10091c88]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x80]
push ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebp
push esi
push edi
mov edi, dword [esp + 0x88]
test ebp, ebp
js 0x100582c9
cmp ebp, 0xa
jl 0x100582e1
push 0x7d3
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.data_type___0__data_type___ImGuiDataType_COUNT
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov cl, byte [ebx]
mov esi, ebp
shl esi, 4
add esi, 0x10085888
mov dword [esp + 0x24], esi
test cl, cl
je 0x10058311
lea eax, [ebx + 1]
cmp cl, 0x25
jne 0x10058304
cmp byte [eax], cl
jne 0x10058311
cmp cl, cl
cmovne eax, ebx
mov cl, byte [eax + 1]
lea ebx, [eax + 1]
test cl, cl
jne 0x100582f6
cmp byte [ebx], 0x25
jne 0x1005834d
push ebx
call fcn.1004e6c0
mov ecx, eax
add esp, 4
cmp byte [ecx], 0
je 0x10058350
sub ecx, ebx
mov eax, 0x20
inc ecx
cmp ecx, eax
cmovb eax, ecx
push eax
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.10014630
add esp, 0xc
lea ebx, [esp + 0x50]
cmp byte [esp + 0x50], 0
jne 0x10058350
mov ebx, dword [esi + 8]
push ebx
push edi
push ebp
lea eax, [esp + 0x3c]
push 0x20
push eax
call fcn.1004d750
lea eax, [esp + 0x44]
push eax
call fcn.100144d0
add esp, 0x18
cmp ebp, 8
je 0x100583a9
cmp ebp, 9
je 0x100583a9
cmp byte [ebx], 0
je 0x1005839f
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058380
sub ecx, edx
mov al, byte [ecx + ebx - 1]
cmp al, 0x78
je 0x10058395
cmp al, 0x58
jne 0x1005839f
mov dword [esp + 0x14], 2
jmp 0x100583b2
mov dword [esp + 0x14], 1
jmp 0x100583b2
mov eax, 0x20000
mov dword [esp + 0x14], eax
mov ebp, dword [0x10092748]
mov byte [esp + 0x13], 0
mov eax, dword [ebp + 0x5a0c]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x7c]
je 0x100583d2
call fcn.1000d780
mov esi, dword [esp + 0x78]
mov eax, dword [ebp + 0x3e60]
push 0
push 0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [eax + 0xf0], ecx
mov dword [eax + 0xf4], edx
movss xmm0, dword [esi + 8]
subss xmm0, dword [esi]
mov eax, dword [esp + 0x1c]
or eax, 0x18000010
push eax
lea eax, [esp + 0x34]
push eax
movss dword [esp + 0x38], xmm0
lea eax, [esp + 0x40]
movss xmm0, dword [esi + 0xc]
subss xmm0, dword [esi + 4]
push 0x20
push eax
push 0
push dword [esp + 0x38]
movss dword [esp + 0x4c], xmm0
call fcn.1004f170
mov cl, al
add esp, 0x20
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x12], cl
cmp dword [esp + 0x20], eax
je 0x10058474
cmp dword [ebp + 0x3eac], eax
je 0x10058468
push 0xd39
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.g.ActiveId__id
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov cl, byte [esp + 0x1e]
add esp, 0xc
mov eax, dword [ebp + 0x3eac]
mov dword [ebp + 0x5a0c], eax
test cl, cl
je 0x10058760
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x28]
mov ebp, dword [ebp]
push ebp
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
push ebx
push edi
push dword [esp + 0x2c]
lea eax, [esp + 0x48]
push eax
call fcn.1004cbf0
mov ebx, dword [esp + 0xac]
add esp, 0x1c
mov esi, dword [esp + 0x94]
test ebx, ebx
jne 0x100584be
test esi, esi
je 0x100586e9
jmp 0x100584da
test esi, esi
je 0x100584da
push esi
push ebx
push dword [esp + 0x20]
call fcn.1004d5b0
add esp, 0xc
test eax, eax
jle 0x100584da
mov eax, ebx
mov ebx, esi
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, 9
ja case.default.0x100584e7
jmp dword [eax*4 + 0x10058778]
test ebx, ebx
je 0x100584ff
mov al, byte [ebx]
cmp byte [edi], al
jge 0x100584ff
mov byte [edi], al
jmp 0x100586e9
test esi, esi
je 0x100586e9
mov al, byte [esi]
cmp byte [edi], al
jle 0x100586e9
mov byte [edi], al
jmp 0x100586e9
test ebx, ebx
je 0x10058529
mov al, byte [ebx]
cmp byte [edi], al
jae 0x10058529
mov byte [edi], al
jmp 0x100586e9
test esi, esi
je 0x100586e9
mov al, byte [esi]
cmp byte [edi], al
jbe 0x100586e9
mov byte [edi], al
jmp 0x100586e9
test ebx, ebx
je 0x10058556
movzx eax, word [ebx]
cmp word [edi], ax
jge 0x10058556
mov word [edi], ax
jmp 0x100586e9
test esi, esi
je 0x100586e9
movzx eax, word [esi]
cmp word [edi], ax
jle 0x100586e9
mov word [edi], ax
jmp 0x100586e9
test ebx, ebx
je 0x10058586
movzx eax, word [ebx]
cmp word [edi], ax
jae 0x10058586
mov word [edi], ax
jmp 0x100586e9
test esi, esi
je 0x100586e9
movzx eax, word [esi]
cmp word [edi], ax
jbe 0x100586e9
mov word [edi], ax
jmp 0x100586e9
test ebx, ebx
je 0x100585b3
mov eax, dword [ebx]
cmp dword [edi], eax
jge 0x100585b3
mov dword [edi], eax
jmp 0x100586e9
test esi, esi
je 0x100586e9
mov eax, dword [esi]
cmp dword [edi], eax
jle 0x100586e9
mov dword [edi], eax
jmp 0x100586e9
test ebx, ebx
je 0x100585dd
mov eax, dword [ebx]
cmp dword [edi], eax
jae 0x100585dd
mov dword [edi], eax
jmp 0x100586e9
test esi, esi
je 0x100586e9
mov eax, dword [esi]
cmp dword [edi], eax
jbe 0x100586e9
mov dword [edi], eax
jmp 0x100586e9
test ebx, ebx
je 0x10058614
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [edi + 4], ecx
jg 0x10058614
jl 0x10058634
cmp dword [edi], eax
jae 0x10058614
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x100586e9
test esi, esi
je 0x100586e9
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jl 0x100586e9
jg 0x10058634
cmp dword [edi], eax
jbe 0x100586e9
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x100586e9
test ebx, ebx
je 0x1005865c
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [edi + 4], ecx
ja 0x1005865c
jb 0x10058634
cmp dword [edi], eax
jae 0x1005865c
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x100586e9
test esi, esi
je 0x100586e9
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jb 0x100586e9
ja 0x10058634
cmp dword [edi], eax
jbe 0x100586e9
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x100586e9
test ebx, ebx
je 0x1005868e
movss xmm0, dword [ebx]
comiss xmm0, dword [edi]
jbe 0x1005868e
movss dword [edi], xmm0
jmp 0x100586e9
test esi, esi
je 0x100586e9
movss xmm1, dword [esi]
movss xmm0, dword [edi]
comiss xmm0, xmm1
jbe 0x100586e9
movss dword [edi], xmm1
jmp 0x100586e9
test ebx, ebx
je 0x100586b9
movsd xmm0, qword [ebx]
comisd xmm0, xmmword [edi]
jbe 0x100586b9
movsd qword [edi], xmm0
jmp 0x100586e9
test esi, esi
je 0x100586e9
movsd xmm1, qword [esi]
movsd xmm0, qword [edi]
comisd xmm0, xmm1
jbe 0x100586e9
movsd qword [edi], xmm1
jmp 0x100586e9
push 0x881
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push 0x10077510
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
lea ecx, [esp + 0x28]
sub ebp, 4
jb 0x10058703
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10058708
add ecx, 4
add edi, 4
sub ebp, 4
jae 0x100586f2
cmp ebp, 0xfffffffc
je 0x10058739
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10058735
cmp ebp, 0xfffffffd
je 0x10058739
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10058735
cmp ebp, 0xfffffffe
je 0x10058739
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10058735
cmp ebp, 0xffffffff
je 0x10058739
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x10058739
mov bl, 1
jmp 0x1005873b
xor bl, bl
test bl, bl
je 0x1005874b
push dword [esp + 0x7c]
call fcn.10017460
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10073896
add esp, 0x64
ret
mov ecx, dword [esp + 0x70]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10073896
add esp, 0x64
ret