Function at 0x405ad0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2e80
call fcn.00414ba0
mov eax, dword [0x421280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4233b0]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2e7c], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x4c8], ax
lea eax, [ebp - 0x4c6]
push eax
mov dword [ebp - 0x2e80], ebx
call fcn.00411080
xor eax, eax
mov dword [ebx], 0
push 0x1046
push eax
mov word [ebp - 0x2e78], ax
lea eax, [ebp - 0x2e76]
push eax
call fcn.00411080
mov esi, dword [0x4233a0]
add esp, 0x18
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [esi + 0x50], 0
jne 0x405b93
push 0xff
lea eax, [ebp - 0x5c7]
mov byte [ebp - 0x5c8], 0
push 0
push eax
call fcn.00411080
add esp, 0xc
lea eax, [ebp - 0x5c8]
push 0x48
push str.aHR0cDovL2Rvd24uNTFienpqLmNvbS9kb3duLzUxenR6anNvZnQvNTF6dHpqX3NvZnQuaW5p
push eax
call fcn.00401690
lea ecx, [ebp - 0x5c8]
call fcn.00406a00
push eax
push dword [esi + 0x20]
call ebx
mov esi, dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea eax, [ebp - 0x2e78]
push str._s_tmp_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x4c8]
push eax
push str.check_version.ini
lea eax, [ebp - 0x2e78]
push eax
call fcn.00405750
test al, al
je 0x405fbf
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.00411080
add esp, 0xc
lea eax, [ebp - 0xcc]
push str.config
push eax
call ebx
lea eax, [ebp - 0x4c8]
push eax
mov eax, dword [ebp - 0x2e7c]
add eax, 0x208
push eax
call ebx
lea eax, [ebp - 0x4c8]
push eax
push 0
push str.count
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, 0x18
cmp eax, edx
mov dword [ebp - 0x2e7c], eax
mov ecx, eax
cmovg ecx, edx
mov edx, dword [ebp - 0x2e80]
mov dword [edx], ecx
test eax, eax
jle 0x405f3c
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x1f8], ax
lea eax, [ebp - 0x1f6]
push eax
call fcn.00411080
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x130], ax
lea eax, [ebp - 0x12e]
push eax
call fcn.00411080
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x194], ax
lea eax, [ebp - 0x192]
push eax
call fcn.00411080
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25a]
push eax
call fcn.00411080
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x2c0], ax
lea eax, [ebp - 0x2be]
push eax
call fcn.00411080
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xbe0], ax
lea eax, [ebp - 0xbde]
push eax
call fcn.00411080
add esp, 0x48
xor eax, eax
mov word [ebp - 0x1e30], ax
push 0x1046
push eax
lea eax, [ebp - 0x1e2e]
push eax
call fcn.00411080
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7d0], ax
lea eax, [ebp - 0x7ce]
push eax
call fcn.00411080
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x9d8], ax
lea eax, [ebp - 0x9d6]
push eax
call fcn.00411080
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xde8], ax
lea eax, [ebp - 0xde6]
push eax
call fcn.00411080
mov eax, dword [ebp - 0x2e7c]
add esp, 0x30
xor esi, esi
test eax, eax
jle 0x405f36
lea esp, [esp]
cmp eax, 0x18
jge 0x405f36
push esi
lea eax, [ebp - 0x1f8]
push str.title_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
lea eax, [ebp - 0x130]
push str.url_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
lea eax, [ebp - 0x194]
push str.filename_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
lea eax, [ebp - 0x25c]
push str.param_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
lea eax, [ebp - 0x2c0]
push str.checkkey_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x3c
lea eax, [ebp - 0x4c8]
push eax
push 0x104
lea eax, [ebp - 0xbe0]
push eax
push 0x41e848
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x4c8]
push eax
push 0x824
lea eax, [ebp - 0x1e30]
push eax
push 0x41e848
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x4c8]
push eax
push 0x104
lea eax, [ebp - 0x7d0]
push eax
push 0x41e848
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x4c8]
push eax
push 0x104
lea eax, [ebp - 0x9d8]
push eax
push 0x41e848
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x4c8]
push eax
push 0x104
lea eax, [ebp - 0xde8]
push eax
push 0x41e848
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x186c
call fcn.0040d4c1
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x405f27
lea ecx, [ebp - 0xbe0]
push ecx
push eax
call ebx
lea eax, [ebp - 0x1e30]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call ebx
lea eax, [ebp - 0x7d0]
push eax
mov eax, dword [edi]
add eax, 0x1250
push eax
call ebx
lea eax, [ebp - 0x9d8]
push eax
mov eax, dword [edi]
add eax, 0x1458
push eax
call ebx
lea eax, [ebp - 0xde8]
push eax
mov eax, dword [edi]
add eax, 0x1660
push eax
call ebx
mov eax, dword [edi]
add edi, 4
mov dword [eax + 0x1868], 1
mov eax, dword [ebp - 0x2e7c]
inc esi
cmp esi, eax
jl 0x405d70
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, dword [0x4233a0]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
add edi, 0xb8
push edi
call ebx
cmp eax, 1
jg 0x405f78
mov eax, dword [0x4233b0]
add eax, 0x208
push eax
push 0x104
push edi
push 0x41e848
push str.text
push str.HomePage
call esi
mov edi, dword [0x4233a0]
push dword [edi + 0x1c]
call ebx
cmp eax, 1
jg 0x405fcc
mov eax, dword [0x4233b0]
add eax, 0x208
push eax
push 0x104
push dword [edi + 0x1c]
push 0x41e848
push str.pageurl
push str.HomePage
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d13e
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x2e80]
push edx
push edi
call fcn.00405fe0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d13e
mov esp, ebp
pop ebp
ret 8