Function at 0x50d930
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7e88
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.0042dc00
mov dword [edi + 0x940], eax
call fcn.0044c090
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.00433610
cmp dword [ebp - 0x520], 5
ja 0x50d9d0
mov esi, dword [edi + 0x20]
mov edx, 0xffffffec
mov ecx, esi
call fcn.0050f660
and eax, 0xfff7ffff
mov ecx, esi
push eax
call fcn.0049c740
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 0x50da3d
push eax
lea ecx, [edi + 0xcc]
call fcn.00462050
mov edx, 0x51a65c
lea ecx, [ebp - 0x528]
call fcn.004a7880
mov dword [ebp - 4], 0
lea ecx, [edi + 0xcc]
push dword [eax]
push 0xe9
call fcn.004dd830
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x50da3d
lea ecx, [edi + 0xcc]
call fcn.00450c70
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.0040f150
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 0x50dad2
push eax
lea ecx, [edi + 0x168]
call fcn.00462050
mov edx, 0x51a65c
lea ecx, [ebp - 0x528]
call fcn.004a7880
mov dword [ebp - 4], 1
lea ecx, [edi + 0x168]
push dword [eax]
push 0xea
call fcn.004dd830
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x50dad2
lea ecx, [edi + 0x168]
call fcn.00450c70
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.0040f150
add esp, 0x14
cmp dword [edi + 0x940], 0x64
je 0x50db11
push 0
push dword [edi + 0x16c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x51a670
lea ecx, [ebp - 0x528]
call fcn.004a7880
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 0x50e133
mov dword [esi + 0x80], 0xcd781f
call fcn.00492ad0
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 0x50e141
push 0
push 0x20
push 0
mov dword [esi + 0x100], 1
call dword [sym.imp.mfc140u.dll_CWnd::ModifyStyleEx]
mov ecx, esi
call fcn.00492ad0
push 0
push 0
push 0
push 0
push dword [edi + 0x940]
lea edx, [edi + 0x208]
mov ecx, edi
call fcn.0049da10
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.004a7880
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 0x50e14a
mov dword [esi + 0x80], 0x7f7f80
call fcn.00492ad0
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 0x50e158
push 0
push 0x20
push 0
mov dword [esi + 0x100], 1
call dword [sym.imp.mfc140u.dll_CWnd::ModifyStyleEx]
mov ecx, esi
call fcn.00492ad0
push 0xa
push 0
push 0
push 0
push dword [edi + 0x940]
lea edx, [edi + 0x340]
mov ecx, edi
call fcn.0049da10
add esp, 0x14
lea ecx, [ebp - 0x528]
mov edx, 0x51a6a0
call fcn.004a7880
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 0x50e161
mov dword [esi + 0x80], 0x7f7f80
call fcn.00492ad0
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 0x50e16f
push 0
push 0x20
push 0
mov dword [esi + 0x100], 1
call dword [sym.imp.mfc140u.dll_CWnd::ModifyStyleEx]
mov ecx, esi
call fcn.00492ad0
push 0
push 0
push 0
push 0
push dword [edi + 0x940]
lea edx, [edi + 0x478]
mov ecx, edi
call fcn.0049da10
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.004a7880
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.004de320
push eax
mov ecx, esi
call fcn.0048f4e0
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.00426470
mov edx, 0x51a670
mov dword [edi + 0x644], 0xcd781f
lea ecx, [ebp - 0x528]
mov dword [edi + 0x648], 0xcd781f
mov dword [edi + 0x64c], 0xcd781f
call fcn.004a7880
mov dword [ebp - 4], 6
mov ecx, esi
push dword [eax]
call fcn.00441000
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x2bc
mov ecx, esi
call fcn.004db520
push 0xf9
push 0xf8
push 0xf7
mov ecx, esi
mov dword [edi + 0x660], 0
call fcn.00446be0
push 0
push 0
push 0
push 0
push dword [edi + 0x940]
mov edx, esi
mov ecx, edi
call fcn.0049da10
add esp, 0x14
lea ecx, [ebp - 0x528]
mov edx, 0x51add0
call fcn.004a7880
push 0x200
lea edx, [ebp - 0x410]
mov dword [ebp - 4], 7
push edx
push dword [eax]
mov ecx, 0x56d704
call fcn.004de320
push eax
lea ecx, [edi + 0x778]
call fcn.0048f4e0
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.004a7880
mov dword [ebp - 0x52c], eax
mov dword [ebp - 4], 8
mov esi, dword [0x56d744]
cmp esi, dword [0x56d710]
jge 0x50dfd5
cmp esi, 0xffffffff
jle 0x50dfd5
mov eax, dword [0x56d704]
mov esi, dword [eax + esi*4]
jmp 0x50dff3
mov edx, 0x525c20
lea ecx, [ebp - 0x528]
call fcn.004a7880
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 0x50e026
test cx, cx
je 0x50e022
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x50e026
add eax, 4
add esi, 4
test cx, cx
jne 0x50e000
xor esi, esi
jmp 0x50e02b
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 0x50e05c
mulss xmm0, dword [0x536ee4]
jmp 0x50e064
mulss xmm0, dword [0x536ee8]
cvttss2si eax, xmm0
push eax
call fcn.00426470
mov edx, 0x51a670
mov dword [edi + 0x80c], 0xcd781f
lea ecx, [ebp - 0x52c]
mov dword [edi + 0x810], 0xcd781f
mov dword [edi + 0x814], 0xcd781f
call fcn.004a7880
mov dword [ebp - 4], 9
mov ecx, esi
push dword [eax]
call fcn.00441000
lea ecx, [ebp - 0x52c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x2bc
mov ecx, esi
call fcn.004db520
push 0xfd
push 0xfc
push 0xfb
mov ecx, esi
mov dword [edi + 0x828], 0
call fcn.00446be0
push 0xa
push 0
push 0xa
push 0
push dword [edi + 0x940]
mov edx, esi
mov ecx, edi
call fcn.0049da10
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.00489916
mov esp, ebp
pop ebp
ret
push 0xcd781f
call edx
mov esi, eax
jmp 0x50dbaa
push 1
call eax
jmp 0x50dbf1
push 0x7f7f80
call edx
mov esi, eax
jmp 0x50dcb6
push 1
call eax
jmp 0x50dcfd
push 0x7f7f80
call edx
mov esi, eax
jmp 0x50ddb4
push 1
call eax
jmp 0x50ddfb