Function at 0x4033e0
Capabilities:
Delete file
Move file
Read .ini file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428c31
mov eax, dword fs:[0]
push eax
sub esp, 0xa90
mov eax, dword [0x43b090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp ecx, 0x101
je 0x403433
cmp ecx, 0x201
je 0x403433
cmp ecx, 0x301
je 0x403433
cmp ecx, 0x103
je 0x403433
xor eax, eax
jmp 0x4037bf
lea ecx, [ebp - 0xa80]
call fcn.0040a510
push 0x208
lea eax, [ebp - 0xa38]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0040f360
add esp, 0xc
lea ecx, [ebp - 0xa98]
call fcn.0040a510
cmp dword [eax + 0x14], 8
jb 0x40346e
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea eax, [ebp - 0xa38]
push eax
push 0x436504
push str.LastUpdateVersion
push str.System
call esi
mov eax, dword [ebp - 0xa84]
cmp eax, 8
jb 0x4034b0
inc eax
lea ecx, [ebp - 0xa98]
push eax
push dword [ebp - 0xa98]
call fcn.00406620
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0040f360
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x628]
push str.http:__photocdn.hd.sohu.com_upgrade_SohuVa_SoHuLiveUpdate__s.exe
push eax
call fcn.00408330
xor eax, eax
mov dword [ebp - 0xa3c], 7
add esp, 0x18
mov dword [ebp - 0xa40], 0
mov word [ebp - 0xa50], ax
cmp word [ebp - 0x628], ax
jne 0x403508
xor ecx, ecx
jmp 0x403520
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403511
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0xa50]
call fcn.00405c20
push 0x208
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0040f360
add esp, 0xc
lea ecx, [ebp - 0xa80]
cmp dword [ebp - 0xa6c], 8
lea eax, [ebp - 0xa50]
cmovae ecx, dword [ebp - 0xa80]
cmp dword [ebp - 0xa3c], 8
push ecx
cmovae eax, dword [ebp - 0xa50]
lea ecx, [ebp - 0x830]
push 0x104
push ecx
push eax
push str.UpgradeUrl
push str.System
call esi
cmp word [ebp - 0x830], 0
jne 0x40359d
xor ecx, ecx
jmp 0x4035b5
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4035a6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0xa50]
call fcn.00405c20
mov dword [ebp - 0xa54], 0xf
mov dword [ebp - 0xa58], 0
mov byte [ebp - 0xa68], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa50]
cmp dword [ebp - 0xa3c], 8
lea edx, [ebp - 0xa68]
cmovae ecx, dword [ebp - 0xa50]
call fcn.00402920
test al, al
je 0x403754
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0040f360
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0040f360
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0040f104
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0041340c
push str.SoHuLiveUpdate.exe
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00413470
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004134e5
add esp, 0x28
test eax, eax
jne 0x4036cd
push str.SoHuLiveUpdate.bak
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00413470
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004135bd
add esp, 0x14
push 0x436794
lea eax, [ebp - 0x218]
mov dword [ebp - 0xa9c], 0
push eax
lea eax, [ebp - 0xa9c]
push eax
call fcn.004136ab
mov ecx, dword [ebp - 0xa9c]
add esp, 0xc
test ecx, ecx
je 0x40373e
cmp dword [ebp - 0xa54], 0x10
lea eax, [ebp - 0xa68]
push ecx
push dword [ebp - 0xa58]
cmovae eax, dword [ebp - 0xa68]
push 1
push eax
call fcn.0041392a
push dword [ebp - 0xa9c]
call fcn.004139f8
add esp, 0x14
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x403759
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004135bd
add esp, 8
mov esi, 1
lea ecx, [ebp - 0xa68]
call fcn.00403f60
mov eax, dword [ebp - 0xa3c]
cmp eax, 8
jb 0x403782
inc eax
lea ecx, [ebp - 0xa50]
push eax
push dword [ebp - 0xa50]
call fcn.00406620
mov ecx, dword [ebp - 0xa6c]
xor eax, eax
mov dword [ebp - 0xa3c], 7
mov dword [ebp - 0xa40], 0
mov word [ebp - 0xa50], ax
cmp ecx, 8
jb 0x4037bd
inc ecx
push ecx
push dword [ebp - 0xa80]
lea ecx, [ebp - 0xa80]
call fcn.00406620
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040cc34
mov esp, ebp
pop ebp
ret