joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001323
Capabilities:
Create process on windows
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push edi
call fcn.1000114e
test eax, eax
je 0x10001441
push 0x1000a0a8
push dword [0x1000b204]
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x10001441
push dword [0x1000b200]
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [ebp - 8], eax
push dword [ebp - 8]
call sub.MSVCRT.dll_strlen
pop ecx
mov dword [ebp - 0xc], eax
jmp 0x10001375
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jb 0x10001397
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x10001395
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
and byte [eax + 1], 0
jmp 0x10001397
jmp 0x1000136e
push dword [ebp - 8]
call sub.MSVCRT.dll_strlen
pop ecx
add eax, 0x32
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10001439
push dword [ebp - 8]
push str._siexplore.exe
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push dword [ebp - 4]
push dword [0x1000b200]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
and dword [ebp - 0x48], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x440
and dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], str.runas
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], str.RUNAS
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
leave
ret
Function at 0x1000153e
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x128], 0x128
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x130]
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x138], eax
push dword [ebp + 8]
call fcn.1000710e
pop ecx
mov eax, dword [0x1000b200]
mov dword [ebp - 0x13c], eax
push dword [0x1000b200]
call sub.MSVCRT.dll_strlen
pop ecx
dec eax
mov dword [ebp - 0x12c], eax
jmp 0x100015ae
mov eax, dword [ebp - 0x12c]
dec eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jl 0x100015e4
mov eax, dword [0x1000b200]
add eax, dword [ebp - 0x12c]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x100015e2
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x13c]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x13c], eax
jmp 0x100015e4
jmp 0x100015a1
push dword [ebp - 0x13c]
call fcn.1000710e
pop ecx
cmp dword [ebp - 0x138], 0
je 0x10001694
lea eax, [ebp - 0x104]
push eax
call fcn.1000710e
pop ecx
push dword [ebp - 0x13c]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x10001677
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10001677
push dword [ebp - 0x120]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x1000166b
push 0
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x134], eax
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x130]
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x138], eax
jmp 0x100015f0
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x100017bd
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0c
and dword [ebp - 0x60c], 0
mov dword [ebp - 0x104], 0x3ff
lea eax, [ebp - 0x208]
push eax
push 0x20019
push 0
push 0x1000a0e8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001805
push dword [ebp - 0x208]
call fcn.100016f5
pop ecx
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x208]
push eax
push 0x20019
push 0
push 0x1000a118
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000183f
push dword [ebp - 0x208]
call fcn.100016f5
pop ecx
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1000a148
call fcn.1000153e
pop ecx
push str.acrotray
call fcn.1000153e
pop ecx
push 0x1000a160
call fcn.1000153e
pop ecx
push 0x1000a164
call fcn.1000153e
pop ecx
push 0x1000a168
call fcn.1000153e
pop ecx
push 0x1000a174
call fcn.1000153e
pop ecx
push 0x1000a180
call fcn.1000153e
pop ecx
leave
ret
Function at 0x1000189a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push edi
and dword [ebp - 0x98], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x94], 0x440
and dword [ebp - 0x90], 0
and dword [ebp - 0x8c], 0
mov eax, dword [0x1000b200]
mov dword [ebp - 0x88], eax
mov eax, dword [0x1000b204]
mov dword [ebp - 0x84], eax
and dword [ebp - 0x80], 0
and dword [ebp - 0x7c], 0
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 1
pop eax
pop edi
leave
ret

Function at 0x1000191a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
and dword [ebp - 0x138], 0
and dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
mov dword [ebp - 0x134], eax
jmp 0x10001952
mov eax, dword [ebp - 0x134]
dec eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jb 0x10001980
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x134]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x1000197e
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 1]
mov dword [ebp - 4], eax
jmp 0x10001980
jmp 0x10001945
push dword [ebp - 4]
call fcn.1000710e
pop ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0xffffffff
jne 0x100019b8
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
jmp 0x10001a3a
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x13c]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x100019ec
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
jmp 0x10001a3a
lea eax, [ebp - 0x10c]
push eax
call fcn.1000710e
pop ecx
push dword [ebp - 4]
lea eax, [ebp - 0x10c]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10001a15
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x13c]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100019ec
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x10002366
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0x221c
push dword [ebp + 8]
call fcn.10001b23
pop ecx
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x100023d0
push 2
push 0
push 0xfffffffffffffffc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0x221c
jne 0x100023dd
xor eax, eax
jmp 0x100023e0
push 1
pop eax
leave
ret
Function at 0x100026f8
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
push 0x10
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.100071f9
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.100071f9
add esp, 0xc
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x18], 0x101
and word [ebp - 0x14], 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x10002768
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push edi
and dword [ebp - 0x598], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x594]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x598], 0x3c
mov dword [ebp - 0x594], 0x440
and dword [ebp - 0x590], 0
and dword [ebp - 0x58c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x588], eax
mov eax, dword [0x1000b204]
mov dword [ebp - 0x584], eax
and dword [ebp - 0x580], 0
and dword [ebp - 0x57c], 0
and dword [ebp - 0x578], 0
lea eax, [ebp - 0x598]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
leave
ret
Function at 0x10002da0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push edi
and dword [ebp - 0x598], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x594]
rep stosd dword es:[edi], eax
push dword [0x1000b200]
lea eax, [ebp - 0x400]
push eax
call fcn.10007175
pop ecx
pop ecx
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov dword [ebp - 0x55c], eax
jmp 0x10002df5
mov eax, dword [ebp - 0x55c]
dec eax
mov dword [ebp - 0x55c], eax
cmp dword [ebp - 0x55c], 0
jb 0x10002e15
mov eax, dword [ebp - 0x55c]
movsx eax, byte [ebp + eax - 0x400]
cmp eax, 0x2e
jne 0x10002e13
jmp 0x10002e15
jmp 0x10002de8
mov eax, dword [ebp - 0x55c]
and byte [ebp + eax - 0x400], 0
push str._.exe
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x598], 0x3c
mov dword [ebp - 0x594], 0x440
and dword [ebp - 0x590], 0
and dword [ebp - 0x58c], 0
lea eax, [ebp - 0x400]
mov dword [ebp - 0x588], eax
mov eax, dword [0x1000b204]
mov dword [ebp - 0x584], eax
and dword [ebp - 0x580], 0
and dword [ebp - 0x57c], 0
and dword [ebp - 0x578], 0
lea eax, [ebp - 0x598]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 1
pop eax
pop edi
leave
ret
Function at 0x10002e96
Capabilities:
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x32
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x1000301b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor ecx, ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], ecx
push dword [ebp - 0x104]
push dword [ebp - 0x108]
push dword [ebp + 8]
push str._s.delme_u
push dword [ebp - 0x110]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
push dword [ebp - 0x110]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x110]
call sub.MSVCRT.dll_strlen
pop ecx
mov dword [ebp - 0x10c], eax
jmp 0x10002f42
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jb 0x10002f73
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x10c]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x10002f71
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x10c]
and byte [eax + 1], 0
jmp 0x10002f73
jmp 0x10002f35
push dword [ebp - 0x110]
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push str..delme
push dword [ebp - 0x110]
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x354], eax
cmp dword [ebp - 0x354], 0xffffffff
je 0x1000300e
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x1000a4c8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 0x354]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10002fbb
push dword [ebp - 0x354]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x110]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
leave
ret

Function at 0x1000301d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x10003038
push 1
pop eax
jmp 0x1000303a
xor eax, eax
leave
ret
Function at 0x10003958
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push 0x1000b334
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x400]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1000399c
push 0x1000a668
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0x1000a66c
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0xffffffff
je 0x10003a21
push 0
lea eax, [ebp - 0x404]
push eax
push 4
push 0x1000b330
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x404]
push eax
push 4
push 0x1000a5cc
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x10003a23
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push 0x1000b338
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x404]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x10003a67
push 0x1000a674
lea eax, [ebp - 0x404]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push str.100.dat
lea eax, [ebp - 0x404]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0xffffffff
je 0x10003ae6
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x1000b330
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x1000a5cc
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x10004644
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x78]
push dword [ebp - 0x10]
call fcn.100038f7
pop ecx
mov dword [ebp - 8], eax
push dword [ebp + 8]
call fcn.10003b20
pop ecx
mov dword [ebp - 4], eax
push str.http:__
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x10004737
and dword [ebp - 0x14], 0
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [ebp - 0x41c], eax
and dword [ebp - 0x18], 0
jmp 0x100046ab
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x41c]
call sub.MSVCRT.dll_strlen
pop ecx
cmp dword [ebp - 0x18], eax
jae 0x100046f1
mov eax, dword [ebp - 0x41c]
add eax, dword [ebp - 0x18]
movsx eax, byte [eax]
cmp eax, 0x2f
jne 0x100046d4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jne 0x100046ef
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x41c]
add eax, dword [ebp - 0x18]
and byte [eax], 0
jmp 0x100046f1
jmp 0x100046a4
push dword [ebp - 4]
push dword [ebp - 0x41c]
push str._s_s
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp - 0x41c]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [ebp - 4], eax
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
push 0
push 0
push dword [ebp - 0xc]
push 0x100043eb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret
Function at 0x10004b0e
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 1
pop eax
test eax, eax
je 0x10004b47
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov eax, dword [ebp - 4]
and eax, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10004b43
push 0x1d4c0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10004b45
jmp 0x10004b47
jmp 0x10004b14
leave
ret

Function at 0x10005188
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push 0x1000b31c
push 0x1000a788
push 5
push 0
push 0x1000a778
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x100051c1
cmp dword [0x1000b31c], 0
jne 0x100051c9
or eax, 0xffffffff
jmp 0x10005267
push 0
mov eax, dword [0x1000b31c]
mov eax, dword [eax]
push dword [0x1000b31c]
call dword [eax + 0x110]
push 0
mov eax, dword [0x1000b31c]
mov eax, dword [eax]
push dword [0x1000b31c]
call dword [eax + 0xc4]
push 1
mov eax, dword [0x1000b31c]
mov eax, dword [eax]
push dword [0x1000b31c]
call dword [eax + 0xac]
push 0
mov eax, dword [0x1000b31c]
mov eax, dword [eax]
push dword [0x1000b31c]
call dword [eax + 0xbc]
cmp dword [ebp + 8], 0
je 0x1000524f
push 0
mov eax, dword [0x1000b31c]
mov eax, dword [eax]
push dword [0x1000b31c]
call dword [eax + 0xa4]
push 0xffffffffffffffff
mov eax, dword [0x1000b31c]
mov eax, dword [eax]
push dword [0x1000b31c]
call dword [eax + 0xf0]
jmp 0x10005264
push 0xffffffffffffffff
mov eax, dword [0x1000b31c]
mov eax, dword [eax]
push dword [0x1000b31c]
call dword [eax + 0xa4]
push 1
pop eax
leave
ret

Function at 0x10005aee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
push edi
push 0xa
pop ecx
mov esi, str.SoftwareMicrosoftWindowsCurrentVersion
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 4], 0x400
lea eax, [ebp - 0x38]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x30]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10005b31
xor eax, eax
jmp 0x10005b8e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
push 0
push str.ProductId
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10005b78
push dword [ebp - 4]
lea eax, [ebp - 0x438]
push eax
push dword [ebp + 8]
call fcn.100071bb
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov dword [ebp - 0x34], 1
jmp 0x10005b82
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp - 0x34], 0
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
pop edi
pop esi
leave
ret
Function at 0x10005b92
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0x1000a7ec
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x74]
push 0x1000a7f0
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.10005aee
pop ecx
pop ecx
call fcn.10005a42
and dword [ebp - 0x78], 0
jmp 0x10005bf5
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005c14
call fcn.10005a1b
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x4c4], dl
jmp 0x10005bee
cmp dword [ebp - 0x49c], 0
je 0x10005c57
and dword [ebp - 0x78], 0
jmp 0x10005c2a
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005c57
mov eax, dword [ebp - 0x78]
cdq
idiv dword [ebp - 0x49c]
mov eax, dword [ebp - 0x78]
mov al, byte [ebp + eax - 0x4c4]
xor al, byte [ebp + edx - 0x498]
mov ecx, dword [ebp - 0x78]
mov byte [ebp + ecx - 0x4c4], al
jmp 0x10005c23
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], eax
and dword [ebp - 0x78], 0
jmp 0x10005c74
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005ca0
mov eax, dword [ebp - 0x78]
xor edx, edx
push 0x24
pop ecx
div ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 4]
mov al, byte [ebp + eax - 0x4c4]
xor al, byte [ecx + edx]
mov ecx, dword [ebp - 0x78]
mov byte [ebp + ecx - 0x4c4], al
jmp 0x10005c6d
lea eax, [ebp - 0x74]
mov dword [ebp - 4], eax
and dword [ebp - 0x78], 0
jmp 0x10005cb3
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005cdf
mov eax, dword [ebp - 0x78]
xor edx, edx
push 4
pop ecx
div ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 4]
mov al, byte [ebp + eax - 0x4c4]
xor al, byte [ecx + edx]
mov ecx, dword [ebp - 0x78]
mov byte [ebp + ecx - 0x4c4], al
jmp 0x10005cac
and dword [ebp - 0x78], 0
jmp 0x10005cec
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005d16
mov eax, dword [ebp - 0x78]
movzx eax, byte [ebp + eax - 0x4c4]
push eax
push str._02x
mov eax, dword [ebp - 0x78]
lea eax, [ebp + eax*2 - 0x70]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x10005ce5
push 0x40
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 8]
call fcn.100071bb
add esp, 0xc
leave
ret