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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x441044]
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.004238b0
mov edx, dword [0xb69a6b]
mov eax, dword [0x442973]
mov ecx, dword [0xb76283]
add esp, 0xc
mov dword [0xc369d0], edx
mov edx, dword [0xbf329b]
push 0x206
mov dword [0xc369d8], edx
mov dword [0xc35784], eax
mov eax, dword [0xbf5ab3]
mov dword [0xc369d4], ecx
lea edx, [ebp - 0x416]
xor ecx, ecx
push ebx
push edx
mov dword [0xc369dc], eax
mov dword [0xc35778], ebx
mov dword [0xc3313c], ebx
mov dword [0xc33140], ebx
mov word [ebp - 0x418], cx
call fcn.004238b0
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0xc37850
push 0xc37c60
push str._s_s.dat
push 0xc39ed8
call edi
push 0xc37c60
lea eax, [ebp - 0x418]
push str._sClient.cab
push eax
call edi
add esp, 0x1c
push ebx
push 0xc39ed8
call fcn.0041c33e
add esp, 8
test eax, eax
mov eax, dword [0xc369d0]
je 0x40ec76
cmp eax, ebx
jne 0x40ec78
cmp dword [0xc35784], ebx
jbe 0x40ecf2
push 5
push str.setup
push 0xc37850
mov dword [ebp - 0x624], ebx
call fcn.0041de69
add esp, 0xc
test eax, eax
je 0x40ebe7
push 0x439714
jmp 0x40ee38
push 0x206
lea edx, [ebp - 0x61e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x620], cx
call fcn.004238b0
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 [0xc35774], 1
call fcn.00403790
add esp, 4
push 0x7270e0
mov edx, str.S.O.C..
mov ecx, str.C:UsersPublicSMR7WM7ClientPackage.cab
call fcn.00408d90
add esp, 4
call fcn.0040e3d0
lea ecx, [ebp - 0x620]
push ecx
push 0xc
push 0xc31254
push 0x4321e4
push str.Version
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x40ed71
cmp eax, ebx
jbe 0x40ecf2
cmp dword [0xc35784], ebx
jbe 0x40ecf2
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.00408d90
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [ebp - 0x210]
call fcn.0040e6d0
test al, al
jne 0x40ecd6
push 0x4397ec
jmp 0x40ee38
push 0x439824
call fcn.00403790
add esp, 4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40ed71
push ebx
push 0xc39ed8
call fcn.0041c33e
add esp, 8
test eax, eax
jne 0x40ee33
lea ecx, [ebp - 0x418]
push ebx
push ecx
call fcn.0041c33e
add esp, 8
test eax, eax
jne 0x40ee33
cmp dword [0xc369d0], ebx
jne 0x40ee33
mov esi, 0xc39ed8
mov dword [ebp - 0x624], 1
call fcn.0040e6d0
test al, al
jne 0x40ed4e
push 0x439854
jmp 0x40ee38
push str.uP_n_tg_
call fcn.00403790
add esp, 4
lea edx, [ebp - 0x418]
push edx
push 0x4390ec
push 0xc31270
call edi
add esp, 0xc
mov eax, 0xc32918
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ed80
mov ecx, dword [0xc33134]
sub eax, edx
mov edx, dword [0xc33140]
sar eax, 1
push eax
mov eax, dword [0xc33138]
push 0xc326c0
push 0xc326a0
push eax
mov eax, dword [0xc3313c]
push ecx
mov ecx, dword [0xc33130]
push edx
mov edx, dword [0xc3312c]
push eax
mov eax, dword [0x4426a4]
push ecx
mov ecx, dword [0xc33128]
push edx
mov edx, dword [0xc33124]
push eax
mov eax, dword [0xc33120]
push ecx
mov ecx, dword [0xc3311c]
push edx
mov edx, dword [0xc33118]
push eax
mov eax, dword [0x4423b4]
push ecx
push edx
push eax
push 0xc31254
push 0xc31e80
push 0xc31478
push str.zfga_R
push 0xc38e98
call edi
add esp, 0x54
push 0xc38e98
call fcn.00403790
mov ax, word [ebp - 0x624]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bcde
mov esp, ebp
pop ebp
ret
push 0x4398b8
call fcn.00403790
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov eax, 9
pop ebx
call fcn.0041bcde
mov esp, ebp
pop ebp
ret