joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402290
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x818
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push esi
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00434ac0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x402316
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.004331eb
add esp, 0x818
ret
push str.360ver.dll
lea edx, [esp + 0x1c]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4022f9
call fcn.00402860
test eax, eax
je 0x4022f9
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0040a280
add esp, 4
test eax, eax
jne 0x402379
push 0x4670a8
lea esi, [esp + 0x10]
lea ebx, [esp + 0x1c]
call fcn.0040a3a0
test eax, eax
je 0x4022f9
cmp dword [esp + 0xc], 3
je 0x4022f9
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4022f9
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x81c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004331eb
add esp, 0x818
ret

Function at 0x4023c0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1010
call fcn.00447e90
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x1008], eax
push edi
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00434ac0
add esp, 0xc
push 0x457d98
lea edi, [esp + 0xc]
call fcn.00402240
push esi
call fcn.00402240
push 0x457da0
call fcn.00402240
push esi
call fcn.00402240
push str.vL
call fcn.00402240
push ebx
call fcn.00402240
push 0x457df0
call fcn.00402240
push 0x14
push esi
mov ecx, edi
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x40248c
push 0xc8
push 0x457ca0
push str.http:__down.360safe.com_setup.exe
call fcn.00435fae
add esp, 0xc
test eax, eax
jne 0x402474
call fcn.00402290
test eax, eax
je 0x402474
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x40247f
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call fcn.00433960
int3
Function at 0x4060d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x4060e0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4060f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4065e0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x40665a
xor eax, eax
cmp ecx, ebp
je 0x406642
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x406668
cmp ecx, ebp
je 0x4066fb
push ecx
jmp 0x4066f5
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x4066ca
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.004065e0
mov ebx, eax
cmp ebx, ebp
jne 0x406718
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x406690
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4066dd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00406790
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4066fb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004331eb
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x406727
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4066fd
Function at 0x407210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x44b400
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x462100]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x40728f
call fcn.00405a10
mov esi, eax
jmp 0x407371
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x4072ab
call fcn.00405a10
jmp 0x407368
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x4072c4
call fcn.00405a10
jmp 0x407368
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x4072f8
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x4072e6
lea eax, [ebp]
call fcn.00401c10
lea esi, [ebp - 0x1c]
call fcn.00406120
mov eax, 0x8007000e
jmp 0x407383
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.004059d0
mov dword [ebp - 4], 1
jmp 0x407321
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x40732f
mov esi, 0x8007000e
jmp 0x40736a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x40734d
call fcn.00405a10
jmp 0x407368
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.004070c0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x407381
lea eax, [ebp]
call fcn.00401c10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004331eb
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407f70
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
lea eax, [esp + 0x10]
push eax
push ebp
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x407f94
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
push esi
call fcn.00433be7
mov edi, eax
add esp, 4
test edi, edi
jne 0x407fac
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x407fe7
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x458bbc
push edi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
push edi
call fcn.004331fa
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x4084f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x19c
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x198], eax
xor eax, eax
push 0x18e
push eax
lea ecx, [esp + 0x12]
mov dword [esp + 8], 0
push ecx
mov word [esp + 0x14], ax
call fcn.00434ac0
add esp, 0xc
lea edx, [esp]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationsFtpUserChoice_
push SysReAllocStringLen
mov dword [esp + 0x18], 0xc8
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.004026a0
mov ecx, dword [esp + 0x198]
xor ecx, esp
mov eax, esi
call fcn.004331eb
add esp, 0x19c
ret
Function at 0x408890
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44b9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
mov eax, dword [0x462100]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov dword [esp + 0x430], 0
mov eax, dword [esp + 0x438]
cmp dword [eax - 8], 0
jne 0x408912
lea ecx, [eax - 0xc]
cmp ecx, dword [0x463830]
je 0x408a9b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x408a9b
mov edx, dword [esp + 0x438]
add edx, 0xfffffff4
push edx
jmp 0x408a93
push 0x208
lea eax, [esp + 0x220]
push 0
push eax
call fcn.00434ac0
mov edx, dword [0x465b84]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x220]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x21c]
push eax
call esi
lea ecx, [esp + 0x21c]
push ecx
call esi
push 0x458b0c
lea edx, [esp + 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00434ac0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0x104
call esi
test eax, eax
jne 0x408a05
cmp dword [esp + 0xc], 1
jne 0x408a05
lea ebx, [esp + 0x14]
call fcn.00409e00
test eax, eax
je 0x408a05
lea edx, [esp + 0x21c]
push edx
call fcn.00409fa0
add esp, 4
test eax, eax
je 0x408a05
mov ecx, dword [esp + 0x438]
push 0
mov edx, ebx
call fcn.00409e40
add esp, 4
lea ecx, [esp + 0x438]
call fcn.00402d00
jmp 0x408a9b
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x408a68
cmp dword [esp + 0xc], 1
jne 0x408a68
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408a68
lea ecx, [esp + 0x21c]
push ecx
call fcn.00409fa0
add esp, 4
test eax, eax
je 0x408a68
mov ecx, dword [esp + 0x438]
push str.open
lea edx, [esp + 0x18]
call fcn.00409e40
add esp, 4
mov eax, dword [esp + 0x438]
lea edx, [eax - 0xc]
cmp edx, dword [0x463830]
je 0x408a9b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x408a9b
mov eax, dword [esp + 0x438]
add eax, 0xfffffff4
push eax
call fcn.00433555
add esp, 4
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004331eb
add esp, 0x428
ret
Function at 0x408b00
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0x408ad0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x408b46
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 4]
pop esi
pop ecx
ret
push 0
push str.360NetmonWindowClass364B97E2_D014_4e2f_88C7_482B040F0D31
call dword [sym.imp.USER32.dll_FindWindowW]
pop esi
pop ecx
ret
Function at 0x409230
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
push esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 4]
push eax
push 0x44d53c
push 1
push 0
push 0x44d5ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x4092e7
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 0
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0
push eax
call edx
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x44d5bc
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x4092db
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x409300
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44b316
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov eax, dword [0x462100]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esp + 0x234], 1
call fcn.00434ac0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, dword [esp + 0x230]
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.004026a0
mov ebx, str..lnk
lea esi, [esp + 0x10]
mov byte [esp + 0x228], 2
call fcn.00409e70
mov byte [esp + 0x228], 3
mov esi, dword [esp + 0x10]
mov edx, dword [esi - 8]
push esi
push edx
lea ecx, [esp + 0x14]
call fcn.00409860
mov byte [esp + 0x228], 2
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi - 0xc]
cmp eax, dword [0x463830]
je 0x4093e8
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x4093e8
push esi
call fcn.00433555
add esp, 4
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x234]
push esi
push ecx
push edi
call fcn.00409230
lea edx, [esi - 0xc]
add esp, 0xc
cmp edx, dword [0x463830]
je 0x40941c
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x40941c
push esi
call fcn.00433555
add esp, 4
mov eax, dword [esp + 0x230]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x463830]
je 0x40944b
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40944b
mov edx, dword [esp + 0x230]
add edx, 0xfffffff4
push edx
call fcn.00433555
add esp, 4
mov eax, dword [esp + 0x234]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x463830]
je 0x40947a
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40947a
mov edx, dword [esp + 0x234]
add edx, 0xfffffff4
push edx
call fcn.00433555
add esp, 4
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004331eb
add esp, 0x220
ret
Function at 0x4094a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x248
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x4a]
push ecx
mov word [esp + 0x4c], ax
call fcn.00434ac0
xor edx, edx
push 0x3a
push edx
lea eax, [esp + 0x1a]
push eax
mov word [esp + 0x1c], dx
call fcn.00434ac0
lea eax, [esp + 0x1c]
mov esi, str.360_
mov ecx, eax
add esp, 0x18
mov edx, 0x1e
sub esi, ecx
lea ecx, [edx + 0x7fffffe0]
test ecx, ecx
je 0x409515
movzx ecx, word [esi + eax]
test cx, cx
je 0x409515
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4094f5
jmp 0x409519
test edx, edx
jne 0x40951c
sub eax, 2
xor edx, edx
mov word [eax], dx
push 0x104
lea eax, [esp + 0x44]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x1e
lea ecx, [esp + 8]
push ecx
push 1
lea edx, [esp + 0x4c]
push edx
push str.Local_SettingsSoftwareMicrosoftWindowsShellMuiCache
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 0x248]
pop esi
xor ecx, esp
call fcn.004331eb
add esp, 0x248
ret

Function at 0x409570
Capabilities:
Get file size

Disassembly:
push ecx
push esi
test edx, edx
je 0x4095cf
mov eax, edx
lea esi, [eax + 2]
jmp 0x409580
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409580
sub eax, esi
sar eax, 1
je 0x4095cf
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4095cf
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
pop ecx
ret
mov eax, 1
pop esi
pop ecx
ret

Function at 0x4095e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [0x467528]
test eax, eax
ja 0x409632
push 0x118
lea edx, [esp + 8]
push 0
push edx
call fcn.00434ac0
add esp, 0xc
lea eax, [esp]
push eax
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
sbb eax, eax
neg eax
inc eax
mov dword [0x467528], eax
xor ecx, ecx
cmp eax, 1
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004331eb
add esp, 0x120
ret
Function at 0x40abb0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebx
mov ebx, eax
push esi
mov esi, ecx
test ebx, ebx
je 0x40ac6e
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ac6e
cmp dword [esi + 0x14], 0
je 0x40abdb
pop esi
mov eax, 1
pop ebx
ret
push ebp
mov ebp, 1
call fcn.00402910
test eax, eax
je 0x40abf1
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x40abfc
pop ebp
pop esi
pop ebx
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45a1fc
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x14]
push str.CMD_SendMessage
push eax
call edi
mov ecx, dword [esi + 0x14]
push str.CMD_SendMsgCopyData
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x14]
push str.CMD_LauchBrowser
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push str.CMD_DownloadNetmSkin
push eax
call edi
cmp dword [esi], 0
mov dword [esi + 0x10], eax
pop edi
je 0x40ac61
cmp dword [esi + 4], 0
je 0x40ac61
cmp dword [esi + 8], 0
je 0x40ac61
cmp dword [esi + 0xc], 0
je 0x40ac61
test eax, eax
jne 0x40ac68
xor ebp, ebp
call fcn.0040ac80
mov eax, ebp
pop ebp
pop esi
pop ebx
ret
pop esi
xor eax, eax
pop ebx
ret
Function at 0x40c680
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44bb58
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x462100]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 2
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [edi + 8]
cmp eax, ecx
je 0x40c6f6
cmp dword [eax - 0xc], 0
jge 0x40c6cf
add eax, 0xfffffff4
cmp eax, dword [0x463830]
jne 0x40c6d5
cmp dword [ecx - 0xc], 0
jge 0x40c6e3
mov eax, dword [ecx - 8]
push ecx
push eax
mov ecx, esi
call fcn.00402500
jmp 0x40c6f6
mov ecx, esi
call fcn.00402970
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call ebx
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
lea esi, [edi + 0xc]
cmp eax, ecx
je 0x40c73c
cmp dword [eax - 0xc], 0
jge 0x40c715
add eax, 0xfffffff4
cmp eax, dword [0x463830]
jne 0x40c71b
cmp dword [ecx - 0xc], 0
jge 0x40c729
push ecx
mov ecx, dword [ecx - 8]
push ecx
mov ecx, esi
call fcn.00402500
jmp 0x40c73c
mov ecx, esi
call fcn.00402970
mov eax, dword [esp + 0x20]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call ebx
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x24]
lea esi, [edi + 0x10]
cmp eax, ecx
je 0x40c782
cmp dword [eax - 0xc], 0
jge 0x40c75b
add eax, 0xfffffff4
cmp eax, dword [0x463830]
jne 0x40c761
cmp dword [ecx - 0xc], 0
jge 0x40c76f
mov edx, dword [ecx - 8]
push ecx
push edx
mov ecx, esi
call fcn.00402500
jmp 0x40c782
mov ecx, esi
call fcn.00402970
mov eax, dword [esp + 0x24]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call ebx
push 0
push 0
push edi
push 0x40c440
push 0
push 0
call fcn.00434724
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x463830]
je 0x40c7ce
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40c7ce
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00433555
add esp, 4
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x463830]
je 0x40c7f7
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40c7f7
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00433555
add esp, 4
mov eax, dword [esp + 0x24]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x463830]
je 0x40c820
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40c820
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00433555
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0xc