Function at 0x406060
Capabilities:
Get geographical location
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98c
mov eax, dword [0x441384]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x894], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x46aea8
call fcn.00404690
cmp dword [ebp - 0x20], 1
jne 0x4060e0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00406f90
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x4060d5
jmp 0x406f28
mov eax, dword [ebp - 8]
mov dword [ebp - 0x824], eax
jmp 0x4060e9
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x824], ecx
mov edx, dword [ebp - 0x824]
push edx
push 0x64
push 0x46a610
push 0x43992f
push str.vhld_reg_path
push 0x439958
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0x64
push 0x46a678
push 0x43993b
push str.installer_reg_path
push 0x43997c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 0x64
push 0x46a6e0
push 0x439947
push str.client_reg_path
push 0x43999c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x824]
push edx
push 0x64
push 0x46a748
push 0x439956
push str.host_ip_url
push 0x4399b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0x64
push 0x46a7b0
push 0x439957
push str.program_def_zip
push 0x4399d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 0
push str.bg_red
push 0x4399f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x89c], eax
mov edx, dword [ebp - 0x824]
push edx
push 0
push str.bg_green
push 0x439a0c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x898], eax
mov eax, dword [ebp - 0x824]
push eax
push 0
push str.bg_blue
push str.BRAND_CONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x8a0], eax
movzx ecx, byte [ebp - 0x89c]
movzx edx, byte [ebp - 0x898]
shl edx, 8
or ecx, edx
movzx eax, byte [ebp - 0x8a0]
shl eax, 0x10
or ecx, eax
mov dword [0x46a674], ecx
mov ecx, dword [ebp - 0x824]
push ecx
push 0x64
push str.666666666666666
push str.666666666666666666
push 0x439a48
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x824]
push edx
push 0x64
push str.999999999999999
push str.999999999999999999
push 0x439a6c
push str.SERIAL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0x80
push str.Application_Download_Wizard
push 0x439a7c
push 0x439a98
push str.TITLE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 0x64
lea edx, [ebp - 0x820]
push edx
push str.installer.gif
push str.gif_value
push 0x439ab4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x820]
push eax
push 0x64
push str.installer.gif
call fcn.00413573
add esp, 0xc
mov ecx, dword [ebp - 0x824]
push ecx
push 0x64
lea edx, [ebp - 0x820]
push edx
push str.text.txt
push str.text_value
push 0x439acc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x820]
push eax
push 0x64
push str.text.txt
call fcn.00413573
add esp, 0xc
mov ecx, dword [ebp - 0x824]
push ecx
push 0x64
lea edx, [ebp - 0x820]
push edx
push 0x46a9b8
push str.setup_value
push 0x439ae4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x820]
push eax
push 0x64
push 0x46a9b8
call fcn.00413573
add esp, 0xc
push 0x64
push 0x442e10
call fcn.0040ee80
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x406379
mov ecx, dword [ebp - 0x824]
push ecx
push 0x64
push 0x442e10
push str.0.00
push str.installer_value
push str.VERSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x824]
push edx
push 0x400
push 0x46aa20
push 0x439965
push 0x439b10
push 0x439b18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0x800
push 0x469020
push str.http:__reportinstaller.random_logic.com_logs.asp
push 0x439b58
push str.HTTP_REPORT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 0x800
push 0x4686e8
push 0x439966
push 0x439b6c
push str.PIXEL_TRACKING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
call fcn.00406f70
add esp, 4
push eax
call fcn.00414510
add esp, 4
call fcn.0041451d
cdq
mov ecx, 0x64
idiv ecx
add edx, 1
mov dword [ebp - 0x894], edx
mov edx, dword [ebp - 0x824]
push edx
push 0
push 0x439b84
push 0x439b8c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jbe 0x40644f
push str.FILES_URL_NO_TEST
push 0x800
lea eax, [ebp - 0x820]
push eax
call fcn.00413573
add esp, 0xc
jmp 0x40659a
mov ecx, dword [ebp - 0x824]
push ecx
push 3
push str.number_of_serials
push 0x439bc8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004131d6
add esp, 4
mov dword [ebp - 0x988], eax
mov eax, dword [ebp - 0x988]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4064a8
mov dword [ebp - 4], 2
jmp 0x406f28
mov ecx, dword [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.00413a50
add esp, 0xc
mov dword [ebp - 0x8a8], 0
jmp 0x4064d5
mov eax, dword [ebp - 0x8a8]
add eax, 1
mov dword [ebp - 0x8a8], eax
mov ecx, dword [ebp - 0x8a8]
cmp ecx, dword [ebp - 0x20]
jae 0x40659a
mov edx, dword [ebp - 0x8a8]
add edx, 1
push edx
push str.value_precent_for_serial__d
push 0x800
lea eax, [ebp - 0x820]
push eax
call fcn.00413e53
add esp, 0x10
mov ecx, dword [ebp - 0x824]
push ecx
push 0x64
lea edx, [ebp - 0x820]
push edx
push str.USER_DYNAMIC_CHOICE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x8a8]
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
cmp dword [ebp - 0x8a8], 0
je 0x40655c
mov eax, dword [ebp - 0x8a8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x8a8]
mov ecx, dword [ebp - 0xc]
add edx, dword [ecx + eax*4 - 4]
mov eax, dword [ebp - 0x8a8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
mov edx, dword [ebp - 0x8a8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x894]
cmp ecx, dword [eax + edx*4]
ja 0x406595
mov edx, dword [ebp - 0x8a8]
add edx, 1
push edx
push str.FILES_URL__d
push 0x800
lea eax, [ebp - 0x820]
push eax
call fcn.00413e53
add esp, 0x10
jmp 0x40659a
jmp 0x4064c6
mov ecx, dword [ebp - 0x824]
push ecx
push 0
push 0x439c1c
lea edx, [ebp - 0x820]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x46901c], eax
cmp dword [0x46901c], 0
je 0x406653
mov dword [ebp - 0x8ac], 0
jmp 0x4065e2
mov eax, dword [ebp - 0x8ac]
add eax, 1
mov dword [ebp - 0x8ac], eax
mov ecx, dword [ebp - 0x8ac]
cmp ecx, dword [0x46901c]
jge 0x406651
mov edx, dword [ebp - 0x8ac]
add edx, 1
push edx
push str.value_d
push 0x64
lea eax, [ebp - 0x890]
push eax
call fcn.00413e53
add esp, 0x10
mov ecx, dword [ebp - 0x824]
push ecx
push 0x800
mov edx, dword [ebp - 0x8ac]
shl edx, 0xb
add edx, 0x457130
push edx
mov eax, dword [ebp - 0x8ac]
shl eax, 0xb
add eax, 0x457130
push eax
lea ecx, [ebp - 0x890]
push ecx
lea edx, [ebp - 0x820]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x4065d3
jmp 0x406683
mov dword [0x46901c], 1
mov eax, dword [ebp - 0x824]
push eax
push 0x800
push 0x457130
push 0x439967
push 0x439c30
push str.DEFAULT_URL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 0xa
lea edx, [ebp - 0x1c]
push edx
push 0x439c44
push str.testver
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 5
push 0x439c50
push str.CANCEL_SECONDS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x456700], eax
mov edx, dword [ebp - 0x824]
push edx
push 0x64
push 0x468650
push 0x43997b
push 0x439c68
push 0x439c70
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0x64
push 0x468ee8
push 0x439989
push str.value_default
push str.IDISP_LINK
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 0
push 0x439c98
push str.IDISP_MODE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x456d64], eax
mov edx, dword [ebp - 0x824]
push edx
push 0
push 0x439cac
push str.BRAND_ID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x456714], eax
mov eax, dword [ebp - 0x824]
push eax
push 0
push 0x439cc0
push 0x439cc8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x456718], ax
mov ecx, dword [ebp - 0x824]
push ecx
push 0xa
push 0x442e74
push 0x439cd4
push str.lang_name
push str.LANGUAGE_ID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x824]
push edx
push 0x32
push 0x469820
push str.Downloading
push str.value_downloading
push 0x439d10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0x32
push 0x457090
push str.Transfer_rate:
push str.value_download_rate
push 0x439d44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 0x32
push 0x46861c
push str.Estimated_time_left:
push str.value_time_left
push 0x439d7c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x824]
push edx
push 0x32
push 0x4686b4
push str.Completed
push str.value_completed
push 0x439da8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0x32
push 0x468fa0
push 0x439db8
push str.value_button_cancel
push 0x439dd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 0x32
push 0x46a504
push str.Continue
push str.value_button_continue
push 0x439e08
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x824]
push edx
push 0x32
push 0x45e944
push str.Do_you_want_to_continue_downloading_
push str.value_msg_cancel
push 0x439e54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0x100
push 0x46a200
push str.Failed_to_connect_to_the_Internet.__Please_check_your_connection_and_firewall_access_rules_and_try_again.__Clicking__OK__will_terminate_the_process.
push str.value_connect_fail
push 0x439f14
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x46a200
call fcn.00403940
add esp, 4
mov ecx, dword [ebp - 0x824]
push ecx
push 0x100
push 0x46a300
push str.Installation_failed.__Please_try_again_or_contact_our_support.__Clicking__OK__will_terminate_the_process.
push str.value_install_fail
push 0x439fa8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x46a300
call fcn.00403940
add esp, 4
push 0x14
push 0
push 0x46a594
call fcn.00413a50
add esp, 0xc
mov edx, dword [ebp - 0x824]
push edx
push 0x14
push 0x46a594
push 0x43998a
push str.value_offline_be_bigger
push str.CONTROL_TEXTS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0x64
push 0x46a818
push 0x43998b
push str.real_username
push 0x439ff0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 0x64
push 0x46a880
push 0x4399a9
push str.orig_cid
push 0x43a008
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x824]
push edx
push 0x64
push 0x46a8e8
push 0x4399aa
push 0x43a014
push 0x43a018
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0xffffffffffffffff
push str.CountryID
push 0x43a030
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x44007c], eax
mov ecx, dword [ebp - 0x824]
push ecx
push 0xffffffffffffffff
push str.CountryF
push 0x43a048
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x4400e4], eax
mov edx, dword [ebp - 0x824]
push edx
push 0x64
push 0x46a950
push 0x4399ab
push str.user_regkey
push 0x43a060
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0
push str.overwrite_regkey
push str.USER_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x46a60c], eax
mov ecx, dword [ebp - 0x824]
push ecx
push 0x64
push str.111111111111111
push 0x43a08c
push 0x43a090
push 0x43a098
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x824]
push edx
push 0x800
lea eax, [ebp - 0x820]
push eax
push 0x43a09c
push 0x43a0a0
push str.TEST_DATA
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.111111111111111
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x820]
push edx
push str._s_testver_s_ic_s
push 0x800
push 0x4400e8
call fcn.00413e53
add esp, 0x18
push 0x442e08
push 0x43a0c8
push 0
push 0x46a6e0
push 0x80000001
call fcn.0040c810
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x406abd
mov eax, dword [ebp - 0x824]
push eax
push 1
push 0x43a0cc
push 0x43a0d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x442e08], ax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x824]
push ecx
push 0xa
push 0x43a0d8
push str.MIN_DISP_TIME_SECONDS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x469994], ax
movzx edx, word [0x469994]
cmp edx, 0xa
jge 0x406af1
mov word [0x469994], 0xa
mov eax, dword [ebp - 0x824]
push eax
push 0
push 0x43a0f8
push 0x43a100
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x468f4c], ax
mov ecx, dword [ebp - 0x824]
push ecx
push 1
push str.unknownUser
push 0x43a110
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x8a4], eax
cmp dword [ebp - 0x8a4], 0
je 0x406b4c
cmp dword [ebp - 0x8a4], 0
je 0x406b67
movzx edx, word [0x468f4c]
test edx, edx
jne 0x406b67
mov word [0x468f4c], 0
mov eax, dword [0x45e938]
and eax, 0xffffffbf
mov dword [0x45e938], eax
jmp 0x406f28
movzx ecx, word [0x468f4c]
push ecx
push str.Campaign_d
push 0x800
lea edx, [ebp - 0x820]
push edx
call fcn.00413e53
add esp, 0x10
mov eax, dword [ebp - 0x824]
push eax
push 0
push 0x43a120
lea ecx, [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x468f4c], ax
movzx edx, word [0x468f4c]
test edx, edx
jne 0x406bc6
mov eax, dword [0x45e938]
and eax, 0xffffffbf
mov dword [0x45e938], eax
jmp 0x406f28
mov word [ebp - 0x8b0], 0
jmp 0x406be3
mov cx, word [ebp - 0x8b0]
add cx, 1
mov word [ebp - 0x8b0], cx
movzx edx, word [ebp - 0x8b0]
movzx eax, word [0x468f4c]
cmp edx, eax
jge 0x406e15
movzx ecx, word [ebp - 0x8b0]
add ecx, 1
push ecx
push str.group_d
push 0x64
lea edx, [ebp - 0x890]
push edx
call fcn.00413e53
add esp, 0x10
mov eax, dword [ebp - 0x824]
push eax
push 0x32
lea ecx, [ebp - 0x980]
push ecx
push 0x4399c5
lea edx, [ebp - 0x890]
push edx
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x890]
push ecx
call fcn.00413460
add esp, 4
test eax, eax
je 0x406c88
movzx edx, word [ebp - 0x8b0]
imul edx, edx, 0x64
add edx, 0x456720
push edx
movzx eax, word [ebp - 0x8b0]
imul eax, eax, 0x32
add eax, 0x456d68
push eax
lea ecx, [ebp - 0x980]
push ecx
call fcn.00405900
add esp, 0xc
jmp 0x406ca6
push 0x43a130
movzx edx, word [ebp - 0x8b0]
imul edx, edx, 0x64
add edx, 0x456720
push edx
call fcn.00413360
add esp, 8
movzx eax, word [ebp - 0x8b0]
imul eax, eax, 0x64
add eax, 0x456720
push eax
push str.gr_s
push 0x64
lea ecx, [ebp - 0x980]
push ecx
call fcn.00413e53
add esp, 0x10
mov edx, dword [ebp - 0x824]
push edx
push 0
push str.number
lea eax, [ebp - 0x980]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
movzx ecx, word [ebp - 0x8b0]
mov word [ecx*2 + 0x46a1dc], ax
movzx edx, word [ebp - 0x8b0]
movzx eax, word [edx*2 + 0x46a1dc]
test eax, eax
je 0x406e10
mov dword [ebp - 0x984], 0
jmp 0x406d28
mov ecx, dword [ebp - 0x984]
add ecx, 1
mov dword [ebp - 0x984], ecx
movzx edx, word [ebp - 0x8b0]
movzx eax, word [edx*2 + 0x46a1dc]
cmp dword [ebp - 0x984], eax
je 0x406e10
mov ecx, dword [ebp - 0x984]
add ecx, 1
push ecx
push str.opt_d
push 0x64
lea edx, [ebp - 0x890]
push edx
call fcn.00413e53
add esp, 0x10
mov eax, dword [ebp - 0x824]
push eax
push 0x32
lea ecx, [ebp - 0x918]
push ecx
push 0x4399c6
lea edx, [ebp - 0x890]
push edx
lea eax, [ebp - 0x980]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x890]
push ecx
call fcn.00413460
add esp, 4
test eax, eax
je 0x406dec
movzx edx, word [ebp - 0x8b0]
imul edx, edx, 0x1388
mov eax, dword [ebp - 0x984]
imul eax, eax, 0x64
lea ecx, [edx + eax + 0x442e80]
push ecx
movzx edx, word [ebp - 0x8b0]
imul edx, edx, 0x9c4
mov eax, dword [ebp - 0x984]
imul eax, eax, 0x32
lea ecx, [edx + eax + 0x45e978]
push ecx
lea edx, [ebp - 0x918]
push edx
call fcn.00405900
add esp, 0xc
jmp 0x406e0b
push str.222222
push 0x64
movzx eax, word [ebp - 0x8b0]
imul eax, eax, 0x64
add eax, 0x456720
push eax
call fcn.00413573
add esp, 0xc
jmp 0x406d19
jmp 0x406bd1
mov ecx, dword [ebp - 0x824]
push ecx
push 0x64
push 0x469930
push str.999999999999999
push str.default_serial_close
lea edx, [ebp - 0x820]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0x64
push 0x4570c8
push str.999999999999999
push str.default_serial_cont
lea ecx, [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x824]
push edx
push 0xf
push 0x469858
push 0x4399c7
push str.offl_prom_full_gif
push 0x43a198
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x824]
push eax
push 0xf
push 0x4685b8
push 0x4399e5
push str.on_gif
push 0x43a1ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x824]
push ecx
push 0xf
push 0x4698c0
push 0x4399e6
push str.off_gif
push 0x43a1c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x824]
push edx
push 0x14
push 0x46a5a8
push 0x4399e7
push str.caption_gif
push str.FILE_NAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x45e938]
or eax, 0x40
mov dword [0x45e938], eax
mov ecx, dword [ebp - 0x824]
push ecx
push 0x32
push 0x468f6c
push 0x4399ef
push str.value
push str.GROUP_FIRST_LINE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call fcn.0040a0a0
xor edx, edx
jne 0x40609c
mov eax, dword [ebp - 8]
push eax
call fcn.0040eae0
add esp, 4
cmp dword [ebp - 8], 0
je 0x406f59
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x98c], ecx
mov edx, dword [ebp - 0x98c]
push edx
call fcn.0041356e
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413a38
mov esp, ebp
pop ebp
ret