Function at 0x4024b0
Capabilities:
Check if file exists
Check os version
Contain obfuscated stackstrings
Create directory
Get common file path
Read .ini file
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1fac
call fcn.00418740
mov eax, dword [0x426008]
xor eax, esp
mov dword [esp + 0x1fa8], eax
push ebx
push esi
push edi
push str.WEIDUAN
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x4032c5
push 0x206
push eax
mov word [esp + 0x1ba8], ax
lea eax, [esp + 0x1baa]
push eax
call fcn.0040cc90
add esp, 0xc
lea ecx, [esp + 0x1ba0]
call fcn.00402380
mov byte [esp + 0x10], al
xor eax, eax
push 0x206
push eax
mov word [esp + 0x550], ax
lea eax, [esp + 0x552]
push eax
call fcn.0040cc90
add esp, 0xc
lea eax, [esp + 0x548]
push 0
push 0x1a
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4226f8
lea eax, [esp + 0x54c]
push 0x104
push eax
call fcn.0040a8fb
add esp, 0xc
lea eax, [esp + 0x548]
push str.wds_
push 0x104
push eax
call fcn.0040a8fb
add esp, 0xc
xor eax, eax
mov word [esp + 0x1790], ax
push 0x206
push eax
lea eax, [esp + 0x179a]
push eax
call fcn.0040cc90
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x554]
add esp, 0xc
push eax
push 0x7c19e8
call esi
push str.softinfo.ini
push 0x104
push 0x7c19e8
call fcn.0040a8fb
add esp, 0xc
push 0x7c17e0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x402605
push 0x7c19e8
push 0x104
push 0x7c17e0
push 0x4226fc
push str.REName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x7c17e0
call fcn.00401ff0
call fcn.00401f00
mov dword [esp + 0x270], 0x4034b50
lea eax, [esp + 0x2f0]
mov dword [esp + 0x274], 0x14
movq xmm0, qword [esp + 0x270]
movq qword [0x427350], xmm0
movdqu xmm0, xmmword [str.weiduan.exe]
push 0x4c
push 0
movdqu xmmword [esp + 0x2e0], xmm0
push eax
movq xmm0, qword [0x42290c]
movq qword [esp + 0x2f4], xmm0
call fcn.0040cc90
add esp, 0xc
xor eax, eax
mov word [esp + 0xf70], ax
push 0x206
push eax
lea eax, [esp + 0xf7a]
push eax
call fcn.0040cc90
add esp, 0xc
xor eax, eax
mov word [esp + 0xd68], ax
push 0x206
push eax
lea eax, [esp + 0xd72]
push eax
call fcn.0040cc90
add esp, 0xc
xor eax, eax
mov word [esp + 0x1998], ax
push 0x206
push eax
lea eax, [esp + 0x19a2]
push eax
call fcn.0040cc90
add esp, 0xc
xor eax, eax
mov word [esp + 0x1da8], ax
push 0x206
push eax
lea eax, [esp + 0x1db2]
push eax
call fcn.0040cc90
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0040b2bc
add esp, 4
call fcn.0040b29b
cdq
mov ebx, 0x1a
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
lea eax, [esp + 0xf80]
add edx, 0x61
push edx
push str._c_c_c_c_c.exe
push eax
call fcn.004041b0
add esp, 0x1c
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
lea eax, [esp + 0x19ac]
add edx, 0x61
push edx
push str._c_c_c_c_c_c
push eax
call fcn.004041b0
add esp, 0x20
lea eax, [esp + 0x1998]
push eax
lea eax, [esp + 0xd6c]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0xd68]
push 0x4226f8
push eax
call edi
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
add edx, 0x61
push edx
call fcn.0040b29b
cdq
idiv ebx
lea eax, [esp + 0x1db8]
add edx, 0x61
push edx
push str._c_c_c_c_c
push eax
call fcn.004041b0
add esp, 0x18
call fcn.00407fe0
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x402b62
xor eax, eax
xor edi, edi
push 0x206
push eax
mov word [esp + 0x348], ax
lea eax, [esp + 0x34a]
push eax
call fcn.0040cc90
add esp, 0xc
xor eax, eax
mov word [esp + 0x750], ax
push 0x206
push eax
lea eax, [esp + 0x75a]
push eax
call fcn.0040cc90
add esp, 0xc
lea eax, [esp + 0x548]
push eax
lea eax, [esp + 0x344]
push 0x104
push eax
call fcn.0040a9b2
add esp, 0xc
lea eax, [esp + 0x340]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4028bf
push edi
lea eax, [esp + 0x344]
push eax
call esi
lea eax, [esp + 0x18]
xor edx, edx
push eax
mov ecx, ebx
call fcn.004080b0
add esp, 4
test eax, eax
jne 0x402b56
jmp 0x4028e0
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x754]
push 0x104
push eax
call fcn.0040a9b2
add esp, 0xc
lea eax, [esp + 0x2d8]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x40293a
lea eax, [esp + 0xd68]
push eax
lea eax, [esp + 0x754]
push 0x104
push eax
call fcn.0040a8fb
add esp, 0xc
lea eax, [esp + 0xf70]
jmp 0x40293e
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x754]
push 0x104
push eax
call fcn.0040a8fb
xor eax, eax
mov dword [esp + 0x268], 7
add esp, 0xc
mov dword [esp + 0x258], 0
mov word [esp + 0x248], ax
cmp word [esp + 0x750], ax
je 0x40299f
lea eax, [esp + 0x750]
lea edx, [eax + 2]
jmp 0x402990
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402990
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x754]
push eax
lea ecx, [esp + 0x250]
call fcn.00403840
push 8
sub esp, 8
lea ecx, [esp + 0x254]
call fcn.004035c0
cmp eax, 0xffffffff
je 0x402a43
push 8
sub esp, 8
lea ecx, [esp + 0x254]
call fcn.004035c0
push str.WeiDuanS
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esp + 0x1998], 0
mov dword [esp + 0x270], eax
jne 0x4029fe
xor ecx, ecx
jmp 0x402a26
lea ecx, [esp + 0x1998]
lea edx, [ecx + 2]
jmp 0x402a10
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402a10
mov eax, dword [esp + 0x270]
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [esp + 0x199c]
push ecx
push eax
push esi
lea ecx, [esp + 0x258]
call fcn.00403410
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x224]
test al, 0x10
je 0x402a71
cmp dword [esp + 0x25c], 8
lea eax, [esp + 0x248]
push 0
cmovae eax, dword [esp + 0x24c]
push eax
call esi
mov eax, dword [esp + 0x224]
test al, 0x20
je 0x402b1d
cmp dword [esp + 0x25c], 8
lea eax, [esp + 0x248]
push 0x422984
cmovae eax, dword [esp + 0x24c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040b388
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x402b1d
push dword [esp + 0x244]
call fcn.0040a673
add esp, 4
mov esi, eax
push dword [esp + 0x244]
push 0
push esi
call fcn.0040cc90
add esp, 0xc
cmp dword [ebx], 1
je 0x402ade
mov dword [0x7c1dfc], 0x80000
jmp 0x402af5
push ecx
push dword [esp + 0x248]
mov ecx, dword [ebx + 4]
push esi
push edi
call fcn.00407ee0
mov dword [0x7c1dfc], eax
push dword [esp + 0x14]
push dword [esp + 0x248]
push 1
push esi
call fcn.0040b5f0
push dword [esp + 0x24]
call fcn.0040b6de
add esp, 0x14
push esi
call fcn.0040ab4e
add esp, 4
inc edi
cmp dword [esp + 0x25c], 8
jb 0x402b37
push dword [esp + 0x248]
call fcn.0040a81d
add esp, 4
lea eax, [esp + 0x18]
mov edx, edi
push eax
mov ecx, ebx
call fcn.004080b0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 4
test eax, eax
je 0x4028e0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push 1
push 0
push 5
push 0x10000000
push 0x7c19e8
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x960], ax
lea eax, [esp + 0x962]
push eax
call fcn.0040cc90
add esp, 0xc
lea eax, [esp + 0x548]
push eax
lea eax, [esp + 0x95c]
push 0x104
push eax
call fcn.0040a9b2
add esp, 0xc
lea eax, [esp + 0xd68]
push eax
lea eax, [esp + 0x95c]
push 0x104
push eax
call fcn.0040a8fb
add esp, 0xc
lea eax, [esp + 0xf70]
push eax
lea eax, [esp + 0x95c]
push 0x104
push eax
call fcn.0040a8fb
add esp, 0xc
xor eax, eax
mov word [esp + 0x1380], ax
push 0x206
push eax
lea eax, [esp + 0x138a]
push eax
call fcn.0040cc90
add esp, 0xc
lea eax, [esp + 0x548]
push eax
lea eax, [esp + 0x1384]
push 0x104
push eax
call fcn.0040a9b2
add esp, 0xc
lea eax, [esp + 0x1380]
push str.WeiDuanN_
push 0x104
push eax
call fcn.0040a8fb
add esp, 0xc
lea eax, [esp + 0x1380]
push 0x42298c
push 0x104
push eax
call fcn.0040a8fb
mov bl, byte [esp + 0x1c]
add esp, 0xc
test bl, bl
je 0x402d18
lea eax, [esp + 0x750]
mov dword [esp + 0x750], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x754], 5
jne 0x402d05
cmp dword [esp + 0x758], 1
jne 0x402d05
xor eax, eax
push 0x206
push eax
mov word [esp + 0x348], ax
lea eax, [esp + 0x34a]
push eax
call fcn.0040cc90
add esp, 0xc
lea eax, [esp + 0x548]
push eax
lea eax, [esp + 0x344]
push eax
call esi
lea eax, [esp + 0xd68]
push eax
lea eax, [esp + 0x344]
push eax
call edi
push dword [esp + 0x10]
lea edx, [esp + 0x344]
push ecx
lea ecx, [esp + 0x960]
call fcn.004013f0
add esp, 8
jmp 0x402d18
push dword [esp + 0x10]
lea ecx, [esp + 0x95c]
call fcn.004016a0
add esp, 4
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x206
push eax
mov word [esp + 0xb68], ax
lea eax, [esp + 0xb6a]
push eax
call fcn.0040cc90
add esp, 0xc
lea eax, [esp + 0xb60]
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4226f8
lea eax, [esp + 0xb64]
push eax
call edi
push str.7k7k
lea eax, [esp + 0xb64]
push eax
call edi
push 0x4226f8
lea eax, [esp + 0xb64]
push eax
call edi
push str.7k7k
sub esp, 0xc
lea ecx, [esp + 0xb70]
lea edx, [esp + 0x968]
test bl, bl
jne 0x402dad
lea edx, [esp + 0x1390]
call fcn.004019e0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [esp + 0xb70]
add esp, 0x10
push 0x7c19e8
push eax
push str.StartMenuPath
push str.config
call esi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x1590], ax
lea eax, [esp + 0x1592]
push eax
call fcn.0040cc90
add esp, 0xc
lea eax, [esp + 0x548]
push eax
lea eax, [esp + 0x158c]
push 0x104
push eax
call fcn.0040a9b2
add esp, 0xc
lea eax, [esp + 0x1588]
push str.WeiDuanN_
push eax
call edi
push str.unins000.exe
lea eax, [esp + 0x158c]
push eax
call edi
lea edx, [esp + 0x1588]
lea ecx, [esp + 0xb60]
test bl, bl
je 0x402e48
push 0x4229d8
jmp 0x402e4d
push 0x4229e0
sub esp, 0xc
call fcn.004019e0
add esp, 0x10
xor eax, eax
mov word [esp + 0x1178], ax
push 0x206
push eax
lea eax, [esp + 0x1182]
push eax
call fcn.0040cc90
add esp, 0xc
lea eax, [esp + 0x548]
push eax
lea eax, [esp + 0x117c]
push 0x104
push eax
call fcn.0040a9b2
add esp, 0xc
test bl, bl
je 0x402ec0
lea eax, [esp + 0xd68]
push eax
lea eax, [esp + 0x117c]
push 0x104
push eax
call fcn.0040a8fb
add esp, 0xc
lea eax, [esp + 0xf70]
push eax
jmp 0x402edf
push str.WeiDuanN_
lea eax, [esp + 0x117c]
push 0x104
push eax
call fcn.0040a8fb
add esp, 0xc
push 0x42298c
lea eax, [esp + 0x117c]
push 0x104
push eax
call fcn.0040a8fb
add esp, 0xc
push str.7k7k
push ecx
lea ecx, [esp + 0x1180]
call fcn.004021a0
add esp, 8
push str.Internet_Explorer
push ecx
mov ecx, str._ProgramFiles_Internet_Exploreriexplore.exe
call fcn.004021a0
add esp, 8
push 0x7c19e8
test bl, bl
je 0x40306f
push 0x422a6c
push 0x422a70
push str.config
call esi
lea eax, [esp + 0x548]
push eax
lea eax, [esp + 0x1794]
push 0x104
push eax
call fcn.0040a9b2
add esp, 0xc
lea eax, [esp + 0xd68]
push eax
lea eax, [esp + 0x1794]
push 0x104
push eax
call fcn.0040a8fb
add esp, 0xc
lea eax, [esp + 0xf70]
push eax
lea eax, [esp + 0x1794]
push 0x104
push eax
call fcn.0040a8fb
xor eax, eax
mov dword [esp + 0x254], 0x2f0020
add esp, 0xc
mov word [esp + 0x258], ax
lea eax, [esp + 0x248]
mov dword [esp + 0x24c], 0x6e0069
mov ecx, 0x69
mov dword [esp + 0x250], 0x740069
mov dword [esp + 0x254], 0x630061
push eax
lea eax, [esp + 0x1794]
push 0x104
push eax
call fcn.0040a8fb
add esp, 8
lea edx, [esp + 0x1794]
push 0
call fcn.00401b90
add esp, 8
lea eax, [esp + 0xf70]
push 0x7c19e8
push eax
push 0x422a90
push str.config
call esi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x348], ax
lea eax, [esp + 0x34a]
push eax
call fcn.0040cc90
add esp, 0xc
lea eax, [esp + 0x548]
push eax
lea eax, [esp + 0x344]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0xd68]
push eax
lea eax, [esp + 0x344]
push eax
call edi
push 0x7c19e8
lea eax, [esp + 0x344]
push eax
push str.InstallPathS
jmp 0x403079
push 0x422a8c
push 0x422a70
push str.config
call esi
push 0x7c19e8
push 0x42298c
push str.REName
push str.config
call esi
push 0x7c19e8
lea eax, [esp + 0x1ba4]
push eax
push str.InstallName
push str.config
call esi
push 0x7c19e8
lea eax, [esp + 0x54c]
push eax
push str.InstallPath
push str.config
call esi
test bl, bl
je 0x4032b3
lea eax, [esp + 0x10]
mov dword [esp + 0x278], 0x4f0053
push eax
push 2
xor esi, esi
mov dword [esp + 0x284], 0x540046
push esi
lea eax, [esp + 0x284]
mov dword [esp + 0x28c], 0x410057
push eax
push 0x80000002
mov dword [esp + 0x298], 0x450052
mov dword [esp + 0x29c], 0x4d005c
mov dword [esp + 0x2a0], 0x630069
mov dword [esp + 0x2a4], 0x6f0072
mov dword [esp + 0x2a8], 0x6f0073
mov dword [esp + 0x2ac], 0x740066
mov dword [esp + 0x2b0], 0x57005c
mov dword [esp + 0x2b4], 0x6e0069
mov dword [esp + 0x2b8], 0x6f0064
mov dword [esp + 0x2bc], str.kGhh
mov dword [esp + 0x2c0], 0x43005c
mov dword [esp + 0x2c4], 0x720075
mov dword [esp + 0x2c8], 0x650072
mov dword [esp + 0x2cc], 0x74006e
mov dword [esp + 0x2d0], 0x650056
mov dword [esp + 0x2d4], 0x730072
mov dword [esp + 0x2d8], 0x6f0069
mov dword [esp + 0x2dc], 0x5c006e
mov dword [esp + 0x2e0], 0x750052
mov dword [esp + 0x2e4], 0x6e
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40328e
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x248]
push eax
lea eax, [esp + 0x95c]
mov dword [esp + 0x24c], 0x2f0020
push eax
mov dword [esp + 0x254], 0x750061
mov dword [esp + 0x258], 0x6f0074
mov dword [esp + 0x25c], 0x750072
mov dword [esp + 0x260], 0x6e
call edi
lea ecx, [esp + 0x958]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403253
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [esp + 0x95c]
push eax
push 1
push 0
lea eax, [esp + 0x1db8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x40328e
push esi
call ebx
xor esi, esi
sub esp, 8
call fcn.00408c70
add esp, 4
lea edx, [esp + 0x95c]
push 5
call fcn.00401b90
add esp, 8
test esi, esi
je 0x4032c5
push esi
call ebx
jmp 0x4032c5
push ecx
push 5
lea edx, [esp + 0x1388]
call fcn.00401b90
add esp, 8
mov ecx, dword [esp + 0x1fb4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a822
mov esp, ebp
pop ebp
ret 0x10