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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x994
mov eax, dword [0x440374]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 1
lea eax, [ebp - 0x8c]
push eax
mov ecx, 0x4693a8
call fcn.00404690
cmp dword [ebp - 0x8c], 1
jne 0x406319
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004071a0
add esp, 8
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
je 0x40630e
jmp 0x407134
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x894], eax
jmp 0x406322
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x894], ecx
mov edx, dword [ebp - 0x894]
push edx
push 0x64
push 0x468b98
push 0x43889f
push str.vhld_reg_path
push 0x4388c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0x64
push 0x468c00
push 0x4388ab
push str.installer_reg_path
push 0x4388ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0x64
push 0x468c68
push 0x4388b7
push str.client_reg_path
push 0x43890c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x894]
push edx
push 0x64
push 0x468cd0
push 0x4388c6
push str.host_ip_url
push 0x438928
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0x64
push 0x468d38
push 0x4388c7
push str.bad_resolution_screen
push 0x438950
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0x64
push 0x468da0
push 0x4388d5
push str.program_def_zip
push 0x438970
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x894]
push edx
push 0
push str.bg_red
push 0x438988
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x8a0], eax
mov eax, dword [ebp - 0x894]
push eax
push 0
push str.bg_green
push 0x4389a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x89c], eax
mov ecx, dword [ebp - 0x894]
push ecx
push 0
push str.bg_blue
push str.BRAND_CONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x8a4], eax
movzx edx, byte [ebp - 0x8a0]
movzx eax, byte [ebp - 0x89c]
shl eax, 8
or edx, eax
movzx ecx, byte [ebp - 0x8a4]
shl ecx, 0x10
or edx, ecx
mov dword [0x468bfc], edx
mov edx, dword [ebp - 0x894]
push edx
push 0x64
push str.666666666666666
push str.666666666666666666
push 0x4389e0
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0x64
push str.999999999999999
push str.999999999999999999
push 0x438a04
push str.SERIAL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0x80
push str.Application_Download_Wizard
push 0x438a14
push 0x438a30
push str.TITLE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x894]
push edx
push 0x64
lea eax, [ebp - 0x890]
push eax
push str.installer.gif
push str.gif_value
push 0x438a4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x890]
push ecx
push str.installer.gif
call fcn.004149f0
add esp, 8
mov edx, dword [ebp - 0x894]
push edx
push 0x64
lea eax, [ebp - 0x890]
push eax
push str.text.txt
push str.text_value
push 0x438a64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x890]
push ecx
push str.text.txt
call fcn.004149f0
add esp, 8
mov edx, dword [ebp - 0x894]
push edx
push 0x64
lea eax, [ebp - 0x890]
push eax
push 0x468f40
push str.setup_value
push 0x438a7c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x890]
push ecx
push 0x468f40
call fcn.004149f0
add esp, 8
push 0x64
push 0x442000
call fcn.004100c0
add esp, 8
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
je 0x4065cf
mov edx, dword [ebp - 0x894]
push edx
push 0x64
push 0x442000
push str.0.00
push str.installer_value
push str.VERSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 0x894]
push eax
push 0x400
push 0x468fa8
push 0x4388d6
push 0x438aa8
push 0x438ab0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0x800
push 0x442068
push str.http:__reportinstaller.random_logic.com_logs.asp
push 0x438af0
push str.HTTP_REPORT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x894]
push edx
push 0x800
push 0x4607f0
push 0x4388d7
push 0x438b04
push str.PIXEL_TRACKING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
call fcn.00407180
add esp, 4
push eax
call fcn.00415b48
add esp, 4
call fcn.00415b55
cdq
mov ecx, 0x64
idiv ecx
add edx, 1
mov dword [ebp - 0x898], edx
mov edx, dword [ebp - 0x894]
push edx
push 0
push 0x438b1c
push 0x438b24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jbe 0x4066a5
push str.FILES_URL_NO_TEST
push 0x438b4c
lea eax, [ebp - 0x890]
push eax
call fcn.00415328
add esp, 0xc
jmp 0x4067f7
mov ecx, dword [ebp - 0x894]
push ecx
push 3
push str.number_of_serials
push 0x438b64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x8c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x8c]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00414870
add esp, 4
mov dword [ebp - 0x990], eax
mov eax, dword [ebp - 0x990]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x406704
mov dword [ebp - 0x74], 2
jmp 0x407134
mov ecx, dword [ebp - 0x8c]
push ecx
push 0
mov edx, dword [ebp - 0x7c]
push edx
call fcn.00415080
add esp, 0xc
mov dword [ebp - 0x8ac], 0
jmp 0x406734
mov eax, dword [ebp - 0x8ac]
add eax, 1
mov dword [ebp - 0x8ac], eax
mov ecx, dword [ebp - 0x8ac]
cmp ecx, dword [ebp - 0x8c]
jae 0x4067f7
mov edx, dword [ebp - 0x8ac]
add edx, 1
push edx
push str.value_precent_for_serial__d
lea eax, [ebp - 0x890]
push eax
call fcn.00415328
add esp, 0xc
mov ecx, dword [ebp - 0x894]
push ecx
push 0x64
lea edx, [ebp - 0x890]
push edx
push str.USER_DYNAMIC_CHOICE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x8ac]
mov edx, dword [ebp - 0x7c]
mov dword [edx + ecx*4], eax
cmp dword [ebp - 0x8ac], 0
je 0x4067b9
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [ebp - 0x7c]
add edx, dword [ecx + eax*4 - 4]
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + eax*4], edx
mov edx, dword [ebp - 0x8ac]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x898]
cmp ecx, dword [eax + edx*4]
ja 0x4067f2
mov edx, dword [ebp - 0x8ac]
add edx, 1
push edx
push str.FILES_URL
push str._s__d
lea eax, [ebp - 0x890]
push eax
call fcn.00415328
add esp, 0x10
jmp 0x4067f7
jmp 0x406725
mov ecx, dword [ebp - 0x894]
push ecx
push 0
push 0x438bbc
lea edx, [ebp - 0x890]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x456a28], eax
cmp dword [0x456a28], 0
je 0x4068a8
mov dword [ebp - 0x8b0], 0
jmp 0x40683f
mov eax, dword [ebp - 0x8b0]
add eax, 1
mov dword [ebp - 0x8b0], eax
mov ecx, dword [ebp - 0x8b0]
cmp ecx, dword [0x456a28]
jge 0x4068a6
mov edx, dword [ebp - 0x8b0]
add edx, 1
push edx
push str.value_d
lea eax, [ebp - 0x70]
push eax
call fcn.00415328
add esp, 0xc
mov ecx, dword [ebp - 0x894]
push ecx
push 0x800
mov edx, dword [ebp - 0x8b0]
shl edx, 0xb
add edx, 0x461060
push edx
mov eax, dword [ebp - 0x8b0]
shl eax, 0xb
add eax, 0x461060
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x890]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x406830
jmp 0x4068d8
mov dword [0x456a28], 1
mov eax, dword [ebp - 0x894]
push eax
push 0x800
push 0x461060
push 0x4388eb
push 0x438bd0
push str.DEFAULT_URL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0xa
lea edx, [ebp - 0x88]
push edx
push 0x438be4
push str.testver
lea eax, [ebp - 0x890]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 5
push 0x438bf0
push str.CANCEL_SECONDS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x442868], eax
mov edx, dword [ebp - 0x894]
push edx
push 0x64
push 0x4428b0
push 0x4388f9
push 0x438c08
push 0x438c10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0x64
push 0x460ff8
push 0x4388fa
push str.value_default
push str.IDISP_LINK
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0
push 0x438c38
push str.IDISP_MODE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x4428ac], eax
mov edx, dword [ebp - 0x894]
push edx
push 0
push 0x438c4c
push str.BRAND_ID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x442894], eax
mov eax, dword [ebp - 0x894]
push eax
push 0
push 0x438c60
push 0x438c68
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x442898], ax
mov ecx, dword [ebp - 0x894]
push ecx
push 0xa
push 0x46076c
push 0x438c74
push str.lang_name
push str.LANGUAGE_ID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x894]
push edx
push 0x32
push 0x4562ec
push str.Downloading
push str.value_downloading
push 0x438cb0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0x32
push 0x442914
push str.Transfer_rate:
push str.value_download_rate
push 0x438ce4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0x32
push 0x4561e8
push str.Estimated_time_left:
push str.value_time_left
push 0x438d1c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x894]
push edx
push 0x32
push 0x4606d4
push str.Completed
push str.value_completed
push 0x438d48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0x32
push 0x44289c
push 0x438d58
push str.value_button_cancel
push 0x438d74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0x32
push 0x468abc
push str.Continue
push str.value_button_continue
push 0x438da8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x894]
push edx
push 0x32
push 0x45621c
push str.Do_you_want_to_continue_downloading_
push str.value_msg_cancel
push 0x438df4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0x100
push 0x4688b8
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 0x438eb4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x4688b8
call fcn.00403840
add esp, 4
mov ecx, dword [ebp - 0x894]
push ecx
push 0x100
push 0x4689b8
push str.Installation_failed.__Please_try_again_or_contact_our_support.__Clicking__OK__will_terminate_the_process.
push str.value_install_fail
push 0x438f48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x4689b8
call fcn.00403840
add esp, 4
push 0x14
push 0
push 0x468b84
call fcn.00415080
add esp, 0xc
mov edx, dword [ebp - 0x894]
push edx
push 0x14
push 0x468b84
push 0x4388fb
push str.value_offline_be_bigger
push str.CONTROL_TEXTS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0x64
push 0x468e08
push 0x438919
push str.real_username
push 0x438f90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0x64
push 0x468e70
push 0x43891a
push str.orig_cid
push 0x438fa8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x894]
push edx
push 0x64
push 0x468ed8
push 0x43891b
push 0x438fb4
push 0x438fb8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0xffffffffffffffff
push str.CountryID
push 0x438fd0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x43f07c], eax
mov ecx, dword [ebp - 0x894]
push ecx
push 0xffffffffffffffff
push str.CountryF
push str.USER_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x43f0e4], eax
mov edx, dword [ebp - 0x894]
push edx
push 0x64
push str.111111111111111
push 0x438ff4
push 0x438ff8
push 0x439000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0x800
lea ecx, [ebp - 0x890]
push ecx
push 0x439004
push 0x439008
push str.TEST_DATA
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.111111111111111
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x890]
push eax
push str._s_testver_s_ic_s
push 0x43f0e8
call fcn.00415328
add esp, 0x14
push 0x441ff8
push 0x439030
push 0
push 0x468c68
push connect
call fcn.0040d640
add esp, 0x14
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
je 0x406cd2
mov ecx, dword [ebp - 0x894]
push ecx
push 1
push 0x439034
push 0x43903c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x441ff8], ax
mov dword [ebp - 0x74], 1
mov edx, dword [ebp - 0x894]
push edx
push 0xa
push 0x439040
push str.MIN_DISP_TIME_SECONDS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x4607ec], ax
movzx eax, word [0x4607ec]
cmp eax, 0xa
jge 0x406d06
mov word [0x4607ec], 0xa
mov ecx, dword [ebp - 0x894]
push ecx
push 0
push 0x439060
push 0x439068
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x456320], ax
mov edx, dword [ebp - 0x894]
push edx
push 1
push str.unknownUser
push 0x439078
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x8a8], eax
cmp dword [ebp - 0x8a8], 0
je 0x406d61
cmp dword [ebp - 0x8a8], 0
je 0x406d7e
movzx eax, word [0x456320]
test eax, eax
jne 0x406d7e
mov word [0x456320], 0
mov ecx, dword [0x4561d4]
and ecx, 0xffffffbf
mov dword [0x4561d4], ecx
jmp 0x407134
movzx edx, word [0x456320]
push edx
push str.Campaign_d
lea eax, [ebp - 0x890]
push eax
call fcn.00415328
add esp, 0xc
mov ecx, dword [ebp - 0x894]
push ecx
push 0
push 0x439088
lea edx, [ebp - 0x890]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x456320], ax
movzx eax, word [0x456320]
test eax, eax
jne 0x406dda
mov ecx, dword [0x4561d4]
and ecx, 0xffffffbf
mov dword [0x4561d4], ecx
jmp 0x407134
mov word [ebp - 0x8b4], 0
jmp 0x406df7
mov dx, word [ebp - 0x8b4]
add dx, 1
mov word [ebp - 0x8b4], dx
movzx eax, word [ebp - 0x8b4]
movzx ecx, word [0x456320]
cmp eax, ecx
jge 0x40701f
movzx edx, word [ebp - 0x8b4]
add edx, 1
push edx
push str.group_d
lea eax, [ebp - 0x70]
push eax
call fcn.00415328
add esp, 0xc
mov ecx, dword [ebp - 0x894]
push ecx
push 0x32
lea edx, [ebp - 0x988]
push edx
push 0x438935
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x890]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x438936
lea edx, [ebp - 0x70]
push edx
call fcn.00415ac0
add esp, 8
test eax, eax
je 0x406e96
movzx eax, word [ebp - 0x8b4]
imul eax, eax, 0x64
add eax, 0x4563e8
push eax
movzx ecx, word [ebp - 0x8b4]
imul ecx, ecx, 0x32
add ecx, 0x441cd8
push ecx
lea edx, [ebp - 0x988]
push edx
call fcn.00405b70
add esp, 0xc
jmp 0x406eb3
push 0x439098
movzx eax, word [ebp - 0x8b4]
imul eax, eax, 0x64
add eax, 0x4563e8
push eax
call fcn.004149f0
add esp, 8
movzx ecx, word [ebp - 0x8b4]
imul ecx, ecx, 0x64
add ecx, 0x4563e8
push ecx
push 0x4390a0
push 0x4390a4
lea edx, [ebp - 0x988]
push edx
call fcn.00415328
add esp, 0x10
mov eax, dword [ebp - 0x894]
push eax
push 0
push str.number
lea ecx, [ebp - 0x988]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
movzx edx, word [ebp - 0x8b4]
mov word [edx*2 + 0x468898], ax
movzx eax, word [ebp - 0x8b4]
movzx ecx, word [eax*2 + 0x468898]
test ecx, ecx
je 0x40701a
mov dword [ebp - 0x98c], 0
jmp 0x406f39
mov edx, dword [ebp - 0x98c]
add edx, 1
mov dword [ebp - 0x98c], edx
movzx eax, word [ebp - 0x8b4]
movzx ecx, word [eax*2 + 0x468898]
cmp dword [ebp - 0x98c], ecx
je 0x40701a
mov edx, dword [ebp - 0x98c]
add edx, 1
push edx
push str.opt_d
lea eax, [ebp - 0x70]
push eax
call fcn.00415328
add esp, 0xc
mov ecx, dword [ebp - 0x894]
push ecx
push 0x32
lea edx, [ebp - 0x920]
push edx
push 0x438937
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x988]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x43894e
lea edx, [ebp - 0x70]
push edx
call fcn.00415ac0
add esp, 8
test eax, eax
je 0x406ff7
movzx eax, word [ebp - 0x8b4]
imul eax, eax, 0x1388
mov ecx, dword [ebp - 0x98c]
imul ecx, ecx, 0x64
lea edx, [eax + ecx + 0x442950]
push edx
movzx eax, word [ebp - 0x8b4]
imul eax, eax, 0x9c4
mov ecx, dword [ebp - 0x98c]
imul ecx, ecx, 0x32
lea edx, [eax + ecx + 0x456a30]
push edx
lea eax, [ebp - 0x920]
push eax
call fcn.00405b70
add esp, 0xc
jmp 0x407015
push str.222222
movzx ecx, word [ebp - 0x8b4]
imul ecx, ecx, 0x64
add ecx, 0x4563e8
push ecx
call fcn.004149f0
add esp, 8
jmp 0x406f2a
jmp 0x406de5
mov edx, dword [ebp - 0x894]
push edx
push 0x64
push 0x460788
push str.999999999999999
push str.default_serial_close
lea eax, [ebp - 0x890]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0x64
push 0x460708
push str.999999999999999
push str.default_serial_cont
lea edx, [ebp - 0x890]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0xf
push 0x456288
push 0x43894f
push str.offl_prom_full_gif
push 0x439104
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x894]
push ecx
push 0xf
push 0x460670
push 0x43895d
push str.on_gif
push 0x439118
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x894]
push edx
push 0xf
push 0x456380
push 0x43895e
push str.off_gif
push 0x43912c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x894]
push eax
push 0x14
push 0x468b20
push 0x43895f
push str.caption_gif
push str.FILE_NAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x4561d4]
or ecx, 0x40
mov dword [0x4561d4], ecx
mov edx, dword [ebp - 0x894]
push edx
push 0x32
push 0x456250
push 0x43897d
push str.value
push str.GROUP_FIRST_LINE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call fcn.0040b6a0
xor eax, eax
jne 0x4062cf
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.0040fd30
add esp, 4
cmp dword [ebp - 0x78], 0
je 0x407165
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x994], edx
mov eax, dword [ebp - 0x994]
push eax
call fcn.00414bfe
add esp, 4
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415063
mov esp, ebp
pop ebp
ret