Function at 0x410a00
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x446044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x20e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x210], ax
call fcn.00426670
mov edx, dword [0xbd0503]
mov eax, dword [0x44798b]
mov ecx, dword [0xbdcd1b]
add esp, 0xc
mov dword [0xc9e0c0], edx
mov edx, dword [0xc59d33]
push 0x206
mov dword [0xc9e0c8], edx
mov dword [0xc9ce74], eax
mov eax, dword [0xc5c54b]
mov dword [0xc9e0c4], ecx
lea edx, [ebp - 0x416]
xor ecx, ecx
push ebx
push edx
mov dword [0xc9e0cc], eax
mov dword [0xc9ce64], ebx
mov dword [0xc9a828], ebx
mov dword [0xc9a82c], ebx
mov word [ebp - 0x418], cx
call fcn.00426670
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0xc9ef40
push 0xc9f350
push str._s_s.dat
push 0xca15c8
call edi
push 0xc9f350
lea eax, [ebp - 0x418]
push str._sClient.cab
push eax
call edi
add esp, 0x1c
push ebx
push 0xca15c8
call fcn.0041ee1e
add esp, 8
test eax, eax
mov eax, dword [0xc9e0c0]
je 0x410bb6
cmp eax, ebx
jne 0x410bb8
cmp dword [0xc9ce74], ebx
jbe 0x410c32
push 5
push str.setup
push 0xc9ef40
mov dword [ebp - 0x624], ebx
call fcn.00420b56
add esp, 0xc
test eax, eax
je 0x410b27
push 0x43d7e0
jmp 0x410d78
push 0x206
lea edx, [ebp - 0x61e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x620], cx
call fcn.00426670
add esp, 0xc
push str.C:UsersPublicSMR7WM7installTemp
lea eax, [ebp - 0x620]
push str._sVersion.dat
push eax
call edi
add esp, 0xc
push str.uP_n_q_
mov dword [0xc9ce60], 1
call fcn.00403960
add esp, 4
push 0x788b60
mov edx, str.S.O.C..
mov ecx, str.C:UsersPublicSMR7WM7ClientPackage.cab
call fcn.0040a310
add esp, 4
call fcn.00410270
lea ecx, [ebp - 0x620]
push ecx
push 0xc
push 0xc97d34
push 0x435414
push str.Version
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x410cb1
cmp eax, ebx
jbe 0x410c32
cmp dword [0xc9ce74], ebx
jbe 0x410c32
lea edx, [ebp - 0x210]
push str.C:UsersPublicSMR7ManualUpdate.ini
push edx
mov dword [ebp - 0x624], 2
call edi
push 0xc800
mov edx, str.A.K.S..
lea ecx, [ebp - 0x210]
call fcn.0040a310
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [ebp - 0x210]
call fcn.00410580
test al, al
jne 0x410c16
push 0x43d8bc
jmp 0x410d78
push 0x43d8f4
call fcn.00403960
add esp, 4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x410cb1
push ebx
push 0xca15c8
call fcn.0041ee1e
add esp, 8
test eax, eax
jne 0x410d73
lea ecx, [ebp - 0x418]
push ebx
push ecx
call fcn.0041ee1e
add esp, 8
test eax, eax
jne 0x410d73
cmp dword [0xc9e0c0], ebx
jne 0x410d73
mov esi, 0xca15c8
mov dword [ebp - 0x624], 1
call fcn.00410580
test al, al
jne 0x410c8e
push 0x43d924
jmp 0x410d78
push str.uP_n_tg_
call fcn.00403960
add esp, 4
lea edx, [ebp - 0x418]
push edx
push 0x43d104
push 0xc97d50
call edi
add esp, 0xc
mov eax, 0xc99ff8
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410cc0
mov ecx, dword [0xc9a814]
sub eax, edx
mov edx, dword [0xc9a82c]
sar eax, 1
push eax
mov eax, dword [0xc9a818]
push 0xc995a0
push 0xc99580
push eax
mov eax, dword [0xc9a828]
push ecx
mov ecx, dword [0xc9a810]
push edx
mov edx, dword [0xc9a80c]
push eax
mov eax, dword [0x447634]
push ecx
mov ecx, dword [0xc9a808]
push edx
mov edx, dword [0xc9a804]
push eax
mov eax, dword [0xc9a800]
push ecx
mov ecx, dword [0xc9a7fc]
push edx
mov edx, dword [0xc9a7f8]
push eax
mov eax, dword [0x4473b4]
push ecx
push edx
push eax
push 0xc97d34
push 0xc98960
push 0xc97f58
push str.zfga_R
push 0xca0588
call edi
add esp, 0x54
push 0xca0588
call fcn.00403960
mov ax, word [ebp - 0x624]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e7be
mov esp, ebp
pop ebp
ret
push 0x43d988
call fcn.00403960
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov eax, 9
pop ebx
call fcn.0041e7be
mov esp, ebp
pop ebp
ret