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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
cmp byte [0x1060f26a], 0
push esi
push edi
mov edi, dword [0x1060b50c]
mov dword [esp + 0x38], edi
je 0x100313c6
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [esp + 0x18], eax
cmp esi, eax
je 0x100313c6
mov eax, dword [0x1060b5e0]
cmp byte [eax + 0xc68], 0
je 0x100313c6
movss xmm5, dword [0x1041ef24]
mov edi, dword [esp + 0x18]
movss xmm0, dword [esi]
lea edx, [esp + 0x80]
movss dword [esp + 0x10c], xmm0
lea ecx, [esp + 0x10c]
movss xmm0, dword [esi + 4]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 0x114], xmm0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
call fcn.10126ff0
test al, al
je 0x1003122e
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x34]
movss xmm1, dword [esp + 0x80]
lea ecx, [esp + 0x24]
test edx, edx
mov dword [esp + 0x28], 0xff
movaps xmm0, xmm1
mov dword [esp + 0x24], 0
cmovns ecx, eax
mov dword [esp + 0x34], edx
mov eax, dword [0x1060b61c]
subss xmm0, xmm5
mov dword [esp + 0x10], eax
cmp edx, 0xff
lea eax, [esp + 0x28]
movss dword [esp + 0x20], xmm1
subss xmm1, dword [0x1041edc4]
cmovle eax, ecx
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x84]
movaps xmm2, xmm0
movss dword [esp + 0x3c], xmm0
movzx eax, byte [eax]
subss xmm2, xmm5
subss xmm0, dword [0x1041edc4]
bswap eax
mov dword [esp + 0x24], eax
mov eax, dword [0x1060b300]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x1c], xmm0
cmp dword [eax + 0x1cf4], 0
mov dword [esp + 0x28], eax
jg 0x1003090e
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [eax + 0x1cfc]
xor edx, edx
push str.Background
mov ecx, dword [ecx]
call fcn.10078d50
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [esp + 0x20]
mov dword [esp], 0x40000000
push dword [esp + 0x28]
mov dword [ecx], eax
lea ecx, [esp + 0x10c]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x98]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x24]
push ecx
mov ecx, eax
movss dword [esp + 0xa0], xmm0
call fcn.10094c50
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
test edx, edx
mov dword [esp + 0xc], 0xff
mov dword [esp + 0x10], 0
movaps xmm1, xmm0
addss xmm1, dword [0x1041ef24]
addss xmm0, dword [0x1041edc4]
cmovns ecx, eax
mov dword [esp + 0x28], edx
mov eax, dword [0x1060b61c]
cmp edx, 0xff
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
cmovle eax, ecx
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x34], xmm0
movzx eax, byte [eax]
bswap eax
mov dword [esp + 0x10], eax
mov eax, dword [0x1060b300]
mov dword [esp + 0xc], eax
cmp dword [eax + 0x1cf4], 0
jg 0x10030a1c
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax + 0x1cfc]
xor edx, edx
push str.Background
mov ecx, dword [ecx]
call fcn.10078d50
mov ecx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x38]
mov dword [esp], 0x40000000
push dword [esp + 0x14]
mov dword [ecx], eax
lea ecx, [esp + 0x9c]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0xa8]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0x30]
push ecx
mov ecx, eax
movss dword [esp + 0xb0], xmm0
call fcn.10094c50
mov edx, dword [esi + 0xc]
lea eax, [esp + 0xc]
movss xmm0, dword [esp + 0x20]
lea ecx, [esp + 0x14]
test edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], 0
movaps xmm1, xmm0
addss xmm1, dword [0x1041ef24]
addss xmm0, dword [0x1041edc4]
cmovns ecx, eax
mov dword [esp + 0x10], 0xff
mov eax, dword [0x1060b61c]
cmp edx, 0xff
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
cmovle eax, ecx
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x30], xmm0
movzx eax, byte [eax]
bswap eax
mov dword [esp + 0xc], eax
mov eax, dword [0x1060b300]
mov dword [esp + 0x14], eax
cmp dword [eax + 0x1cf4], 0
jg 0x10030b2a
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax + 0x1cfc]
xor edx, edx
push str.Background
mov ecx, dword [ecx]
call fcn.10078d50
mov ecx, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0x38]
mov dword [esp], 0x40000000
push dword [esp + 0x10]
mov dword [ecx], eax
lea ecx, [esp + 0xac]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0xb8]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x30]
push ecx
mov ecx, eax
movss dword [esp + 0xc0], xmm0
call fcn.10094c50
mov edx, dword [esi + 0xc]
lea eax, [esp + 0xc]
test edx, edx
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
cmovns ecx, eax
mov dword [esp + 0x10], 0xff
mov eax, dword [0x1060b61c]
cmp edx, 0xff
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
cmovle eax, ecx
movzx eax, byte [eax]
bswap eax
mov dword [esp + 0xc], eax
mov eax, dword [0x1060b300]
mov dword [esp + 0x14], eax
cmp dword [eax + 0x1cf4], 0
jg 0x10030c13
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax + 0x1cfc]
xor edx, edx
push str.Background
mov ecx, dword [ecx]
call fcn.10078d50
mov ecx, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x20]
mov dword [esp], 0x40000000
push dword [esp + 0x10]
mov dword [ecx], eax
lea ecx, [esp + 0xbc]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0xc8]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x24]
push ecx
mov ecx, eax
movss dword [esp + 0xd0], xmm0
call fcn.10094c50
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x44]
movss xmm1, dword [esp + 0x20]
lea ecx, [esp + 0x70]
test edx, edx
mov dword [esp + 0x44], edx
movaps xmm0, xmm1
mov dword [esp + 0x48], 0xff
subss xmm0, dword [0x1041ef20]
subss xmm1, dword [0x1041ee50]
cmovns ecx, eax
mov dword [esp + 0x70], 0
mov eax, dword [0x1060b61c]
cmp edx, 0xff
mov dword [esp + 0xc], eax
lea eax, [esp + 0x48]
cmovle eax, ecx
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x3c]
movaps xmm2, xmm0
movss dword [esp + 0x18], xmm1
subss xmm2, dword [0x1041ef20]
movzx eax, byte [eax]
subss xmm0, dword [0x1041ee50]
shl eax, 0x18
or eax, 0xffffff
mov dword [esp + 0x10], eax
mov eax, dword [0x1060b300]
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x30], xmm0
mov dword [esp + 0x14], eax
cmp dword [eax + 0x1cf4], 0
jg 0x10030d4c
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax + 0x1cfc]
xor edx, edx
push str.Background
mov ecx, dword [ecx]
call fcn.10078d50
mov ecx, dword [esp + 0x10]
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x34]
mov dword [esp], 0x3f800000
push dword [esp + 0x14]
mov dword [ecx], eax
lea ecx, [esp + 0xcc]
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0xd8]
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0x38]
push ecx
mov ecx, eax
movss dword [esp + 0xe0], xmm0
call fcn.10094c50
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x50]
movss xmm0, dword [esp + 0x3c]
lea ecx, [esp + 0x4c]
test edx, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0xff
movaps xmm1, xmm0
addss xmm1, dword [0x1041ef20]
addss xmm0, dword [0x1041ee50]
cmovns ecx, eax
mov dword [esp + 0x4c], 0
mov eax, dword [0x1060b61c]
cmp edx, 0xff
mov dword [esp + 0xc], eax
lea eax, [esp + 0x54]
cmovle eax, ecx
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x24], xmm0
movzx eax, byte [eax]
shl eax, 0x18
or eax, 0xffffff
mov dword [esp + 0x10], eax
mov eax, dword [0x1060b300]
mov dword [esp + 0x14], eax
cmp dword [eax + 0x1cf4], 0
jg 0x10030e60
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax + 0x1cfc]
xor edx, edx
push str.Background
mov ecx, dword [ecx]
call fcn.10078d50
mov ecx, dword [esp + 0x10]
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0x28]
mov dword [esp], 0x3f800000
push dword [esp + 0x14]
mov dword [ecx], eax
lea ecx, [esp + 0xdc]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0xe8]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x40]
push ecx
mov ecx, eax
movss dword [esp + 0xf0], xmm0
call fcn.10094c50
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x5c]
movss xmm0, dword [esp + 0x20]
lea ecx, [esp + 0x58]
test edx, edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 0xff
movaps xmm1, xmm0
addss xmm1, dword [0x1041ef20]
addss xmm0, dword [0x1041ee50]
cmovns ecx, eax
mov dword [esp + 0x58], 0
mov eax, dword [0x1060b61c]
cmp edx, 0xff
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
cmovle eax, ecx
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm0
movzx eax, byte [eax]
shl eax, 0x18
or eax, 0xffffff
mov dword [esp + 0x10], eax
mov eax, dword [0x1060b300]
mov dword [esp + 0x14], eax
cmp dword [eax + 0x1cf4], 0
jg 0x10030f74
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax + 0x1cfc]
xor edx, edx
push str.Background
mov ecx, dword [ecx]
call fcn.10078d50
mov ecx, dword [esp + 0x10]
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x28]
mov dword [esp], 0x3f800000
push dword [esp + 0x14]
mov dword [ecx], eax
lea ecx, [esp + 0xec]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0xf8]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x40]
push ecx
mov ecx, eax
movss dword [esp + 0x100], xmm0
call fcn.10094c50
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x68]
test edx, edx
mov dword [esp + 0x68], edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], 0xff
cmovns ecx, eax
mov dword [esp + 0x64], 0
mov eax, dword [0x1060b61c]
cmp edx, 0xff
mov dword [esp + 0xc], eax
lea eax, [esp + 0x6c]
cmovle eax, ecx
movzx eax, byte [eax]
shl eax, 0x18
or eax, 0xffffff
mov dword [esp + 0x10], eax
mov eax, dword [0x1060b300]
mov dword [esp + 0x14], eax
cmp dword [eax + 0x1cf4], 0
jg 0x10031063
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax + 0x1cfc]
xor edx, edx
push str.Background
mov ecx, dword [ecx]
call fcn.10078d50
mov ecx, dword [esp + 0x10]
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x34]
mov dword [esp], 0x3f800000
push dword [esp + 0x14]
mov dword [ecx], eax
lea ecx, [esp + 0xfc]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x108]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [esp + 0x38]
push ecx
mov ecx, eax
movss dword [esp + 0x110], xmm0
call fcn.10094c50
cmp byte [0x1060f26c], 0
je 0x10031226
mov dword [esp + 0x14], 0x3f800000
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movss xmm1, dword [0x1041edc4]
lea ecx, [esp + 0xc]
lea edx, [esi + 0x14]
mov dword [esp + 0x18], edx
movd xmm0, eax
lea eax, [esp + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1041ec58]
subss xmm0, dword [esi + 0x10]
andps xmm0, xmmword [0x1041f450]
comiss xmm1, xmm0
movss dword [esp + 0xc], xmm0
cmovae eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [0x1060f26d]
mov ecx, eax
shr ecx, 8
shr eax, 0x10
cmp dword [esi + 0x28], 0x10
jb 0x10031151
mov edx, dword [edx]
mov dword [esp + 0x18], edx
cmp byte [esi + 0x2c], 0
movaps xmm0, xmm1
mov edx, dword [esp + 0x10]
movss xmm2, dword [edx]
subss xmm0, xmm2
mulss xmm0, dword [0x1041f054]
cvttss2si edx, xmm0
je 0x1003119d
cmp dword [esi + 0x28], 0x10
push edx
cmovb eax, eax
cmovb ecx, ecx
movzx eax, al
push eax
movzx eax, cl
lea ecx, [esp + 0x48]
push eax
mov eax, dword [0x1060f26d]
movzx eax, al
push eax
call fcn.1001d300
mov eax, dword [esp + 0x40]
jmp 0x100311d6
test edx, edx
mov dword [esp + 0x78], edx
lea eax, [esp + 0x78]
mov dword [esp + 0x7c], 0xff
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], 0
cmovns ecx, eax
cmp edx, 0xff
lea eax, [esp + 0x7c]
cmovle eax, ecx
movzx eax, byte [eax]
shl eax, 0x18
or eax, 0xffffff
push dword [esp + 0x18]
movss xmm1, dword [esp + 0x40]
movaps xmm0, xmm2
push dword [0x10610584]
mulss xmm0, dword [0x1041efc0]
push 7
subss xmm1, dword [0x1041ef70]
push eax
sub esp, 8
subss xmm1, xmm0
movss xmm0, dword [esp + 0x38]
subss xmm0, xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push dword [0x1060b61c]
call fcn.100bc250
add esp, 0x1c
movss xmm5, dword [0x1041ef24]
add esi, 0x34
cmp esi, edi
jne 0x100307e4
mov edi, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xc4ec4ec5
test eax, eax
je 0x100313c6
xor esi, esi
mov dword [esp + 0x1c], esi
cmp byte [0x1060f26a], 1
jne 0x10031270
dec dword [esi + ecx + 0xc]
jmp 0x100312ab
cmp byte [0x1060f26a], 2
jne 0x100312ab
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov edx, dword [esp + 0x20]
movd xmm1, eax
mov eax, dword [edi]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [esi + eax + 0x10]
addss xmm0, dword [0x1041eef8]
mulss xmm1, dword [0x1041ec58]
comiss xmm1, xmm0
jb 0x100312ab
dec dword [esi + eax + 0xc]
mov edi, dword [edi]
add edi, esi
cmp dword [edi + 0xc], 0
jg 0x1003139e
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea eax, [edi + 0x34]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], eax
cmp eax, ecx
je 0x10031347
lea esi, [edi + 0x5c]
mov eax, dword [eax]
lea ecx, [edi + 0x14]
mov dword [edi], eax
mov eax, dword [esi - 0x24]
mov dword [edi + 4], eax
mov eax, dword [esi - 0x20]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [esi - 0x18]
mov dword [edi + 0x10], eax
lea eax, [esi - 0x14]
cmp ecx, eax
je 0x10031324
call fcn.10019dd0
movups xmm0, xmmword [esi - 0x14]
movups xmmword [edi + 0x14], xmm0
movq xmm0, qword [esi - 4]
movq qword [edi + 0x24], xmm0
mov dword [esi - 4], 0
mov dword [esi], 0xf
mov byte [esi - 0x14], 0
mov al, byte [esi + 4]
mov byte [edi + 0x2c], al
mov eax, dword [esi + 8]
add esi, 0x34
mov dword [edi + 0x30], eax
add edi, 0x34
mov eax, dword [esp + 0x18]
add eax, 0x34
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x40]
jne 0x100312d6
mov edi, dword [esp + 0x38]
mov esi, dword [edi + 4]
mov ecx, dword [esi - 0xc]
cmp ecx, 0x10
jb 0x1003137e
mov eax, dword [esi - 0x20]
inc ecx
cmp ecx, 0x1000
jb 0x10031374
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100313cc
mov eax, edx
push ecx
push eax
call fcn.102bb95a
add esp, 8
mov edx, dword [esp + 0x20]
mov dword [esi - 0x10], 0
mov dword [esi - 0xc], 0xf
mov byte [esi - 0x20], 0
add dword [edi + 4], 0xffffffcc
mov esi, dword [esp + 0x1c]
jmp 0x100313a2
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 4]
inc edx
mov ecx, dword [edi]
add esi, 0x34
sub eax, ecx
mov dword [esp + 0x20], edx
sar eax, 2
imul eax, eax, 0xc4ec4ec5
mov dword [esp + 0x1c], esi
cmp edx, eax
jb 0x10031261
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3