Function at 0x40ed00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f34f8
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x55b090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.mfc140u.dll_CDialog::OnInitDialog]
call fcn.004badc0
mov dword [edi + 0x940], eax
call fcn.00505940
push 0x110
lea eax, [ebp - 0x520]
movss dword [edi + 0x944], xmm0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x524], 0x114
lea ecx, [ebp - 0x524]
call fcn.004b7e60
cmp dword [ebp - 0x520], 5
ja 0x40eda0
mov esi, dword [edi + 0x20]
mov edx, 0xffffffec
mov ecx, esi
call fcn.004562e0
and eax, 0xfff7ffff
mov ecx, esi
push eax
call fcn.004cb760
add esp, 4
push 0x134
mov ecx, edi
call dword [sym.imp.mfc140u.dll_CWnd::GetDlgItem]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40ee0d
push eax
lea ecx, [edi + 0xcc]
call fcn.00465380
mov edx, 0x51a65c
lea ecx, [ebp - 0x528]
call fcn.004d3680
mov dword [ebp - 4], 0
lea ecx, [edi + 0xcc]
push dword [eax]
push 0xe9
call fcn.005007f0
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x40ee0d
lea ecx, [edi + 0xcc]
call fcn.004a29c0
push 0
push ecx
lea edx, [edi + 0xcc]
neg edx
lea eax, [edi + 0xd0]
push 0
push ecx
push dword [edi + 0x940]
sbb edx, edx
mov ecx, edi
and edx, eax
call fcn.004c9ec0
add esp, 0x14
mov ecx, edi
push 0x136
call dword [sym.imp.mfc140u.dll_CWnd::GetDlgItem]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40eea2
push eax
lea ecx, [edi + 0x168]
call fcn.00465380
mov edx, 0x51a65c
lea ecx, [ebp - 0x528]
call fcn.004d3680
mov dword [ebp - 4], 1
lea ecx, [edi + 0x168]
push dword [eax]
push 0xea
call fcn.005007f0
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x40eea2
lea ecx, [edi + 0x168]
call fcn.004a29c0
push 0
push ecx
lea edx, [edi + 0x168]
neg edx
lea eax, [edi + 0x16c]
push 0
push ecx
push dword [edi + 0x940]
sbb edx, edx
mov ecx, edi
and edx, eax
call fcn.004c9ec0
add esp, 0x14
cmp dword [edi + 0x940], 0x64
je 0x40eee1
push 0
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x51a670
lea ecx, [ebp - 0x528]
call fcn.004d3680
push 0x64
mov dword [ebp - 4], 2
lea ecx, [edi + 0x208]
push eax
mov eax, dword [edi + 0x208]
call dword [eax + 0x18c]
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
movss xmm0, dword [edi + 0x944]
lea ecx, [edi + 0x208]
mulss xmm0, dword [0x536f08]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x536e80]
cvttsd2si eax, xmm0
push eax
mov eax, dword [edi + 0x208]
mov eax, dword [eax + 0x198]
call eax
mov esi, eax
mov ecx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x178]
cmp eax, vtable.CLabel.0
jne 0x40f503
mov dword [esi + 0x80], 0xcd781f
call fcn.00416fd0
mov ecx, dword [esi]
push 0
push 0
push 0
mov edx, dword [ecx + 0x174]
mov ecx, esi
call edx
mov esi, eax
mov ecx, dword [esi]
cmp ecx, vtable.CLabel.0
mov eax, dword [ecx + 0x1a4]
mov ecx, esi
jne 0x40f511
push 0
push 0x20
push 0
mov dword [esi + 0x100], 1
call dword [sym.imp.mfc140u.dll_CWnd::ModifyStyleEx]
mov ecx, esi
call fcn.00416fd0
push 0
push 0
push 0
push 0
push dword [edi + 0x940]
lea edx, [edi + 0x208]
mov ecx, edi
call fcn.00422390
add esp, 0x14
lea ecx, [edi + 0x208]
push 0
call dword [sym.imp.mfc140u.dll_CWnd::ShowWindow]
mov edx, 0x51a6a0
lea ecx, [ebp - 0x528]
call fcn.004d3680
push 0x64
mov dword [ebp - 4], 3
lea ecx, [edi + 0x340]
push eax
mov eax, dword [edi + 0x340]
call dword [eax + 0x18c]
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
movss xmm0, dword [edi + 0x944]
lea ecx, [edi + 0x340]
mulss xmm0, dword [0x536ee4]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x536e80]
cvttsd2si eax, xmm0
push eax
mov eax, dword [edi + 0x340]
mov eax, dword [eax + 0x198]
call eax
mov esi, eax
mov ecx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x178]
cmp eax, vtable.CLabel.0
jne 0x40f51a
mov dword [esi + 0x80], 0x7f7f80
call fcn.00416fd0
mov ecx, dword [esi]
push 0
push 0
push 0
mov edx, dword [ecx + 0x174]
mov ecx, esi
call edx
mov esi, eax
mov ecx, dword [esi]
cmp ecx, vtable.CLabel.0
mov eax, dword [ecx + 0x1a4]
mov ecx, esi
jne 0x40f528
push 0
push 0x20
push 0
mov dword [esi + 0x100], 1
call dword [sym.imp.mfc140u.dll_CWnd::ModifyStyleEx]
mov ecx, esi
call fcn.00416fd0
push 0xa
push 0
push 0
push 0
push dword [edi + 0x940]
lea edx, [edi + 0x340]
mov ecx, edi
call fcn.00422390
add esp, 0x14
lea ecx, [ebp - 0x528]
mov edx, 0x51a6a0
call fcn.004d3680
push 0x64
mov dword [ebp - 4], 4
lea ecx, [edi + 0x478]
push eax
mov eax, dword [edi + 0x478]
call dword [eax + 0x18c]
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
movss xmm0, dword [edi + 0x944]
lea ecx, [edi + 0x478]
mulss xmm0, dword [0x536ee4]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x536e80]
cvttsd2si eax, xmm0
push eax
mov eax, dword [edi + 0x478]
mov eax, dword [eax + 0x198]
call eax
mov esi, eax
mov ecx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x178]
cmp eax, vtable.CLabel.0
jne 0x40f531
mov dword [esi + 0x80], 0x7f7f80
call fcn.00416fd0
mov ecx, dword [esi]
push 0
push 0
push 0
mov edx, dword [ecx + 0x174]
mov ecx, esi
call edx
mov esi, eax
mov ecx, dword [esi]
cmp ecx, vtable.CLabel.0
mov eax, dword [ecx + 0x1a4]
mov ecx, esi
jne 0x40f53f
push 0
push 0x20
push 0
mov dword [esi + 0x100], 1
call dword [sym.imp.mfc140u.dll_CWnd::ModifyStyleEx]
mov ecx, esi
call fcn.00416fd0
push 0
push 0
push 0
push 0
push dword [edi + 0x940]
lea edx, [edi + 0x478]
mov ecx, edi
call fcn.00422390
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x20
lea ecx, [ebp - 0x528]
mov edx, 0x51adb0
call fcn.004d3680
push 0x200
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 5
push ecx
push dword [eax]
mov ecx, 0x56d704
lea esi, [edi + 0x5b0]
call fcn.005099e0
push eax
mov ecx, esi
call fcn.00512150
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
movss xmm0, dword [edi + 0x944]
mov ecx, esi
mulss xmm0, dword [0x536ee8]
mov dword [edi + 0x634], 0x25
mov dword [edi + 0x638], 0x19
cvttss2si eax, xmm0
push eax
call fcn.00404680
mov edx, 0x51a670
mov dword [edi + 0x644], 0xcd781f
lea ecx, [ebp - 0x528]
mov dword [edi + 0x648], 0xcd781f
mov dword [edi + 0x64c], 0xcd781f
call fcn.004d3680
mov dword [ebp - 4], 6
mov ecx, esi
push dword [eax]
call fcn.0042e7d0
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x2bc
mov ecx, esi
call fcn.004d6c90
push 0xf9
push 0xf8
push 0xf7
mov ecx, esi
mov dword [edi + 0x660], 0
call fcn.004a42d0
push 0
push 0
push 0
push 0
push dword [edi + 0x940]
mov edx, esi
mov ecx, edi
call fcn.00422390
add esp, 0x14
lea ecx, [ebp - 0x528]
mov edx, 0x51add0
call fcn.004d3680
push 0x200
lea edx, [ebp - 0x410]
mov dword [ebp - 4], 7
push edx
push dword [eax]
mov ecx, 0x56d704
call fcn.005099e0
push eax
lea ecx, [edi + 0x778]
call fcn.00512150
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, 0x51a990
mov dword [edi + 0x7fc], 0x25
lea ecx, [ebp - 0x530]
call fcn.004d3680
mov dword [ebp - 0x52c], eax
mov dword [ebp - 4], 8
mov esi, dword [0x56d744]
cmp esi, dword [0x56d710]
jge 0x40f3a5
cmp esi, 0xffffffff
jle 0x40f3a5
mov eax, dword [0x56d704]
mov esi, dword [eax + esi*4]
jmp 0x40f3c3
mov edx, 0x525c20
lea ecx, [ebp - 0x528]
call fcn.004d3680
lea ecx, [ebp - 0x528]
mov esi, dword [eax]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x52c]
mov eax, dword [eax]
nop dword [eax + eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x40f3f6
test cx, cx
je 0x40f3f2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x40f3f6
add eax, 4
add esi, 4
test cx, cx
jne 0x40f3d0
xor esi, esi
jmp 0x40f3fb
sbb esi, esi
or esi, 1
lea ecx, [ebp - 0x530]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
movss xmm0, dword [edi + 0x944]
test esi, esi
lea esi, [edi + 0x778]
mov ecx, esi
jne 0x40f42c
mulss xmm0, dword [0x536ee4]
jmp 0x40f434
mulss xmm0, dword [0x536ee8]
cvttss2si eax, xmm0
push eax
call fcn.00404680
mov edx, 0x51a670
mov dword [edi + 0x80c], 0xcd781f
lea ecx, [ebp - 0x52c]
mov dword [edi + 0x810], 0xcd781f
mov dword [edi + 0x814], 0xcd781f
call fcn.004d3680
mov dword [ebp - 4], 9
mov ecx, esi
push dword [eax]
call fcn.0042e7d0
lea ecx, [ebp - 0x52c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x2bc
mov ecx, esi
call fcn.004d6c90
push 0xfd
push 0xfc
push 0xfb
mov ecx, esi
mov dword [edi + 0x828], 0
call fcn.004a42d0
push 0xa
push 0
push 0xa
push 0
push dword [edi + 0x940]
mov edx, esi
mov ecx, edi
call fcn.00422390
add esp, 0x14
lea ecx, [edi + 0x208]
push 5
call dword [sym.imp.mfc140u.dll_CWnd::ShowWindow]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cc46
mov esp, ebp
pop ebp
ret
push 0xcd781f
call edx
mov esi, eax
jmp 0x40ef7a
push 1
call eax
jmp 0x40efc1
push 0x7f7f80
call edx
mov esi, eax
jmp 0x40f086
push 1
call eax
jmp 0x40f0cd
push 0x7f7f80
call edx
mov esi, eax
jmp 0x40f184
push 1
call eax
jmp 0x40f1cb