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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
push esi
push edi
mov edi, dword [0x100dc8dc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x3db8]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x3db8]
mov dword [esp + 0x14], eax
cmp byte [eax + 0x8f], 0
je 0x10036958
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [edi + 0x3e4c], 1
movss xmm3, dword [edi + 0x3768]
addss xmm3, xmm3
addss xmm3, dword [edi + 0x3b54]
movss dword [esp + 0x70], xmm3
je 0x10036985
movss xmm0, dword [edi + 0x3e50]
jmp 0x1003698d
movss xmm0, dword [eax + 0x180]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100369cf
cmp dword [eax + 0x170], 0
movss xmm1, dword [eax + 0x208]
jne 0x100369af
cmp dword [edi + 0x417c], 0
je 0x100369b7
movss xmm1, dword [eax + 0x1d8]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x1005e6c4]
maxss xmm0, xmm1
test byte [ebp + 8], 0x10
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
je 0x100369e5
xorps xmm0, xmm0
jmp 0x100369f0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x377c]
movss dword [esp + 0xc], xmm0
subss xmm2, xmm0
mov dword [esp + 0x64], ecx
movss dword [esp + 0x38], xmm2
cmp ecx, 0xffffffff
jae 0x10036a2e
mov edi, ecx
nop dword [eax + eax]
mov cl, byte [edi]
test cl, cl
je 0x10036a2a
cmp cl, 0x23
jne 0x10036a20
cmp byte [edi + 1], cl
je 0x10036a2a
inc edi
mov dword [esp + 0x64], edi
cmp edi, 0xffffffff
jb 0x10036a10
mov edi, dword [esp + 0x10]
mov dword [edi + 0x3e4c], 0
call fcn.10012410
mov eax, dword [0x100dc8dc]
push ecx
push dword [esp + 0x6c]
mov esi, dword [eax + 0x3db8]
mov ecx, esi
call fcn.10006490
mov ecx, dword [esi + 0xc4]
add esi, 0xc4
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x10036a8c
inc ecx
test eax, eax
je 0x10036a7a
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x10036a7f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1001a400
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp + 8]
inc dword [esi]
mov dword [esp + 0x78], ecx
test cl, 0x20
je 0x10036ab5
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
mov esi, dword [esp + 0x34]
test cl, 8
jne 0x10036aca
mov edx, ecx
mov ecx, esi
call fcn.1003b0c0
mov ecx, dword [ebp + 8]
test ecx, 0x700000
jne 0x10036adf
mov eax, dword [edi + 0x50dc]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10036af4
mov eax, dword [edi + 0x50dc]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10036b09
mov eax, dword [edi + 0x50dc]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10036b1e
mov eax, dword [edi + 0x50dc]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x50dc]
and eax, 0xe00fffff
or ecx, eax
mov edx, ecx
mov dword [ebp + 8], ecx
and edx, 0x700000
je 0x10036b3f
lea eax, [edx - 1]
test edx, eax
je 0x10036b5a
push 0x12de
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_DisplayMask__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edx, ecx
and edx, 0x18000000
je 0x10036b6b
lea eax, [edx - 1]
test edx, eax
je 0x10036b86
push 0x12df
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_InputMask__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp + 8]
add esp, 0xc
movss xmm0, dword [esi]
mov edx, ecx
movss xmm1, dword [esi + 4]
mov eax, ecx
movss xmm2, dword [esi + 8]
shr edx, 1
not dl
shr eax, 0x13
and edx, 0xffffff01
movss dword [esp + 0x24], xmm0
mov dword [esp + 0x4c], edx
and eax, 0xffffff01
movzx edx, dl
add edx, 3
mov dword [esp + 0x50], eax
cmp byte [esp + 0x4c], 0
mov dword [esp + 0x20], edx
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm2
je 0x10036bdc
movss xmm3, dword [esi + 0xc]
jmp 0x10036be4
movss xmm3, dword [0x1005e6c4]
movss xmm6, dword [0x1005e62c]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x30], xmm3
cmp eax, 0x10100000
jne 0x10036c1a
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x28]
call fcn.10004c60
add esp, 4
jmp 0x10036cc7
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10036ce6
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x10036c45
movss xmm4, dword [0x1005e808]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x10036c62
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1005e7f8]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x2c], xmm5
minss xmm0, xmm2
movaps xmm1, xmm5
subss xmm3, xmm2
mov ecx, esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x2c]
movaps xmm0, xmm1
mulss xmm0, dword [0x1005e730]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x1005e900]
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm1
call fcn.10036820
add esp, 8
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
movss xmm5, dword [0x1005e7fc]
xorps xmm4, xmm4
comiss xmm0, xmm4
movss xmm7, dword [0x1005e68c]
jb 0x10036d03
movaps xmm6, xmm7
jmp 0x10036d06
movaps xmm6, xmm5
comiss xmm1, xmm4
mulss xmm0, dword [0x1005e7b0]
addss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [esp + 0x54], eax
jb 0x10036d24
movaps xmm0, xmm7
jmp 0x10036d27
movaps xmm0, xmm5
comiss xmm2, xmm4
movss xmm6, dword [0x1005e7b0]
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x58], eax
jb 0x10036d49
movaps xmm0, xmm7
jmp 0x10036d4c
movaps xmm0, xmm5
comiss xmm3, xmm4
mulss xmm2, xmm6
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0x5c], eax
jb 0x10036d64
movaps xmm5, xmm7
cmp dword [edi + 0x37bc], 0
mulss xmm3, xmm6
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
addss xmm3, xmm5
cvttss2si eax, xmm3
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
movss xmm3, dword [eax + 0xd0]
movss xmm2, dword [eax + 0xd4]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x1c], xmm2
jne 0x10036daf
movss xmm0, dword [esp + 0xc]
jmp 0x10036db2
xorps xmm0, xmm0
addss xmm0, xmm3
movss dword [eax + 0xd0], xmm0
test ecx, 0x300000
je 0x1003716e
test cl, 0x20
jne 0x1003716e
movss xmm2, dword [edi + 0x377c]
lea eax, [edx - 1]
movss xmm4, dword [esp + 0x38]
movaps xmm0, xmm2
movd xmm3, eax
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x1005e6c4]
movaps xmm5, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm5, xmm0
addss xmm2, xmm5
movss dword [esp + 0x38], xmm5
mulss xmm2, xmm3
movss xmm3, dword [0x1005e7e8]
subss xmm4, xmm2
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0xc], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x100dc8dc]
push ecx
cvtdq2ps xmm0, xmm0
push 0
push eax
lea eax, [esp + 0x4c]
push ecx
movss xmm2, dword [ecx + 0x3b54]
mov ecx, dword [ecx + 0x3b50]
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x24], xmm1
call fcn.100290f0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x1005e6bc]
movss xmm1, dword [esp + 0x38]
mov ecx, dword [ebp + 8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10036eba
xor eax, eax
jmp 0x10036ec8
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
mov edx, dword [esp + 0x20]
xor esi, esi
test edx, edx
je 0x100373f2
shl eax, 4
cmp dword [esp + 0xc], esi
je 0x1003702e
and ecx, 8
mov dword [esp + 0x40], ecx
lea ecx, [eax + 0x1005d734]
mov dword [esp + 0xc], ecx
test esi, esi
je 0x10036f16
movss xmm1, dword [edi + 0x377c]
xorps xmm0, xmm0
call fcn.10012150
movss xmm1, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
lea eax, [esi + 1]
cmp eax, edx
jge 0x10036f22
movaps xmm0, xmm1
jmp 0x10036f28
movss xmm0, dword [esp + 0x10]
mov eax, dword [0x100dc8dc]
or dword [eax + 0x3e4c], 1
cmp byte [esp + 0x50], 0
movss dword [eax + 0x3e50], xmm0
je 0x10036f48
xorps xmm0, xmm0
jmp 0x10036f50
movss xmm0, dword [0x1005e6c4]
movss xmm3, dword [0x1005e648]
lea eax, [esp + 0x6c]
push ecx
push dword [ecx]
mov ecx, dword [esi*4 + 0x1005d764]
mov edx, 8
push eax
lea eax, [esp + 0x48]
movss dword [esp + 0x78], xmm0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], 0
lea eax, [eax + esi*4]
push eax
call fcn.1002f3c0
mov ah, byte [esp + 0x1e]
add esp, 0x14
or ah, al
or byte [esp + 0xb], ah
cmp dword [esp + 0x40], 0
mov byte [esp + 0xa], ah
jne 0x10037009
mov eax, dword [0x100dc8dc]
cmp byte [eax + 0x3607], 0
mov ecx, dword [eax + 0x3db8]
mov dword [esp + 0x3c], ecx
je 0x10037009
mov ecx, 0x20
call fcn.10006740
test al, al
je 0x10037009
push ecx
mov ecx, dword [esp + 0x40]
push str.context
call fcn.10006350
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x10036ffd
push 0x2449
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.id___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x48]
add esp, 0xc
mov edx, 1
mov ecx, eax
call fcn.10013190
mov ecx, dword [esp + 0xc]
inc esi
movss xmm1, dword [esp + 0x38]
add ecx, 4
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
cmp esi, dword [esp + 0x20]
jl 0x10036ef4
jmp 0x100373ef
xor esi, esi
mov edx, 0xff
cmp byte [esp + 0x50], 0
cmovne edx, esi
and ecx, 8
mov dword [esp + 0x6c], ecx
lea ecx, [eax + 0x1005d6dc]
mov dword [esp + 0x50], edx
mov dword [esp + 0xc], ecx
test esi, esi
jle 0x10037074
movss xmm1, dword [edi + 0x377c]
xorps xmm0, xmm0
call fcn.10012150
movss xmm1, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x50]
lea eax, [esi + 1]
cmp eax, dword [esp + 0x20]
jge 0x10037082
movaps xmm0, xmm1
jmp 0x10037088
movss xmm0, dword [esp + 0x10]
mov eax, dword [0x100dc8dc]
movss xmm3, dword [0x1005e6c4]
push ecx
push dword [ecx]
or dword [eax + 0x3e4c], 1
mov ecx, dword [esi*4 + 0x1005d764]
movss dword [eax + 0x3e50], xmm0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], edx
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x4c], 0
lea eax, [eax + esi*4]
mov edx, 4
push eax
call fcn.1002f3c0
or byte [esp + 0x1e], al
add esp, 0x14
cmp dword [esp + 0x6c], 0
jne 0x10037149
mov eax, dword [0x100dc8dc]
cmp byte [eax + 0x3607], 0
mov ecx, dword [eax + 0x3db8]
mov dword [esp + 0x40], ecx
je 0x10037149
mov ecx, 0x20
call fcn.10006740
test al, al
je 0x10037149
push ecx
mov ecx, dword [esp + 0x44]
push str.context
call fcn.10006350
mov dword [esp + 0x40], eax
test eax, eax
jne 0x1003713d
push 0x2449
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.id___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov edx, 1
mov ecx, eax
call fcn.10013190
mov ecx, dword [esp + 0xc]
inc esi
movss xmm1, dword [esp + 0x38]
add ecx, 4
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
cmp esi, dword [esp + 0x20]
jl 0x10037052
jmp 0x100373ef
test ecx, 0x400000
je 0x10037402
test cl, 0x20
jne 0x10037402
cmp byte [esp + 0x4c], 0
mov eax, 0xff
je 0x100371fd
mov ecx, dword [esp + 0x60]
test ecx, ecx
jns 0x100371a1
mov dword [esp + 0x10], 0
jmp 0x100371aa
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x5c]
test esi, esi
jns 0x100371b6
xor esi, esi
jmp 0x100371bb
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x58]
test edx, edx
jns 0x100371c7
xor edx, edx
jmp 0x100371cc
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
jns 0x100371d8
xor ecx, ecx
jmp 0x100371dd
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x10]
lea eax, [esp + 0xa4]
push esi
push edx
push ecx
push 0x1005d410
push 0x40
push eax
call fcn.10004530
add esp, 0x1c
jmp 0x1003724a
mov esi, dword [esp + 0x5c]
test esi, esi
jns 0x10037209
xor esi, esi
jmp 0x1003720e
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x58]
test edx, edx
jns 0x1003721a
xor edx, edx
jmp 0x1003721f
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
jns 0x1003722b
xor ecx, ecx
jmp 0x10037230
cmp ecx, eax
cmovg ecx, eax
push esi
push edx
push ecx
push 0x1005d424
lea eax, [esp + 0xb0]
push 0x40
push eax
call fcn.10004530
add esp, 0x18
mov esi, dword [0x100dc8dc]
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x1005e770]
mov eax, dword [esp + 0x14]
or dword [esi + 0x3e4c], 1
lea ecx, [esi + 0x3efc]
movss xmm4, dword [esp + 0x38]
movss dword [esi + 0x3e50], xmm4
movss dword [eax + 0xd0], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [eax + 0xd4], xmm0
lea eax, [esp + 0x80]
movups xmm0, xmmword [esi + 0x3850]
push eax
mov dword [esp + 0x84], 6
movups xmmword [esp + 0x88], xmm0
call fcn.1001a340
push 0
push 0
push 6
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0
push eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x54], 0
xorps xmm0, xmm0
xor edx, edx
push 0x40
push eax
mov ecx, str.Text
movups xmmword [esi + 0x3850], xmm0
call fcn.10032ba0
add esp, 0x18
test al, al
je 0x10037389
mov byte [esp + 0xa], 1
lea ecx, [esp + 0xa0]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1003731e
cmp al, 0x20
je 0x1003731e
cmp al, 9
jne 0x10037321
inc ecx
jmp 0x10037310
cmp byte [esp + 0x4c], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0xff
je 0x1003736c
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10002740
add esp, 0x18
jmp 0x10037389
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x5c]
push eax
push str._02X_02X_02X
push ecx
call fcn.10002740
add esp, 0x14
call fcn.10005140
mov ecx, dword [ebp + 8]
test cl, 8
jne 0x100373f2
mov eax, dword [0x100dc8dc]
cmp byte [eax + 0x3607], 0
mov esi, dword [eax + 0x3db8]
je 0x100373f2
mov ecx, 0x20
call fcn.10006740
test al, al
je 0x100373ef
push ecx
push str.context
mov ecx, esi
call fcn.10006350
mov esi, eax
test esi, esi
jne 0x100373e3
push 0x2449
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.id___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edx, 1
mov ecx, esi
call fcn.10013190
mov ecx, dword [ebp + 8]
movss xmm2, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x10], esi
test cl, 0x10
jne 0x10037622
cmp byte [esp + 0x4c], 0
movaps xmm0, xmm2
movss xmm1, dword [eax + 0x14]
subss xmm1, dword [0x1005e780]
subss xmm0, dword [0x1005e718]
addss xmm1, xmm3
movss dword [eax + 0xd4], xmm0
movss dword [eax + 0xd0], xmm1
mov eax, dword [esp + 0x34]
je 0x1003744f
movss xmm1, dword [eax + 0xc]
jmp 0x10037457
movss xmm1, dword [0x1005e6c4]
movss xmm0, dword [eax]
lea edx, [esp + 0x80]
movss dword [esp + 0x80], xmm0
sub esp, 8
movss xmm0, dword [eax + 4]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 8]
mov eax, esp
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm1
push ecx
mov ecx, str.ColorButton
mov dword [eax], 0x41a00000
mov dword [eax + 4], 0x41a00000
call fcn.1003a710
add esp, 0xc
test al, al
mov eax, dword [ebp + 8]
je 0x10037546
test al, 4
jne 0x10037546
movups xmm0, xmmword [esp + 0x80]
mov eax, dword [0x100dc8dc]
push ecx
movups xmmword [edi + 0x50ec], xmm0
push str.picker
mov ecx, dword [eax + 0x3db8]
call fcn.10006350
xor edx, edx
mov ecx, eax
call fcn.10013190
movss xmm1, dword [edi + 0x3e6c]
movss xmm0, dword [edi + 0x3e78]
addss xmm0, dword [edi + 0x3778]
mov eax, dword [0x100dc8dc]
addss xmm1, dword [0x1005e618]
or dword [eax + 0x3e9c], 1
movss dword [eax + 0x3eb0], xmm0
movss dword [eax + 0x3eac], xmm1
mov dword [eax + 0x3eb4], esi
mov dword [eax + 0x3eb8], esi
mov dword [eax + 0x3ea0], 1
mov eax, dword [ebp + 8]
test al, 8
jne 0x100375a3
mov eax, dword [0x100dc8dc]
cmp byte [eax + 0x3607], 0
mov esi, dword [eax + 0x3db8]
je 0x100375a3
mov ecx, 0x20
call fcn.10006740
test al, al
je 0x100375a3
push ecx
push str.context
mov ecx, esi
call fcn.10006350
mov esi, eax
test esi, esi
jne 0x10037597
push 0x2449
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.id___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edx, 1
mov ecx, esi
call fcn.10013190
mov esi, dword [0x100dc8dc]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 2
movss xmm1, dword [esi + 0x3730]
lea ecx, [esi + 0x3f08]
movss xmm0, dword [esi + 0x3734]
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm0
call fcn.1001a280
mov ecx, dword [0x100dc8dc]
mov dword [esi + 0x3730], 0x41000000
mov dword [esi + 0x3734], 0x41000000
mov eax, dword [ecx + 0x3f44]
cmp eax, dword [ecx + 0x3f50]
jg 0x10037783
mov dword [ecx + 0x3e9c], 0
xor esi, esi
mov ecx, 1
call fcn.100051c0
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x68], eax
je 0x10037660
test cl, cl
js 0x10037660
mov ecx, dword [esp + 0x14]
mov edx, eax
movss xmm0, dword [esp + 0x18]
push 0
movss dword [ecx + 0xd0], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [ecx + 0xd4], xmm0
mov ecx, dword [esp + 0x6c]
call fcn.1002be00
add esp, 4
movss xmm2, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
movaps xmm0, xmm2
movss xmm1, dword [esp + 0x1c]
push 0
push ecx
addss xmm0, dword [edx + 0x14]
mov ecx, 6
movss dword [esp + 0x78], xmm2
mov dword [esp], 0
subss xmm0, dword [0x1005e770]
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm1
addss xmm1, dword [0x1005e768]
addss xmm0, dword [0x1005e76c]
movss dword [esp + 0x7c], xmm1
movss xmm1, dword [0x1005e6c4]
movss dword [esp + 0x84], xmm0
call fcn.10004f90
mov ecx, dword [edx + 0x244]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.10024760
cmp byte [esp + 0xa], 0
je 0x10037959
test esi, esi
jne 0x10037959
cmp byte [esp + 0xb], 0
jne 0x10037717
movups xmm0, xmmword [esp + 0x54]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x1005e8f0]
movups xmmword [esp + 0x24], xmm0
mov eax, dword [ebp + 8]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1003787c
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x2c]
movss xmm1, dword [esp + 0x28]
lea edx, [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
movss dword [edi + 0x50e0], xmm0
movss dword [edi + 0x50e4], xmm1
call fcn.10004c60
movss xmm1, dword [esp + 0x28]
xorps xmm4, xmm4
movss xmm5, dword [0x1005e6c4]
add esp, 4
comiss xmm4, xmm1
jbe 0x10037804
xorps xmm0, xmm0
jmp 0x1003780b
push ecx
mov ecx, dword [ecx + 0x3db8]
push str.picker
call fcn.10006350
mov ecx, eax
call fcn.100137f0
test al, al
je 0x10037613
mov eax, dword [0x100dc8dc]
mov ecx, 0x1005ac50
movss xmm0, dword [esp + 0x70]
mulss xmm0, dword [0x1005e744]
mov esi, dword [edi + 0x3db8]
or dword [eax + 0x3e4c], 1
mov edx, dword [esp + 0x34]
movss dword [eax + 0x3e50], xmm0
lea eax, [edi + 0x50ec]
push eax
mov eax, dword [esp + 0x7c]
and eax, 0x1f890002
mov dword [esp + 0x14], esi
or eax, 0x7401a0
push eax
call fcn.10037db0
or byte [esp + 0x12], al
add esp, 8
call fcn.10013890
jmp 0x10037615
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm7, dword [0x1005e7b0]
movss xmm6, dword [0x1005e68c]
movss xmm2, dword [esp + 0x28]
comiss xmm4, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10037837
xorps xmm0, xmm0
jmp 0x1003783e
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm3, dword [esp + 0x2c]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x1003785f
xorps xmm5, xmm5
jmp 0x10037863
minss xmm5, xmm3
mulss xmm5, xmm7
addss xmm5, xmm6
cvttss2si eax, xmm5
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x50e8], eax
jmp 0x10037891
movss xmm3, dword [esp + 0x2c]
xorps xmm4, xmm4
movss xmm2, dword [esp + 0x28]
movss xmm1, dword [esp + 0x24]
mov eax, dword [ebp + 8]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x10037935
movaps xmm5, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm5
comiss xmm3, xmm0
jbe 0x100378c3
movss xmm4, dword [0x1005e808]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x100378dd
movss xmm0, dword [0x1005e7f8]
movaps xmm5, xmm1
subss xmm0, xmm4
movaps xmm1, xmm6
movaps xmm4, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm5
minss xmm0, xmm3
subss xmm1, xmm3
movaps xmm3, xmm5
movss dword [esp + 0x2c], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1005e730]
addss xmm0, dword [0x1005e62c]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x1005e62c]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x1005e900]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm2
cmp byte [esp + 0x4c], 0
mov eax, dword [esp + 0x34]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x10037959
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x100dc8dc]
mov esi, dword [eax + 0x3db8]
cmp dword [esi + 0xc4], 1
jg 0x10037985
push 0x1d1d
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.window__IDStack.Size___1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp dword [esi + 0xc4], 0
jg 0x100379a6
push 0x70e
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
dec dword [esi + 0xc4]
call fcn.10012570
test byte [edi + 0x3e68], 1
je 0x10037b2f
test dword [ebp + 8], 0x200
jne 0x10037b2f
call fcn.100182d0
test al, al
je 0x10037b2f
mov ecx, str._COL3F
mov byte [esp + 0xb], 0
call fcn.10018390
mov esi, dword [esp + 0x34]
test eax, eax
je 0x10037a09
mov eax, dword [eax]
mov byte [esp + 0xb], 1
mov byte [esp + 0xa], 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, str._COL4F
call fcn.10018390
test eax, eax
je 0x10037a31
mov ecx, dword [esp + 0x20]
shl ecx, 2
push ecx
push dword [eax]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xa], 1
jmp 0x10037a3c
cmp byte [esp + 0xb], 0
je 0x10037ae0
test dword [ebp + 8], 0x10000000
je 0x10037ae0
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x10037a6f
movss xmm5, dword [0x1005e808]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x10037a72
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x10037a8f
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x1005e7f8]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [esi + 8], xmm3
minss xmm0, xmm4
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1005e730]
addss xmm0, dword [0x1005e62c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1005e62c]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x1005e900]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov esi, dword [0x100dc8dc]
cmp byte [esi + 0x40dc], 0
jne 0x10037b07
push 0x2bdf
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.g.DragDropActive
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp byte [esi + 0x40de], 0
jne 0x10037b28
push 0x2be0
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.g.DragDropWithinTarget
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov byte [esi + 0x40de], 0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10037b4f
mov eax, dword [edi + 0x3df0]
test eax, eax
je 0x10037b4f
cmp dword [edi + 0x3e28], ecx
jne 0x10037b4f
mov dword [edi + 0x3e60], eax
mov cl, byte [esp + 0xa]
test cl, cl
je 0x10037ba4
mov esi, dword [0x100dc8dc]
mov eax, dword [esi + 0x3df0]
cmp eax, dword [edi + 0x3e60]
je 0x10037b94
test eax, eax
je 0x10037b94
cmp byte [esi + 0x40dc], 0
jne 0x10037b94
push 0xd5b
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.g.ActiveId__id__g.ActiveId__0__g.DragDropActive
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov cl, byte [esp + 0x16]
add esp, 0xc
or dword [esi + 0x3e68], 4
mov word [esi + 0x3e00], 0x101
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret