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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x447044]
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.004272d0
mov edx, dword [0xfba4a3]
mov eax, dword [0x44898b]
mov ecx, dword [0xfc6cbb]
add esp, 0xc
mov dword [0x1088048], edx
mov edx, dword [0x1043cd3]
push 0x206
mov dword [0x1088050], edx
mov dword [0x1086dfc], eax
mov eax, dword [0x10464eb]
mov dword [0x108804c], ecx
lea edx, [ebp - 0x416]
xor ecx, ecx
push ebx
push edx
mov dword [0x1088054], eax
mov dword [0x1086dec], ebx
mov dword [0x10847b0], ebx
mov dword [0x10847b4], ebx
mov word [ebp - 0x418], cx
call fcn.004272d0
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x1088ec8
push 0x10892d8
push str._s_s.dat
push 0x108b550
call edi
push 0x10892d8
lea eax, [ebp - 0x418]
push str._sClient.cab
push eax
call edi
add esp, 0x1c
push ebx
push 0x108b550
call fcn.0041fb9e
add esp, 8
test eax, eax
mov eax, dword [0x1088048]
je 0x411466
cmp eax, ebx
jne 0x411468
cmp dword [0x1086dfc], ebx
jbe 0x4114e2
push 5
push str.setup
push 0x1088ec8
mov dword [ebp - 0x624], ebx
call fcn.004218d6
add esp, 0xc
test eax, eax
je 0x4113d7
push 0x43e2e0
jmp 0x411628
push 0x206
lea edx, [ebp - 0x61e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x620], cx
call fcn.004272d0
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 [0x1086de8], 1
call fcn.004042f0
add esp, 4
push 0xb71b00
mov edx, 0x448978
mov ecx, 0x4488d8
call fcn.0040aab0
add esp, 4
call fcn.00410b20
lea ecx, [ebp - 0x620]
push ecx
push 0xc
push 0x1081cbc
push 0x435474
push str.Version
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x411561
cmp eax, ebx
jbe 0x4114e2
cmp dword [0x1086dfc], ebx
jbe 0x4114e2
lea edx, [ebp - 0x210]
push str.C:UsersPublicSMR7ManualUpdate.ini
push edx
mov dword [ebp - 0x624], 2
call edi
push 0xc800
mov edx, 0xfba490
lea ecx, [ebp - 0x210]
call fcn.0040aab0
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [ebp - 0x210]
call fcn.00410e30
test al, al
jne 0x4114c6
push 0x43e3bc
jmp 0x411628
push 0x43e3f4
call fcn.004042f0
add esp, 4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x411561
push ebx
push 0x108b550
call fcn.0041fb9e
add esp, 8
test eax, eax
jne 0x411623
lea ecx, [ebp - 0x418]
push ebx
push ecx
call fcn.0041fb9e
add esp, 8
test eax, eax
jne 0x411623
cmp dword [0x1088048], ebx
jne 0x411623
mov esi, 0x108b550
mov dword [ebp - 0x624], 1
call fcn.00410e30
test al, al
jne 0x41153e
push 0x43e424
jmp 0x411628
push str.uP_n_tg_
call fcn.004042f0
add esp, 4
lea edx, [ebp - 0x418]
push edx
push 0x43dc04
push 0x1081cd8
call edi
add esp, 0xc
mov eax, 0x1083f80
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411570
mov ecx, dword [0x108479c]
sub eax, edx
mov edx, dword [0x10847b4]
sar eax, 1
push eax
mov eax, dword [0x10847a0]
push 0x1083528
push 0x1083508
push eax
mov eax, dword [0x10847b0]
push ecx
mov ecx, dword [0x1084798]
push edx
mov edx, dword [0x1084794]
push eax
mov eax, dword [0x44863c]
push ecx
mov ecx, dword [0x1084790]
push edx
mov edx, dword [0x108478c]
push eax
mov eax, dword [0x1084788]
push ecx
mov ecx, dword [0x1084784]
push edx
mov edx, dword [0x1084780]
push eax
mov eax, dword [0x4483b4]
push ecx
push edx
push eax
push 0x1081cbc
push 0x10828e8
push 0x1081ee0
push str.zfga_R
push 0x108a510
call edi
add esp, 0x54
push 0x108a510
call fcn.004042f0
mov ax, word [ebp - 0x624]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f53e
mov esp, ebp
pop ebp
ret
push 0x43e488
call fcn.004042f0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov eax, 9
pop ebx
call fcn.0041f53e
mov esp, ebp
pop ebp
ret