Function at 0x407104
Capabilities:
Hide graphical window
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
call sub.COMCTL32.DLL_InitCommonControls
xor eax, eax
mov dword [0x4530fc], eax
mov dword [ebp - 0x24], 0x2ca0000
push 0
push dword [0x4528e0]
push 0
push 0
push 0x64
push 0x64
push 0x64
push 0x64
push dword [ebp - 0x24]
push 0x452958
push 0x45295f
push 0
call sub.USER32.DLL_CreateWindowExA
cmp dword [0x4528dc], 0
je 0x40786a
push 1
push 0
push 0
push 0xf480a4
call fcn.00402cec
add esp, 0x10
mov dword [0x453e94], eax
cmp dword [0x453e94], 0
jne 0x4071be
mov dword [0x4528d8], 1
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov ax, 1
shl ax, cl
or word [0xf480a4], ax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xa
jl 0x407185
cmp dword [ebp + 0xc], 0
jne 0x4071be
cmp dword [0x453e9c], 0
jne 0x4071be
push 1
call fcn.00419ea4
pop ecx
test eax, eax
jne 0x40785f
cmp byte [0x468d05], 0
jne 0x4071ea
push str.Nicht_genug_Speicher_vorhanden___ld_Bytes_.
push 0x30
push 0
call fcn.00411b5c
add esp, 0xc
push dword [0x4528dc]
call sub.USER32.DLL_DestroyWindow
xor eax, eax
jmp 0x40786c
cmp byte [0x46868c], 0
je 0x407205
push 0x46868c
push 0xf47ca8
call fcn.0044435c
add esp, 8
mov byte [0x46da81], 0
test byte [0xf480a4], 8
jne 0x407227
push 0x4592ab
push 0x46da81
call fcn.00444280
add esp, 8
push str.PROFI_0100S_PSI.pp
push 0x46da81
call fcn.00444280
add esp, 8
test byte [0xf480a4], 0x10
jne 0x407254
push 0x4592c3
push 0x46da81
call fcn.00444280
add esp, 8
push str.PROFI_C_0100S_PSI_T__M.pt
push 0x46da81
call fcn.00444280
add esp, 8
test byte [0xf480a4], 7
jne 0x407281
push 0x4592e2
push 0x46da81
call fcn.00444280
add esp, 8
push str.SECUTEST_SECULIFE.ps
push 0x46da81
call fcn.00444280
add esp, 8
test byte [0xf480a4], 0x40
jne 0x4072ae
push 0x4592fc
push 0x46da81
call fcn.00444280
add esp, 8
push str.MT5_MINITEST.pm
push 0x46da81
call fcn.00444280
add esp, 8
test byte [0xf480a5], 1
jne 0x4072db
push 0x459311
push 0x46da81
call fcn.00444280
add esp, 8
push str.PROFI_204.p2
push 0x46da81
call fcn.00444280
add esp, 8
cmp dword [0x4528d8], 0
jne 0x407347
cmp dword [0x453e94], 0
jne 0x407347
mov dword [0x4528d8], 1
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov ax, 1
shl ax, cl
or word [0xf480a4], ax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xa
jl 0x40730e
cmp dword [ebp + 0xc], 0
jne 0x407347
cmp dword [0x453e9c], 0
jne 0x407347
push 1
call fcn.00419ea4
pop ecx
test eax, eax
jne 0x40785f
mov dword [ebp - 8], 0x4b0
cmp byte [0x4529b8], 0
je 0x407413
push 0x459323
push 0x4529b8
call fcn.004463c0
add esp, 8
mov dword [ebp - 0x28], eax
test eax, eax
je 0x407401
push str.PCDOCW_installed_for:_r_n
push dword [ebp - 0x28]
call fcn.004463ec
add esp, 8
cmp dword [0x4528d8], 0
je 0x4073a3
push str.DEMO_r_n
push dword [ebp - 0x28]
call fcn.004463ec
add esp, 8
jmp 0x4073f8
movzx edx, word [0xf480a4]
push edx
push str.code:__us_r_ndev:_r_n
push dword [ebp - 0x28]
call fcn.004463ec
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov eax, 1
shl eax, cl
movzx edx, word [0xf480a4]
and eax, edx
je 0x4073ef
mov eax, dword [ebp - 4]
push dword [eax*4 + 0x453a34]
push str._s_r_n
push dword [ebp - 0x28]
call fcn.004463ec
add esp, 0xc
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xa
jl 0x4073c0
push dword [ebp - 0x28]
call fcn.00445c04
pop ecx
push dword [0x4528dc]
call sub.USER32.DLL_DestroyWindow
xor eax, eax
jmp 0x40786c
push 0x468d05
push 0x65
lea edx, [ebp - 0xa0]
push edx
push 0x45935c
push str.pmode
push 0x4547d8
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040340c
pop ecx
mov dword [0x4530fc], eax
call fcn.004067fc
push dword [0x4528d8]
push 0x45935d
lea eax, [ebp - 0xa0]
push eax
call fcn.00447d04
add esp, 0xc
push 1
lea edx, [ebp - 0xa0]
push edx
push 0
push 0x459360
push 0x80000002
call fcn.00403474
add esp, 0x14
push 1
lea ecx, [ebp - 0xa0]
push ecx
push 0
push 0x459363
push 0x80000001
call fcn.00403474
add esp, 0x14
test eax, eax
jne 0x4074cc
push 0x459391
push 0x459366
push 0x30
push 0
call fcn.00411b5c
add esp, 0x10
push dword [0x4528dc]
call sub.USER32.DLL_DestroyWindow
xor eax, eax
jmp 0x40786c
cmp dword [0x4530fc], 1
jne 0x407519
mov byte [0x453d88], 0
call fcn.00442090
test eax, eax
jne 0x4074ec
xor eax, eax
jmp 0x40786c
cmp dword [0x452944], 0
je 0x407519
push 0
push sym.PCDOCW.exe__M5LimitsProc_qqsp6HWND__uiuil
push dword [0x4528dc]
push 0x1388
push dword [0x4528e0]
call sub.USER32.DLL_DialogBoxParamA
xor eax, eax
jmp 0x40786c
push 1
push str.INPUT_DATA_TEST
push 0x4547d8
call fcn.004033e0
add esp, 0xc
mov dword [0x4528f4], eax
push 1
push str.MIELE_PROTOCOL_TEST
push 0x4547d8
call fcn.004033e0
add esp, 0xc
mov dword [0x4528f0], eax
push 0
push sym.PCDOCW.exe__MenuProcDlg_qqsp6HWND__uiuil
push dword [0x4528dc]
movzx edx, word [ebp - 8]
push edx
push dword [0x4528e0]
call sub.USER32.DLL_CreateDialogParamA
mov dword [0x452948], eax
mov ecx, dword [0x452948]
mov dword [0x45294c], ecx
cmp dword [0x45294c], 0
jne 0x40758c
mov eax, dword [0x4528dc]
mov dword [0x45294c], eax
push 2
lea edx, [ebp - 0xa0]
push edx
push 0x4593c7
push str.sDecimal
push 0x4593b9
call sub.KERNEL32.DLL_GetProfileStringA
movsx ecx, byte [ebp - 0xa0]
cmp ecx, 0x2c
jne 0x4075be
mov byte [0x4528fc], 0x2c
jmp 0x4075c5
mov byte [0x4528fc], 0x2e
cmp dword [0x452948], 0
je 0x40785f
lea eax, [ebp - 0x38]
push eax
push dword [0x452948]
call sub.USER32.DLL_GetWindowRect
push 1
push dword [ebp - 0x24]
lea edx, [ebp - 0x38]
push edx
call sub.USER32.DLL_AdjustWindowRect
push 0
call sub.USER32.DLL_GetSystemMetrics
mov dword [ebp - 0xc], eax
push 1
call sub.USER32.DLL_GetSystemMetrics
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
sar edx, 1
jns 0x407622
adc edx, 0
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jge 0x407630
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
sar eax, 1
jns 0x40763d
adc eax, 0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x40764b
xor edx, edx
mov dword [ebp - 0x20], edx
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [0x4528dc]
call sub.USER32.DLL_MoveWindow
xor ecx, ecx
mov dword [0x46db54], ecx
cmp dword [0x453e9c], 0
je 0x407691
push 0
push 0x2710
push 0x460
push dword [0x4528dc]
call sub.USER32.DLL_SetTimer
mov dword [0x453e98], eax
cmp byte [0x45fc98], 0
je 0x4076a3
cmp dword [0x45fda0], 1
je 0x4076ac
cmp dword [0x4530fc], 1
jne 0x4076c8
push 0
push 0x4dd
push 0x111
push dword [0x452948]
call sub.USER32.DLL_PostMessageA
jmp 0x407797
cmp byte [0x45fc98], 0
je 0x4076f6
cmp dword [0x45fda0], 2
jne 0x4076f6
push 0
push 0x4df
push 0x111
push dword [0x452948]
call sub.USER32.DLL_PostMessageA
jmp 0x407797
cmp byte [0x45fc98], 0
je 0x407721
cmp dword [0x45fda0], 3
jne 0x407721
push 0
push 0x4e4
push 0x111
push dword [0x452948]
call sub.USER32.DLL_PostMessageA
jmp 0x407797
cmp byte [0x45fc98], 0
je 0x40774c
cmp dword [0x45fda0], 4
jne 0x40774c
push 0
push 0x4d7
push 0x111
push dword [0x452948]
call sub.USER32.DLL_PostMessageA
jmp 0x407797
cmp byte [0x45fc98], 0
je 0x407777
cmp dword [0x45fda0], 5
jne 0x407777
push 0
push 0x4e7
push 0x111
push dword [0x452948]
call sub.USER32.DLL_PostMessageA
jmp 0x407797
cmp byte [0x453d88], 0
je 0x407797
push 0
push 0x4b1
push 0x111
push dword [0x452948]
call sub.USER32.DLL_PostMessageA
cmp byte [0x453d88], 0
jne 0x407858
cmp dword [0x453e9c], 0
jne 0x407858
cmp dword [0x4530fc], 1
je 0x407800
cmp dword [0x46db54], 0
jne 0x407800
push 5
push dword [0x452948]
call sub.USER32.DLL_ShowWindow
push dword [0x452948]
call sub.USER32.DLL_UpdateWindow
push 5
push dword [0x4528dc]
call sub.USER32.DLL_ShowWindow
push dword [0x4528dc]
call sub.USER32.DLL_UpdateWindow
push dword [0x452948]
call sub.USER32.DLL_SetFocus
jmp 0x407858
mov dword [0x4528c4], 1
push 0
call sub.USER32.DLL_GetSystemMetrics
mov dword [ebp - 0xc], eax
push 1
call sub.USER32.DLL_GetSystemMetrics
mov dword [ebp - 0x10], eax
push 2
push dword [0x4528dc]
call sub.USER32.DLL_ShowWindow
push 1
push 0x28
push 0x28
mov eax, dword [ebp - 0x10]
sar eax, 1
jns 0x40783b
adc eax, 0
add eax, 0xffffffec
push eax
mov edx, dword [ebp - 0xc]
sar edx, 1
jns 0x407849
adc edx, 0
add edx, 0xffffffec
push edx
push dword [0x4528dc]
call sub.USER32.DLL_MoveWindow
mov eax, 1
jmp 0x40786c
push dword [0x4528dc]
call sub.USER32.DLL_DestroyWindow
xor eax, eax
mov esp, ebp
pop ebp
ret