Function at 0x415050
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x447e20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [0x45eef8]
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], 1
call fcn.0040fc70
mov ecx, dword [esp + 0x2c]
mov ebp, eax
push ecx
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00439112
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x462a80
push str.LANGUAGE
push str.UPDATER
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call fcn.00439112
push eax
mov ecx, esi
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push 0x104
push 0x104
call fcn.00439112
push eax
push 0x462a80
push str.CUSTOM_LANGUAGE_URL
push str.UPDATER
call edi
mov ecx, dword [esp + 0x10]
lea ebx, [esi + 4]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.00439112
push eax
mov ecx, ebx
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebx
call fcn.00438aa3
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.004105f0
push eax
mov ecx, ebx
mov byte [esp + 0x28], 2
call fcn.00438e1b
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00438d2e
mov eax, dword [esp + 0x2c]
mov ebx, dword [0x462c10]
push eax
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00439112
push eax
push ebx
push str.RUNMODE
push str.UPDATER
call edi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.00439112
push eax
lea ecx, [esi + 8]
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
push 0x104
push 0x104
call fcn.00439112
push eax
push 0x462a80
push str.LOGOSMALL
push str.UPDATER
call edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call fcn.00439112
push eax
lea ecx, [esi + 0x10]
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
mov ecx, dword [esp + 0x2c]
push ecx
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00439112
push eax
push 0x462a80
push str.LOGOLARGE
push str.UPDATER
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call fcn.00439112
push eax
lea ecx, [esi + 0xc]
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push 0x104
push 0x104
call fcn.00439112
push eax
push 0x462a80
push str.ICON
push str.UPDATER
call edi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.00439112
push eax
lea ecx, [esi + 0x14]
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
push 0x104
push 0x104
call fcn.00439112
push eax
push 0x462a80
push 0x45e63c
push str.UPDATEINFO
call edi
mov eax, dword [esp + 0x10]
lea ebx, [esi + 0x18]
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
mov eax, dword [eax - 8]
push eax
call fcn.00439112
push eax
mov ecx, ebx
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebx
call fcn.00438aa3
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.004105f0
push eax
mov ecx, ebx
mov byte [esp + 0x28], 3
call fcn.00438e1b
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00438d2e
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
push 0x104
push 0x104
call fcn.00439112
push eax
push str.5000
push str.SERVERTIMEOUT
push str.UPDATEINFO
call edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call fcn.00439112
push eax
call fcn.0042bc60
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esi + 0x38], eax
push 0xffffffffffffffff
call fcn.00439161
mov ecx, dword [esp + 0x2c]
push ecx
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00439112
push eax
push str.Unknown_app
push str.NAME
push str.APPLICATION
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
push eax
lea ecx, [esp + 0x14]
call fcn.00439112
push eax
lea ecx, [esi + 0x1c]
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push 0x104
push 0x104
call fcn.00439112
push eax
push 0x462a80
push str.LOCATION
push str.APPLICATION
call edi
mov ecx, dword [esp + 0x10]
lea ebx, [esi + 0x24]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.00439112
push eax
mov ecx, ebx
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebx
call fcn.00438aa3
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.004105f0
push eax
mov ecx, ebx
mov byte [esp + 0x28], 4
call fcn.00438e1b
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00438d2e
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push 0x104
push 0x104
call fcn.00439112
push eax
push str.0.0.0.0
push str.VERSION
push str.APPLICATION
call edi
mov ecx, dword [esp + 0x10]
lea ebx, [esi + 0x20]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.00439112
push eax
mov ecx, ebx
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebx
call fcn.00438aa3
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.004105f0
push eax
mov ecx, ebx
mov byte [esp + 0x28], 5
call fcn.00438e1b
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00438d2e
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x415517
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebx
call fcn.00438aa3
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.00410150
push eax
mov ecx, ebx
mov byte [esp + 0x28], 6
call fcn.00438e1b
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00438d2e
mov ecx, dword [esp + 0x2c]
push ecx
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00439112
push eax
push str.true
push str.CHECKCONNECTION
push str.CONNECTION
call edi
lea ecx, [esp + 0x10]
call fcn.004391f6
mov edx, dword [esp + 0x10]
push str.false
push edx
call fcn.0042a604
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne al
push 0xffffffffffffffff
mov byte [esi + 0x3c], al
call fcn.00439161
mov ecx, dword [esp + 0x2c]
push ecx
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00439112
push eax
push 0x462a80
push str.USERNAME
push str.CONNECTION
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call fcn.00439112
push eax
lea ecx, [esi + 0x28]
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push 0x104
push 0x104
call fcn.00439112
push eax
push 0x462a80
push str.PASSWORD
push str.CONNECTION
call edi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.00439112
push eax
lea ecx, [esi + 0x2c]
call fcn.00438e6b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00439161
mov esi, dword [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.00438aa3
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
call fcn.00410790
mov byte [esp + 0x24], 7
push eax
mov ecx, esi
call fcn.00438e1b
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.00438d2e
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.00438d2e
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00438d2e
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 4