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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x100fe040]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [esp + 0x34], ecx
mov ecx, 0x1010cb2b
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], eax
call fcn.100b1e70
mov esi, dword [0x1010223c]
mov dword [esp + 0x2c], esi
mov eax, dword [esi + 0x199c]
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x199c]
mov dword [esp + 0x24], eax
cmp byte [eax + 0x7f], 0
je 0x1007d0b1
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100afa20
mov esp, ebp
pop ebp
ret
test byte [esp + 0x14], 0x10
movss xmm0, dword [esi + 0x1538]
addss xmm0, xmm0
addss xmm0, dword [esi + 0x18bc]
movss dword [esp + 0x44], xmm0
je 0x1007d0dd
xorps xmm0, xmm0
movss dword [esp + 0x18], xmm0
jmp 0x1007d0f1
movaps xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, dword [esi + 0x154c]
movss dword [esp + 0x18], xmm1
movss xmm2, dword [eax + 0x16c]
comiss xmm0, xmm2
movss dword [esp + 0x20], xmm2
jbe 0x1007d15f
movss xmm1, dword [eax + 0xc8]
subss xmm1, dword [eax + 0xc]
mov ecx, dword [eax + 0x1bc]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [eax + 0x214]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x1007d149
mov ecx, dword [ecx + 0xc]
inc ecx
call fcn.1004cfb0
mov eax, dword [esp + 0x24]
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x20]
subss xmm1, dword [eax + 0x3c]
subss xmm1, dword [esp + 0x28]
addss xmm1, xmm2
movss xmm2, dword [0x100f5ba8]
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm0, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x100f5c9c]
movss dword [esp + 0x20], xmm0
cmp eax, 0xffffffff
jae 0x1007d1ae
mov esi, eax
nop dword [eax]
mov cl, byte [esi]
test cl, cl
je 0x1007d1aa
cmp cl, 0x23
jne 0x1007d1a0
cmp byte [esi + 1], cl
je 0x1007d1aa
inc esi
mov dword [esp + 0x40], esi
cmp esi, 0xffffffff
jb 0x1007d190
mov esi, dword [esp + 0x2c]
call fcn.100475f0
mov ecx, dword [esp + 0x34]
call fcn.10047170
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
test cl, 0x20
je 0x1007d1d9
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x1007d1eb
mov edx, ecx
mov ecx, edi
call fcn.100815b0
mov ecx, dword [esp + 0x14]
test ecx, 0x700000
jne 0x1007d200
mov eax, dword [esi + 0x2c00]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1007d215
mov eax, dword [esi + 0x2c00]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1007d22a
mov eax, dword [esi + 0x2c00]
and eax, 0x6000000
or ecx, eax
mov eax, dword [esi + 0x2c00]
movss xmm2, dword [edi]
and eax, 0xf80fffff
movss xmm5, dword [edi + 4]
or ecx, eax
movss xmm1, dword [edi + 8]
mov edx, ecx
shr edx, 1
mov eax, ecx
not dl
shr eax, 0x13
and edx, 0xffffff01
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], edx
and eax, 0xffffff01
movzx edx, dl
add edx, 3
mov dword [esp + 0x28], eax
cmp byte [esp + 0x38], 0
mov dword [esp + 0x30], edx
movss dword [esp + 0xd8], xmm2
movss dword [esp + 0xdc], xmm5
movss dword [esp + 0xe0], xmm1
je 0x1007d2a3
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0xe4], xmm0
jmp 0x1007d2ae
mov dword [esp + 0xe4], 0x3f800000
test ecx, 0x200000
je 0x1007d34e
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x1007d2d3
movss xmm4, dword [0x100f5d84]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x1007d2f0
movss xmm0, dword [0x100f5d70]
movaps xmm5, xmm3
subss xmm0, xmm4
movaps xmm3, xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0xe0], xmm5
minss xmm0, xmm1
movaps xmm2, xmm5
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100f5c60]
addss xmm0, dword [0x100f5abc]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100f5abc]
addss xmm3, xmm4
divss xmm2, xmm0
andps xmm3, xmmword [0x100f6030]
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xdc], xmm2
movss xmm0, dword [esp + 0xd8]
xorps xmm2, xmm2
comiss xmm0, xmm2
movss xmm3, dword [0x100f5d74]
movss xmm1, dword [0x100f5b64]
jb 0x1007d374
movaps xmm5, xmm1
jmp 0x1007d377
movaps xmm5, xmm3
movss xmm0, dword [esp + 0xd8]
movss xmm4, dword [0x100f5cec]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xdc]
comiss xmm0, xmm2
mov dword [esp + 0xe8], eax
jb 0x1007d3ae
movaps xmm5, xmm1
jmp 0x1007d3b1
movaps xmm5, xmm3
movss xmm0, dword [esp + 0xdc]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xe0]
comiss xmm0, xmm2
mov dword [esp + 0xec], eax
jb 0x1007d3e0
movaps xmm5, xmm1
jmp 0x1007d3e3
movaps xmm5, xmm3
movss xmm0, dword [esp + 0xe0]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xe4]
comiss xmm0, xmm2
mov dword [esp + 0xf0], eax
jae 0x1007d410
movaps xmm1, xmm3
movss xmm0, dword [esp + 0xe4]
mulss xmm0, xmm4
mov byte [esp + 0x13], 0
mov byte [esp + 0x1f], 0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0xf4], eax
test ecx, 0x300000
je 0x1007d82c
test cl, 0x20
jne 0x1007d82c
movss xmm3, dword [esi + 0x154c]
lea eax, [edx - 1]
movss xmm4, dword [esp + 0x20]
movd xmm2, eax
movaps xmm1, xmm4
cvtdq2ps xmm2, xmm2
push ecx
mov dword [esp], 0xbf800000
push 0
push 0
mov dword [esp + 0xcc], 0x100f2d44
movaps xmm0, xmm2
mov dword [esp + 0xd0], 0x100f2d48
mulss xmm0, xmm3
mov dword [esp + 0xd4], 0x100f2d4c
mov dword [esp + 0xd8], 0x100f2d50
mov dword [esp + 0x88], 0x100f2d54
subss xmm1, xmm0
mov dword [esp + 0x8c], 0x100f2d54
movd xmm0, edx
mov edx, str.M:0.000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x90], 0x100f2d54
mov dword [esp + 0x94], 0x100f2d54
mov dword [esp + 0x98], str.R:_3d
mov dword [esp + 0x9c], str.G:_3d
mov dword [esp + 0xa0], str.B:_3d
divss xmm1, xmm0
mov dword [esp + 0xa4], str.A:_3d
mov dword [esp + 0xa8], str.H:_3d
mov dword [esp + 0xac], str.S:_3d
mov dword [esp + 0xb0], str.V:_3d
mov dword [esp + 0xb4], str.A:_3d
mov dword [esp + 0x58], str._0.3f
mov dword [esp + 0x5c], str._0.3f
mov dword [esp + 0x60], str._0.3f
mov dword [esp + 0x64], str._0.3f
mov dword [esp + 0x68], str.R:_0.3f
mov dword [esp + 0x6c], str.G:_0.3f
mov dword [esp + 0x70], str.B:_0.3f
mov dword [esp + 0x74], str.A:_0.3f
mov dword [esp + 0x78], str.H:_0.3f
mov dword [esp + 0x7c], str.S:_0.3f
mov dword [esp + 0x80], str.V:_0.3f
mov dword [esp + 0x84], str.A:_0.3f
cvttss2si eax, xmm1
movss xmm1, dword [0x100f5ba8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm3, xmm1
movss dword [esp + 0x24], xmm1
movss xmm1, dword [0x100f5ba8]
mulss xmm3, xmm2
subss xmm4, xmm3
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0xc0], eax
cmove edx, ecx
lea ecx, [esp + 0xb8]
maxss xmm1, xmm0
movss dword [esp + 0x2c], xmm1
call fcn.1003dda0
movss xmm1, dword [esp + 0x24]
add esp, 0xc
movss xmm0, dword [eax]
comiss xmm0, xmm1
jb 0x1007d621
xor edi, edi
jmp 0x1007d632
mov edi, dword [esp + 0x14]
and edi, 0x200000
neg edi
sbb edi, edi
neg edi
inc edi
movaps xmm0, xmm1
call fcn.10044bd0
xor esi, esi
cmp dword [esp + 0x30], esi
jbe 0x1007d822
shl edi, 4
cmp dword [esp + 0xb4], esi
je 0x1007d74e
mov eax, dword [esp + 0x14]
and eax, 8
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x4c]
add eax, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
nop dword [eax]
test esi, esi
je 0x1007d694
movss xmm1, dword [edi + 0x154c]
xorps xmm0, xmm0
call fcn.10047960
lea eax, [esi + 1]
mov dword [esp + 0xac], eax
cmp eax, dword [esp + 0x30]
jne 0x1007d6af
movss xmm0, dword [esp + 0x20]
call fcn.10044bd0
cmp byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
je 0x1007d6bf
xorps xmm0, xmm0
jmp 0x1007d6c7
movss xmm0, dword [0x100f5ba8]
movss xmm3, dword [0x100f5af4]
mov edx, 4
push ecx
mov ecx, dword [esp + esi*4 + 0xc4]
mov dword [esp], 0x3f800000
push dword [eax]
lea eax, [esp + 0xbc]
movss dword [esp + 0xbc], xmm0
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xe8]
lea eax, [eax + esi*4]
push eax
call fcn.10074750
mov cl, byte [esp + 0x27]
add esp, 0x14
or cl, al
or byte [esp + 0x1f], cl
cmp dword [esp + 0xbc], 0
mov byte [esp + 0x13], cl
jne 0x1007d72e
call fcn.10048280
mov esi, dword [esp + 0xac]
add dword [esp + 0x18], 4
cmp esi, dword [esp + 0x30]
jl 0x1007d680
call fcn.10044e60
jmp 0x1007da26
xor ecx, ecx
xor esi, esi
cmp byte [esp + 0x28], cl
mov eax, 0xff
mov dword [esp + 0xbc], ecx
cmovne eax, ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x14]
and eax, 8
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x7c]
add eax, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
test esi, esi
jle 0x1007d79c
movss xmm1, dword [edi + 0x154c]
xorps xmm0, xmm0
call fcn.10047960
lea eax, [esi + 1]
mov dword [esp + 0xb4], eax
cmp eax, dword [esp + 0x30]
jne 0x1007d7b7
movss xmm0, dword [esp + 0x20]
call fcn.10044bd0
mov eax, dword [esp + 0x18]
xor edx, edx
movss xmm3, dword [0x100f5ba8]
push ecx
mov ecx, dword [esp + esi*4 + 0xc4]
mov dword [esp], 0x3f800000
push dword [eax]
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xf8]
lea eax, [eax + esi*4]
push eax
call fcn.10074750
or byte [esp + 0x27], al
add esp, 0x14
cmp dword [esp + 0xb8], 0
jne 0x1007d80c
call fcn.10048280
mov esi, dword [esp + 0xb4]
add dword [esp + 0x18], 4
cmp esi, dword [esp + 0x30]
jl 0x1007d788
call fcn.10044e60
jmp 0x1007da26
test ecx, 0x400000
je 0x1007da37
test cl, 0x20
jne 0x1007da37
xor edx, edx
push 0xff
cmp byte [esp + 0x3c], dl
je 0x1007d8c8
mov ecx, eax
call fcn.1008ece0
mov ecx, dword [esp + 0xf4]
add esp, 4
xor edx, edx
mov dword [esp + 0xac], eax
push 0xff
call fcn.1008ece0
mov ecx, dword [esp + 0xf0]
add esp, 4
xor edx, edx
mov edi, eax
push 0xff
call fcn.1008ece0
mov ecx, dword [esp + 0xec]
add esp, 4
xor edx, edx
mov esi, eax
push 0xff
call fcn.1008ece0
add esp, 4
push dword [esp + 0xac]
push edi
push esi
push eax
push 0x100f2dd8
lea eax, [esp + 0x10c]
push 0x40
push eax
call fcn.10035a80
add esp, 0x1c
jmp 0x1007d921
mov ecx, dword [esp + 0xf4]
call fcn.1008ece0
mov ecx, dword [esp + 0xf0]
add esp, 4
xor edx, edx
mov edi, eax
push 0xff
call fcn.1008ece0
mov ecx, dword [esp + 0xec]
add esp, 4
xor edx, edx
mov esi, eax
push 0xff
call fcn.1008ece0
add esp, 4
push edi
push esi
push eax
push 0x100f2dec
lea eax, [esp + 0x108]
push 0x40
push eax
call fcn.10035a80
add esp, 0x18
movss xmm0, dword [esp + 0x20]
call fcn.10044bd0
push 0
push 0
push 6
lea eax, [esp + 0xb8]
mov dword [esp + 0xb8], 0
push eax
push 0x40
lea edx, [esp + 0x10c]
mov dword [esp + 0xc4], 0
mov ecx, str.Text
call fcn.1007a140
add esp, 0x14
test al, al
je 0x1007da1a
mov byte [esp + 0x13], 1
lea ecx, [esp + 0xf8]
nop word [eax + eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1007d98e
cmp al, 0x20
je 0x1007d98e
cmp al, 9
jne 0x1007d991
inc ecx
jmp 0x1007d980
cmp byte [esp + 0x38], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
je 0x1007d9f4
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10031fc0
add esp, 0x18
jmp 0x1007da1a
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xf0]
push eax
push str._02X_02X_02X
push ecx
call fcn.10031fc0
add esp, 0x14
test byte [esp + 0x14], 8
jne 0x1007da26
call fcn.10048280
call fcn.10044e60
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
test cl, 0x10
jne 0x1007dbe5
test cl, 0x20
jne 0x1007da61
movss xmm1, dword [esi + 0x154c]
xorps xmm0, xmm0
call fcn.10047960
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x38], 0
je 0x1007da6f
movss xmm1, dword [edi + 0xc]
jmp 0x1007da77
movss xmm1, dword [0x100f5ba8]
movss xmm0, dword [edi]
lea edx, [esp + 0xc0]
mov dword [esp + 0xb0], 0
push dword [esp + 0xb0]
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [edi + 4]
mov dword [esp + 0xb0], 0
push dword [esp + 0xb0]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [edi + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0xd4], xmm0
movss dword [esp + 0xd8], xmm1
call fcn.10080be0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x14]
je 0x1007db62
test al, 4
jne 0x1007db62
movups xmm0, xmmword [esp + 0xc0]
mov ecx, 0x100f2e38
movups xmmword [esi + 0x2c04], xmm0
call fcn.10047f50
mov eax, dword [esp + 0x24]
movss xmm1, dword [eax + 0x114]
movss xmm0, dword [eax + 0x120]
addss xmm0, dword [esi + 0x1548]
mov eax, dword [0x1010223c]
subss xmm1, dword [0x100f5ba8]
movss dword [eax + 0x1a60], xmm0
mov dword [eax + 0x1a64], 0
movss dword [eax + 0x1a5c], xmm1
mov dword [eax + 0x1a68], 0
mov dword [eax + 0x1a40], 1
mov eax, dword [esp + 0x14]
test al, 8
jne 0x1007db6b
call fcn.10048280
mov ecx, 0x100f2e38
call fcn.100487e0
test al, al
je 0x1007dbe1
mov eax, dword [esi + 0x199c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
je 0x1007db9b
mov edx, eax
call fcn.1006df40
call fcn.10072660
movss xmm0, dword [esp + 0x44]
mulss xmm0, dword [0x100f5c74]
call fcn.10044bd0
lea eax, [esi + 0x2c04]
mov edx, edi
push eax
mov eax, dword [esp + 0x4c]
mov ecx, str.picker
and eax, 0x7890002
or eax, 0x740080
push eax
call fcn.1007e830
or byte [esp + 0x1b], al
add esp, 8
call fcn.10044e60
call fcn.10048a60
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x34], edi
je 0x1007dc0e
test cl, cl
js 0x1007dc0e
movss xmm1, dword [esi + 0x154c]
xorps xmm0, xmm0
call fcn.10047960
mov ecx, dword [esp + 0x34]
mov edx, edi
call fcn.1006df40
cmp dword [esp + 0x18], 0
jne 0x1007dcc6
cmp byte [esp + 0x1f], 0
jne 0x1007dc3a
movups xmm0, xmmword [esp + 0xe8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100f6010]
movups xmmword [esp + 0xd8], xmm0
test dword [esp + 0x14], 0x200000
je 0x1007dc7d
movss xmm2, dword [esp + 0xe0]
lea eax, [esp + 0xe0]
movss xmm1, dword [esp + 0xdc]
lea edx, [esp + 0xdc]
movss xmm0, dword [esp + 0xd8]
lea ecx, [esp + 0xd8]
push eax
call fcn.100369f0
add esp, 4
cmp byte [esp + 0x13], 0
je 0x1007dcc6
cmp byte [esp + 0x38], 0
mov eax, dword [esp + 0x3c]
movss xmm0, dword [esp + 0xd8]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0xdc]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [eax + 8], xmm0
je 0x1007dcc6
movss xmm0, dword [esp + 0xe4]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x1010223c]
mov edi, dword [eax + 0x199c]
cmp dword [edi + 0x1c0], 0
jg 0x1007dcf2
push 0x4c3
push str.D:onistrix_2018imguiimgui.h
push str.Size___0
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
dec dword [edi + 0x1c0]
call fcn.10047750
mov edx, dword [esp + 0x24]
test byte [edx + 0x110], 1
je 0x1007de95
test dword [esp + 0x14], 0x200
jne 0x1007de95
mov edi, dword [0x1010223c]
cmp byte [edi + 0x1c78], 0
je 0x1007de95
mov ecx, dword [edi + 0x199c]
mov edx, dword [ecx + 0x110]
test dl, 1
je 0x1007de91
cmp dword [edi + 0x19a0], 0
je 0x1007de91
mov esi, dword [edi + 0x19a0]
mov eax, dword [ecx + 0x2f0]
cmp eax, dword [esi + 0x2f0]
mov esi, dword [esp + 0x2c]
jne 0x1007de91
test dl, 2
lea edx, [ecx + 0x124]
jne 0x1007dd7e
lea edx, [ecx + 0x114]
mov eax, dword [ecx + 0x10c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1007dd9a
push edx
call fcn.10039a90
mov dword [esp + 0x20], eax
cmp dword [edi + 0x1c90], eax
je 0x1007de91
cmp byte [edi + 0x1c79], 0
je 0x1007ddcb
push 0x2207
push str.D:onistrix_2018imguiimgui.cpp
push str.g.DragDropWithinSourceOrTarget__false
call dword [sym.imp.ucrtbased.dll__wassert]
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x28]
movups xmm0, xmmword [ecx]
mov ecx, str._COL3F
mov dword [edi + 0x1cd0], eax
mov byte [edi + 0x1c79], 1
movups xmmword [edi + 0x1cc0], xmm0
call fcn.1004e810
mov edi, dword [esp + 0x3c]
test eax, eax
je 0x1007de0d
mov eax, dword [eax]
mov byte [esp + 0x13], 1
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov ecx, str._COL4F
call fcn.1004e810
mov edx, eax
test edx, edx
je 0x1007de39
mov eax, dword [esp + 0x30]
lea ecx, [eax*4]
push ecx
push dword [edx]
push edi
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
mov byte [esp + 0x13], 1
mov eax, dword [0x1010223c]
mov edi, dword [sym.imp.ucrtbased.dll__wassert]
mov dword [esp + 0x20], eax
cmp byte [eax + 0x1c78], 0
jne 0x1007de69
push 0x2249
push str.D:onistrix_2018imguiimgui.cpp
push str.g.DragDropActive
call edi
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp byte [eax + 0x1c79], 0
jne 0x1007de8a
push 0x224a
push str.D:onistrix_2018imguiimgui.cpp
push str.g.DragDropWithinSourceOrTarget
call edi
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov byte [eax + 0x1c79], 0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1007deb5
mov eax, dword [esi + 0x19bc]
test eax, eax
je 0x1007deb5
cmp dword [esi + 0x19e4], ecx
jne 0x1007deb5
mov dword [edx + 0x10c], eax
mov al, byte [esp + 0x13]
test al, al
je 0x1007decc
mov ecx, dword [edx + 0x10c]
call fcn.10039f70
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.100afa20
mov esp, ebp
pop ebp
ret