Function at 0x404670
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x429bd2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
push edi
or edi, 0xffffffff
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x18]
call fcn.00401010
lea eax, [esp + 0x1c]
mov dword [esp + 0x138], ebx
push eax
call fcn.00403cd0
add esp, 4
mov ecx, dword [eax]
push str.user.dat
push ecx
lea edx, [esp + 0x18]
push 0x42f174
push edx
mov byte [esp + 0x148], 1
call fcn.004012b0
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], bl
call fcn.00401090
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
lea ecx, [esp + 0x28]
call fcn.00401650
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x40479c
call ebp
push eax
mov eax, dword [esp + 0x14]
push eax
push str._MAutoup__Not_found_file:__s___d_.
push 1
call fcn.004036f0
lea ecx, [esp + 0x2c]
push ecx
call fcn.00403cd0
add esp, 0x14
mov edx, dword [eax]
push str.mupdate2.dat
push edx
lea eax, [esp + 0x18]
push 0x42f174
push eax
mov byte [esp + 0x148], 2
call fcn.004012b0
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], bl
call fcn.00401090
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
lea ecx, [esp + 0x28]
call fcn.00401650
push eax
call esi
cmp eax, edi
jne 0x40479c
call ebp
mov ecx, dword [esp + 0x10]
push eax
push ecx
push str._MAutoup__Not_found_file:__s___d_.
push 1
call fcn.004036f0
add esp, 0x10
jmp 0x40496d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
lea ecx, [esp + 0x1c]
call fcn.00401010
mov edx, dword [esp + 0x140]
push str.ahn.ui
push edx
lea eax, [esp + 0x1c]
push 0x42f174
push eax
mov byte [esp + 0x148], 3
call fcn.004012b0
xor ecx, ecx
add esp, 0x10
mov dword [esp + 0x21], ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x25], ecx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.00401650
push eax
call fcn.004045a0
add esp, 8
test eax, eax
je 0x40495d
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
or edi, 0xffffffff
lea ecx, [esp + 0x18]
push edi
push ebx
call fcn.00401010
lea eax, [esp + 0x1c]
mov byte [esp + 0x138], 4
push eax
call fcn.00403cd0
add esp, 4
mov ecx, dword [eax]
push str.bldinfo.ini
push ecx
lea edx, [esp + 0x20]
push 0x42f174
push edx
mov byte [esp + 0x148], 5
call fcn.004012b0
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 4
call fcn.00401090
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
lea ecx, [esp + 0x30]
call fcn.00401650
push eax
call esi
cmp eax, edi
jne 0x40489f
call ebp
push eax
push str._MAutoup__Not_found_bldinfo.ini___d_.
push 1
call fcn.004036f0
add esp, 0xc
jmp 0x40494c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
call fcn.00401650
push eax
lea eax, [esp + 0x30]
push 0x104
push eax
push 0x4383cc
push str.BuildNumber
push str.Build
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4048f2
call ebp
push eax
push str._CUpdateStatus___02x_:_BuildNumber_fail
push 1
call fcn.004036f0
add esp, 0xc
jmp 0x40494c
lea ecx, [esp + 0x10]
call fcn.00401650
push eax
push 0x42f6c4
push str.ProductCode
push str.MAutoupSec
call fcn.00407a20
lea ecx, [esp + 0x10]
call fcn.00401650
lea edx, [esp + 0x20]
push eax
push edx
push 0x42f6a8
push str.MAutoupSec
call fcn.00407a20
lea ecx, [esp + 0x10]
call fcn.00401650
push eax
lea eax, [esp + 0x30]
push eax
push str.BuildVerion
push str.MAutoupSec
call fcn.00407a20
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 3
call fcn.00401090
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.00401090
lea ecx, [esp + 0x10]
mov dword [esp + 0x138], edi
call fcn.00401090
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret