Function at 0x4024a0
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.AngerFight
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x4032c0
push 0x206
push eax
mov word [esp + 0x1db0], ax
lea eax, [esp + 0x1db2]
push eax
call fcn.0040cc90
add esp, 0xc
lea ecx, [esp + 0x1da8]
call fcn.00402380
mov byte [esp + 0x14], 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.afght_
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 0x6367a8
call esi
push str.softinfo.ini
push 0x104
push 0x6367a8
call fcn.0040a8fb
add esp, 0xc
push 0x6365a0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x4025f5
push 0x6367a8
push 0x104
push 0x6365a0
push 0x4226fc
push str.REName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x6365a0
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 + 0x1ba0], ax
push 0x206
push eax
lea eax, [esp + 0x1baa]
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 + 0x1bb0]
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 0x402b52
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 0x4028af
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 0x402b46
jmp 0x4028d0
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 0x40292a
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 0x40292e
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 0x40298f
lea eax, [esp + 0x750]
lea edx, [eax + 2]
jmp 0x402980
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402980
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 0x402a33
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 0x4029ee
xor ecx, ecx
jmp 0x402a16
lea ecx, [esp + 0x1998]
lea edx, [ecx + 2]
jmp 0x402a00
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402a00
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 0x402a61
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 0x402b0d
cmp dword [esp + 0x25c], 8
lea eax, [esp + 0x248]
push 0x422984
cmovae eax, dword [esp + 0x24c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040b388
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x402b0d
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 0x402ace
mov dword [0x636bbc], 0x80000
jmp 0x402ae5
push ecx
push dword [esp + 0x248]
mov ecx, dword [ebx + 4]
push esi
push edi
call fcn.00407ee0
mov dword [0x636bbc], eax
push dword [esp + 0x10]
push dword [esp + 0x248]
push 1
push esi
call fcn.0040b5f0
push dword [esp + 0x20]
call fcn.0040b6de
add esp, 0x14
push esi
call fcn.0040ab4e
add esp, 4
inc edi
cmp dword [esp + 0x25c], 8
jb 0x402b27
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 0x4028d0
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 0x6367a8
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 + 0x20]
add esp, 0xc
test bl, bl
je 0x402d08
lea eax, [esp + 0x750]
mov dword [esp + 0x750], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x754], 5
jne 0x402cf5
cmp dword [esp + 0x758], 1
jne 0x402cf5
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 + 0x14]
lea edx, [esp + 0x344]
push ecx
lea ecx, [esp + 0x960]
call fcn.004013f0
add esp, 8
jmp 0x402d08
push dword [esp + 0x14]
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 0x42299c
lea eax, [esp + 0xb64]
push eax
call edi
push 0x4226f8
lea eax, [esp + 0xb64]
push eax
call edi
push 0x42299c
sub esp, 0xc
lea ecx, [esp + 0xb70]
lea edx, [esp + 0x968]
test bl, bl
jne 0x402d9d
lea edx, [esp + 0x1390]
call fcn.004019e0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [esp + 0xb70]
add esp, 0x10
push 0x6367a8
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 0x403016
push 0x4229c0
sub esp, 0xc
call fcn.004019e0
add esp, 0x10
mov dword [esp + 0x278], 0x4f0053
lea eax, [esp + 0x14]
mov dword [esp + 0x27c], 0x540046
mov ecx, 0x6e
mov dword [esp + 0x280], 0x410057
mov dword [esp + 0x284], 0x450052
push eax
push 2
push 0
lea eax, [esp + 0x284]
mov dword [esp + 0x294], 0x4d005c
push eax
push 0x80000002
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], 0x730077
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], ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403026
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
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]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402fd0
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 + 0x1bb0]
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403026
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403026
push 0x4229c8
sub esp, 0xc
call fcn.004019e0
add esp, 0x10
xor eax, eax
push 0x206
push eax
mov word [esp + 0x1180], ax
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 0x40308e
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 0x4030ad
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 0x42299c
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 0x6367a8
test bl, bl
je 0x40323d
push 0x422a54
push 0x422a58
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 0x6367a8
push eax
push 0x422a78
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 0x6367a8
lea eax, [esp + 0x344]
push eax
push str.InstallPathS
jmp 0x403247
push 0x422a74
push 0x422a58
push str.config
call esi
push 0x6367a8
push 0x42298c
push str.REName
push str.config
call esi
push 0x6367a8
lea eax, [esp + 0x1dac]
push eax
push str.InstallName
push str.config
call esi
push 0x6367a8
lea eax, [esp + 0x54c]
push eax
push str.InstallPath
push str.config
call esi
test bl, bl
je 0x4032ae
sub esp, 8
call fcn.00408c70
add esp, 4
lea edx, [esp + 0x95c]
jmp 0x4032b6
push ecx
lea edx, [esp + 0x1384]
push 5
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