Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x50], edi
push ebx
pop dword [0x41786c]
mov ebx, dword [ebp + 0x10]
mov dword [0x417850], ebx
mov ebx, dword [0x41786c]
mov eax, dword [0x41786c]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x414000]
addsd xmm0, qword [0x413fb8]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
movss dword [esp + 0x44], xmm1
lahf
test ah, 0x44
jp 0x401089
push dword [esp + 0x44]
push str.It_is_message_for_print
push str.It_is_func_for_print
push 0
call esi
movss xmm1, dword [esp + 0x44]
cvtps2pd xmm0, xmm1
mulsd xmm0, qword [0x413fc0]
addsd xmm0, qword [0x413fd0]
cvtpd2ps xmm1, xmm0
addss xmm1, dword [0x413ff0]
ucomiss xmm1, dword [0x413fa8]
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x48], xmm1
lahf
test ah, 0x44
jp 0x4010d9
push dword [esp + 0x48]
push str.It_is_message_for_print
push str.It_is_func_for_print
push 0
call esi
movss xmm1, dword [esp + 0x44]
cvtps2pd xmm0, xmm1
push 0x64
push 0x417788
push 0x67
push edi
mulsd xmm0, qword [0x413fc0]
addsd xmm0, qword [0x413fd0]
cvtpd2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esp + 0x54], xmm1
call dword [sym.imp.USER32.dll_LoadStringW]
movss xmm0, dword [esp + 0x44]
divss xmm0, dword [0x413fd8]
ucomiss xmm0, dword [0x413fa8]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x48], xmm0
lahf
test ah, 0x44
jp 0x401149
push dword [esp + 0x48]
push str.It_is_message_for_print
push str.It_is_func_for_print
push 0
call esi
movss xmm0, dword [esp + 0x4c]
mov eax, dword [0x417850]
xor ecx, ecx
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x413fc0]
addsd xmm0, qword [0x413fd0]
mov word [eax + 0x10], cx
mov eax, dword [0x417850]
cvtpd2ps xmm0, xmm0
cmp word [eax], 0x22
addss xmm0, dword [esp + 0x44]
mov dword [esp + 0x44], eax
movss dword [esp + 0x48], xmm0
je 0x4011a2
nop word [eax + eax]
sub eax, 2
mov dword [0x417850], eax
cmp word [eax], 0x22
jne 0x401190
mov dword [esp + 0x44], eax
lea ebx, [eax - 0x12]
mov dword [0x417850], ebx
movzx eax, word [ebx]
cdq
mov ecx, eax
mov esi, edx
movzx eax, word [ebx + 2]
mov dword [esp + 0x14], ecx
cdq
mov dword [esp + 0x24], esi
mov edi, edx
shld esi, ecx, 0xc
shl ecx, 0xc
add eax, ecx
mov dword [esp + 0x4c], eax
movzx eax, word [ebx + 4]
adc edi, esi
mov ecx, dword [esp + 0x4c]
mov esi, edi
shld esi, ecx, 0xc
cdq
shl ecx, 0xc
mov ebx, edx
mov dword [esp + 0x20], edi
mov edi, eax
mov eax, dword [esp + 0x44]
add edi, ecx
mov ecx, edi
mov dword [esp + 0x1c], edi
adc ebx, esi
mov esi, ebx
mov dword [esp + 0x18], ebx
movzx eax, word [eax - 0xc]
shld esi, ecx, 0xc
cdq
shl ecx, 0xc
mov ebx, eax
mov eax, dword [esp + 0x44]
add ebx, ecx
mov edi, edx
mov ecx, ebx
adc edi, esi
mov esi, edi
movzx eax, word [eax - 0xa]
shld esi, ecx, 0xc
cdq
shl ecx, 0xc
add eax, ecx
push edi
push ebx
adc edx, esi
push edx
push eax
call fcn.0040da30
push dword [esp + 0x18]
push dword [esp + 0x20]
push edx
push eax
call fcn.0040da30
push dword [esp + 0x20]
push dword [esp + 0x50]
push edx
push eax
call fcn.0040da30
push dword [esp + 0x24]
push dword [esp + 0x18]
push edx
push eax
call fcn.0040da30
mov esi, eax
mov ecx, edx
shld ecx, esi, 4
shl esi, 4
add esi, eax
adc ecx, edx
shld ecx, esi, 2
push ecx
shl esi, 2
push esi
push ecx
push esi
call fcn.0040da30
movss xmm1, dword [esp + 0x48]
add eax, 0x3651147
cvtps2pd xmm1, xmm1
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
adc edx, 0
mov dword [0x417870], eax
mov dword [0x417874], edx
mulsd xmm1, qword [str.33333]
addsd xmm1, qword [str.33333]
cvtpd2ps xmm0, xmm1
ucomiss xmm0, dword [0x413fa8]
movss dword [esp + 0x4c], xmm0
lahf
test ah, 0x44
jp 0x4012e1
push dword [esp + 0x4c]
push str.It_is_message_for_print
push str.It_is_func_for_print
push 0
call ebx
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
mov esi, dword [esp + 0x50]
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x4176a8
push 0x6d
push esi
mulsd xmm0, qword [0x413fc0]
addsd xmm0, qword [0x413fd0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [esp + 0x58]
cvtps2pd xmm0, xmm0
subsd xmm0, qword [0x413fc8]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x58], xmm0
call edi
mov eax, dword [0x417870]
mov ecx, esi
mov dword [0x4176a4], eax
mov byte [esp + 0x13], 1
call fcn.0040dee0
mov eax, dword [0x417874]
mov dword [0x416944], eax
sub dword [0x416944], 0xdca39772
setne byte [esp + 0x13]
movss xmm1, dword [esp + 0x48]
movaps xmm0, xmm1
mulss xmm0, xmm1
ucomiss xmm0, dword [0x413fa8]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x50], xmm0
lahf
test ah, 0x44
jp 0x40139c
push dword [esp + 0x50]
push str.It_is_message_for_print
push str.It_is_func_for_print
push 0
call ebx
movss xmm1, dword [esp + 0x48]
movss xmm0, dword [esp + 0x14]
cvtps2pd xmm0, xmm0
push 0x64
push 0x417788
push 0x67
push esi
mulsd xmm0, qword [0x413fc0]
addsd xmm0, qword [0x413fd0]
cvtpd2ps xmm0, xmm0
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x413fc8]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
call edi
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x413fec]
push 0x64
push 0x417788
push 0x67
push esi
movss dword [esp + 0x54], xmm0
call edi
mov ecx, esi
call fcn.0040dee0
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [str._5]
jbe 0x401422
push 0
push str.P7Q_r6_Ogg1_D
push str.value_greater_than_controlValue
push 0
call ebx
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x417788
push 0x4176a8
push 0
mov dword [0x4176a0], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x417770], eax
test eax, eax
jne 0x401481
push eax
push 0x416989
push str.Write_your_notes_here
push eax
call ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004015a8
mov esp, ebp
pop ebp
ret 0x10
movzx eax, byte [esp + 0x13]
push dword [eax*4 + 0x413fa0]
push 1
push 0x1e
push 0x4168c0
call fcn.00404570
add esp, 0x10
push 0
push 0x4168f2
push str.Text_should_be_here
push 0
call ebx
push dword [ebp + 0x14]
push dword [0x417770]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x417770]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x30]
push 0
push eax
call esi
test eax, eax
je 0x401534
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [esp + 0x50]
lea eax, [esp + 0x28]
push eax
push ebx
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x40151d
lea eax, [esp + 0x28]
push eax
call edi
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call esi
test eax, eax
jne 0x4014f7
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
movss xmm0, dword [esp + 0x44]
mulss xmm0, dword [0x413fe8]
ucomiss xmm0, dword [0x413fa8]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x50], xmm0
lahf
test ah, 0x44
jp 0x401573
push dword [esp + 0x50]
push str.It_is_message_for_print
push str.It_is_func_for_print
push 0
call ebx
movss xmm0, dword [esp + 0x14]
cvtps2pd xmm0, xmm0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
mulsd xmm0, qword [0x413fc0]
addsd xmm0, qword [0x413fd0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [esp + 0x38]
cvttss2si eax, xmm0
call fcn.004015a8
mov esp, ebp
pop ebp
ret 0x10