joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410ce7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
and word [ebp - 0x20c], 0
push ebx
push esi
mov esi, ecx
mov ebx, 0x81
push edi
push dword [esi + 0xc]
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
push 0
push str.IsSave
push str.AddUnstall
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and word [ebp - 0x414], 0
mov dword [ebp - 4], eax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x412]
push dword [esi + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x414]
push 0x104
push eax
mov ebx, 0x42a1f4
push 0x42c4b4
mov edi, str.Main
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x414], 0
je 0x410d74
cmp dword [ebp - 4], 1
jne 0x410d84
push dword [esi + 0xc]
push 0x42b9d0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esi + 4]
cmp dword [eax + 8], 0
je 0x410d97
push dword [esi + 0x18]
push str._s_seup.exe__reinstall
jmp 0x410dac
cmp dword [esi + 0x20], 0
push dword [esi + 0x18]
jne 0x410da7
push str._s_seup.exe__install__m
jmp 0x410dac
push str._s_seup.exe__install
lea eax, [ebp - 0x20c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
call fcn.00415416
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4110de
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 8]
cmp dword [eax - 8], edi
je 0x4111d9
push str.3.1.0.0
push eax
call fcn.004158c5
pop ecx
test eax, eax
pop ecx
jge 0x41111b
push dword [esi + 0xc]
push edi
push 0x42a004
push str.ToolBar
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esi + 8]
push ebx
push str.3.1.0.2
push eax
call fcn.004158c5
pop ecx
cmp eax, edi
pop ecx
jge 0x411146
push dword [esi + 0xc]
push edi
push str.PluginBarText
push str.option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x411148
jne 0x4111b0
mov edi, str.NowLogin.ini
lea ebx, [esi + 0x10]
push edi
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00411c85
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
call fcn.00403e55
cmp dword [ebp - 8], 0
je 0x4111b0
push str.NowLogin_bak.ini
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00411c85
mov eax, dword [eax]
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00411c85
push dword [ebp - 8]
mov eax, dword [eax]
push eax
call fcn.00415e3b
pop ecx
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e55
lea ecx, [ebp - 0xc]
call fcn.00403e55
mov eax, dword [esi + 8]
push str.3.0.2.6
push eax
call fcn.004158c5
pop ecx
pop ecx
pop ebx
test eax, eax
jne 0x4111d9
push dword [esi + 0xc]
push eax
push str.1002
push str.ToolBar
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
leave
ret
Function at 0x4111dd
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1458
call fcn.0041f330
and word [ebp - 0x410], 0
push ebx
push esi
mov edx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x40e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [edx + 4]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, 0x103
push dword [eax + 0x2c]
lea eax, [ebp - 0x410]
push 0x429ca4
push ebx
push eax
call esi
and word [ebp - 0x208], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
lea eax, [ebp - 0x410]
push eax
push 0x42a3f8
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x4112f3
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4112f3
and word [ebp - 0x1458], 0
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x1456]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x1458]
push 0x823
push eax
push 0x42c4b4
push 0x42a3f0
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x1458], 0
je 0x4112f3
lea eax, [ebp - 0x1458]
push eax
push str.http:__avc.360.cn_index.html_a6073
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x4112f3
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4112f8
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x145c
call fcn.0041f330
and word [ebp - 0x414], 0
push ebx
push esi
mov edx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [edx + 4]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
and dword [ebp - 4], 0
mov ebx, 0x103
push dword [eax + 0x2c]
lea eax, [ebp - 0x414]
push 0x429ca4
push ebx
push eax
call esi
and word [ebp - 0x20c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
lea eax, [ebp - 0x414]
push eax
push 0x42a4c4
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x411451
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411435
and word [ebp - 0x145c], 0
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x145a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
mov edi, 0x42a3f0
push eax
lea eax, [ebp - 0x145c]
push 0x823
push eax
push 0x42c4b4
mov esi, str.InternetShortcut
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x145c], 0
je 0x41142c
lea eax, [ebp - 0x145c]
push eax
push str.http:__www.baidu.com_index.php_tn360se_dg
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x41142c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push str.http:__www.baidu.com_index.php_se360se_dg
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 4], 1
jmp 0x411451
lea eax, [ebp - 0x20c]
push eax
push str.http:__www.baidu.com_index.php_se360se_dg
push 0x42a3f0
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411459
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push 1
add ecx, 0x18
pop ebx
push ecx
lea ecx, [ebp - 4]
call fcn.004073f5
xor esi, esi
lea ecx, [ebp - 4]
push esi
push 0x4259cc
call fcn.0040743b
cmp eax, esi
jle 0x4114f1
add eax, 2
push edi
push eax
lea eax, [ebp - 8]
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00407395
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
stosd dword es:[edi], eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x10], esi
stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4114e8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
push 0x14
pop ecx
call fcn.0041f460
push str.8.05
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, edi
pop ecx
jbe 0x4114e8
xor ebx, ebx
lea ecx, [ebp - 8]
call fcn.00403e55
pop edi
lea ecx, [ebp - 4]
call fcn.00403e55
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x41162c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2090
call fcn.0041f330
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x5c], 6
je 0x4116f7
and word [ebp - 0x2090], 0
mov ecx, 0x823
xor eax, eax
lea edi, [ebp - 0x208e]
push dword [esi + 0xc]
mov ebx, str.HomePage
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2090]
push 0x1047
push eax
push 0x42c4b4
mov edi, str.option
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x5c]
xor edx, edx
xor ecx, ecx
cmp eax, 2
je 0x41169d
cmp eax, 3
je 0x41169d
cmp eax, 4
jne 0x4116a0
push 1
pop ecx
cmp dword [ebp + 8], edx
jne 0x4116cd
cmp ecx, edx
jne 0x4116cd
mov eax, dword [esi + 0x68]
cmp dword [eax - 8], edx
je 0x4116f7
lea ecx, [ebp - 0x2090]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x4116f7
push dword [esi + 0xc]
push dword [esi + 0x68]
jmp 0x4116ef
mov eax, dword [esi + 0x64]
cmp dword [eax - 8], edx
je 0x4116f7
lea ecx, [ebp - 0x2090]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x4116f7
push dword [esi + 0xc]
push dword [esi + 0x64]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x411802
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x517c
call fcn.0041f330
mov ecx, dword [ebp + 8]
push esi
call fcn.00411bfe
lea eax, [ebp - 8]
xor esi, esi
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4118ec
push ebx
push edi
mov ecx, 0x1459
lea edi, [ebp - 0x517a]
mov word [ebp - 0x517c], si
mov dword [ebp - 0x10], 0x28b3
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x517c]
push eax
push esi
push esi
push str.Secondary_Start_Pages
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4118e1
mov esi, dword [ebp - 0x10]
lea ebx, [ebp - 0x517c]
shr esi, 1
dec esi
test esi, esi
jle 0x4118e1
lea eax, [ebp - 0x517a]
mov edi, 0x429d7c
mov dword [ebp - 0xc], eax
mov ax, word [ebx]
test ax, ax
je 0x4118ab
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
jmp 0x4118cb
mov eax, dword [ebp - 4]
inc eax
cmp eax, esi
jge 0x4118d3
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
je 0x4118d3
mov eax, edi
test eax, eax
je 0x4118c9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, dword [ebp + 8]
call fcn.0040897e
inc dword [ebp - 4]
add dword [ebp - 0xc], 2
inc ebx
inc ebx
cmp dword [ebp - 4], esi
jl 0x411898
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x4119ff
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
and word [ebp - 0x414], 0
push ebx
push esi
mov edx, ecx
push edi
mov ecx, 0x81
push dword [edx + 0x18]
xor eax, eax
lea edi, [ebp - 0x412]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x103
push str._s_seup.exe__delv3cfg
lea eax, [ebp - 0x414]
push ebx
push eax
mov dword [ebp - 4], edx
call esi
and word [ebp - 0x20c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
add esp, 0x10
push dword [eax + 0x18]
lea eax, [ebp - 0x20c]
push str._s_seup.exe
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
test eax, eax
pop ebx
je 0x411aa4
push 0xbb8
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00415416
add esp, 0xc
leave
ret
Function at 0x411aa6
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [ebp - 0x208]
push 0x1a
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
pop edi
je 0x411b38
lea eax, [ebp - 0x208]
push str.360se
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411b38
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411b38
test al, 0x10
jne 0x411b38
lea eax, [ebp - 0x208]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
leave
ret

Function at 0x411b3a
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
add ecx, 0x10
push str._v3update_
lea eax, [ebp - 0xc]
push ecx
push eax
call fcn.00411c85
lea eax, [ebp - 0xc]
push str.v3update.ini
push eax
lea eax, [ebp - 4]
push eax
call fcn.00411c85
lea eax, [ebp - 0xc]
push str.v3update.ini.bak
push eax
lea eax, [ebp - 8]
push eax
call fcn.00411c85
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x411bb7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411bb2
test al, 0x10
jne 0x411bb2
push 0x80
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
test eax, eax
je 0x411be2
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00415e3b
pop ecx
pop ecx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x411be2
push 4
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 8]
call fcn.00403e55
lea ecx, [ebp - 4]
call fcn.00403e55
lea ecx, [ebp - 0xc]
call fcn.00403e55
pop edi
pop esi
leave
ret
Function at 0x411dd8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
push ebx
push esi
mov dword [ebp - 4], ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x822]
mov word [ebp - 0x824], bx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x824]
push 0x17
push eax
push ebx
call esi
test eax, eax
je 0x411e38
lea eax, [ebp - 0x824]
push str.360_3
push eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push 0x425944
push eax
call fcn.00403a7b
add esp, 0x10
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x61a]
mov word [ebp - 0x61c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x61c]
push 0x16
push eax
push ebx
call esi
test eax, eax
je 0x411e8d
mov eax, dword [ebp - 4]
lea edi, [eax + 0x20]
lea eax, [ebp - 0x61c]
test eax, eax
je 0x411e7e
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x61c]
push ecx
push eax
mov ecx, edi
call fcn.0040608d
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
mov word [ebp - 0x414], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x414]
push 0x19
push eax
push ebx
call esi
test eax, eax
je 0x411ee2
mov eax, dword [ebp - 4]
lea edi, [eax + 0x24]
lea eax, [ebp - 0x414]
test eax, eax
je 0x411ed3
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x414]
push ecx
push eax
mov ecx, edi
call fcn.0040608d
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xa2a]
mov word [ebp - 0xa2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0xa2c]
push 0x1a
push eax
push ebx
call esi
test eax, eax
je 0x411f2b
lea eax, [ebp - 0xa2c]
push 0x42a660
push eax
mov eax, dword [ebp - 4]
add eax, 0x28
push 0x425944
push eax
call fcn.00403a7b
add esp, 0x10
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x20c]
push 6
push eax
push ebx
call esi
test eax, eax
je 0x411f80
mov eax, dword [ebp - 4]
lea edi, [eax + 0x2c]
lea eax, [ebp - 0x20c]
test eax, eax
je 0x411f71
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x20c]
push ecx
push eax
mov ecx, edi
call fcn.0040608d
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xc32]
mov word [ebp - 0xc34], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0xc34]
push 0x1a
push eax
push ebx
call esi
test eax, eax
je 0x411fc6
mov esi, dword [ebp - 4]
lea eax, [ebp - 0xc34]
push eax
push 0x425548
lea eax, [esi + 0x18]
push eax
call fcn.00403a7b
add esp, 0xc
jmp 0x411fc9
mov esi, dword [ebp - 4]
push 0x7c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x411fdf
push esi
mov ecx, eax
call fcn.0040caab
jmp 0x411fe1
xor eax, eax
mov ecx, eax
mov dword [esi + 0x30], eax
call fcn.0040cc11
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411ff0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and word [ebp - 0x41c], 0
mov dword [ebp - 4], eax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x41a]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x41c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x412139
push dword [ebp - 4]
lea eax, [ebp - 0x41c]
lea esi, [ebx + 0xc]
push eax
push str._s_d
push esi
call fcn.00403a7b
mov eax, dword [esi]
add esp, 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x412139
push dword [esi]
and word [ebp - 0x210], 0
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x20e]
push str._smini.exe
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0xe4
lea eax, [ebp - 0x210]
push 0x42a6f0
push eax
call fcn.0041613c
add esp, 0x1c
test al, al
je 0x412139
push dword [esi]
add ebx, 0x10
push str._smini
push ebx
call fcn.00403a7b
mov eax, dword [ebx]
add esp, 0xc
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x412139
push dword [ebx]
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x626]
mov word [ebp - 0x628], si
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x210]
push eax
push str._s__P_s
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412139
push 0xea60
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.00415416
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x412173
Capabilities:
Delete file
Move file

Disassembly:
push 4
push 0
push dword [ecx + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret
Function at 0x4125fb
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x41fb70
call fcn.0041f420
sub esp, 0x210
push ebx
xor ebx, ebx
push esi
xor esi, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
push 0x42154c
push 1
push ebx
push 0x42182c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4126d8
mov eax, dword [ebp - 0x10]
push edi
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
push dword [ebp + 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcslen]
push eax
lea eax, [ebp - 0x21c]
push dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x21c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [ebp + 0x10], ebx
pop edi
je 0x4126ae
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x421c5c
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x4126d8
mov eax, dword [ebp - 0x14]
push 2
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x4126d8
push 1
pop esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4126e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4126f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x412be8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
lea eax, [ebp - 0x114]
push esi
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x104], 2
push 1
mov dword [0x42c4d8], eax
mov dword [0x42c4e4], eax
mov dword [0x42c4dc], eax
mov dword [0x42c4e0], eax
pop esi
jne 0x412c89
cmp dword [ebp - 0x110], 5
jne 0x412c54
cmp dword [ebp - 0x10c], eax
jne 0x412c44
mov dword [0x42c4e4], esi
jmp 0x412c97
cmp dword [ebp - 0x10c], esi
jne 0x412c97
mov dword [0x42c4dc], esi
jmp 0x412c97
cmp dword [ebp - 0x110], 6
jne 0x412c97
cmp dword [ebp - 0x10c], eax
je 0x412c6d
cmp dword [ebp - 0x10c], esi
jne 0x412c97
cmp dword [ebp - 0x10c], esi
mov dword [0x42c4dc], esi
mov dword [0x42c4e0], esi
jne 0x412c97
mov dword [0x42c4e8], esi
jmp 0x412c97
cmp dword [ebp - 0x104], esi
jne 0x412c97
mov dword [0x42c4d8], esi
mov ax, word [0x42c4b4]
push edi
mov word [ebp - 0x31c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x31a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x31c]
push 0x103
push eax
call fcn.00413d68
cmp word [ebp - 0x31c], 0x37
pop ecx
pop ecx
pop edi
jne 0x412cdc
mov dword [0x42c4ec], esi
jmp 0x412cfe
cmp word [ebp - 0x31c], 0x36
jne 0x412cee
mov dword [0x42c4f0], esi
jmp 0x412cfe
cmp word [ebp - 0x31c], 0x38
jne 0x412cfe
mov dword [0x42c4f4], esi
pop esi
leave
ret

Function at 0x412d70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x104], 2
jne 0x412de4
cmp dword [ebp - 0x110], 5
jne 0x412de4
cmp dword [ebp - 0x10c], 1
jne 0x412de4
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x100]
push str.Service_Pack_2
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x412dde
lea eax, [ebp - 0x100]
push str.Service_Pack_3
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x412dde
xor eax, eax
jmp 0x412de1
push 1
pop eax
pop esi
leave
ret
xor eax, eax
leave
ret

Function at 0x4135af
Capabilities:
Delete file
Move file

Disassembly:
cmp dword [esp + 8], 0
jne 0x4135d0
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x4135c8
xor eax, eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4135d3
push 5
pop eax
cmp eax, 5
je 0x4135e1
cmp eax, 0x20
je 0x4135e1
push 1
pop eax
ret
cmp dword [0x42c4d8], 0
je 0x413602
push 0
push dword [esp + 8]
call fcn.00413614
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov eax, ecx
ret
push 4
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
pop eax
ret