joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001a3f
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerExtensionsCF819DA3_9882_4944_ADF5_6EF17ECF3C6E
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001a7d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerLowRegistryExtensionsCmdMapping
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001ada
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.CF819DA3_9882_4944_ADF5_6EF17ECF3C6E
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10001acd
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x10001adc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10001adc
xor eax, eax
leave
ret

Function at 0x10001ade
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [ebp + 8]
mov dword [0x1000b138], eax
mov eax, dword [ebp + 0xc]
mov dword [0x1000b13c], eax
mov eax, dword [ebp + 0x10]
mov dword [0x1000a6dc], eax
mov eax, dword [ebp + 0x14]
mov dword [0x1000a6e0], eax
mov eax, dword [ebp + 0x18]
mov dword [0x1000b128], eax
call fcn.10001a3f
test eax, eax
je 0x10001b20
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10001656
movzx eax, al
test eax, eax
je 0x10001b34
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.100016c3
movzx eax, al
test eax, eax
je 0x10001b48
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x10001b67
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.10001c67
push 1
pop eax
leave
ret
Function at 0x10001f30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0xc], 0
push dword [ebp + 8]
call fcn.1000173d
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 0x10001f90
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]
jmp 0x10001f94
xor eax, eax
jmp 0x10001fad
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0x221c
jne 0x10001faa
xor eax, eax
jmp 0x10001fad
push 1
pop eax
leave
ret
Function at 0x10001faf
Capabilities:
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.100082f0
push 0x25
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x10001fed
push 0x400
lea eax, [ebp - 0xc54]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x10001fed
lea eax, [ebp - 0xc54]
mov dword [ebp + 8], eax
push dword [ebp + 8]
call fcn.10006bfe
pop ecx
push dword [0x1000b138]
call fcn.10006bfe
pop ecx
push str..exe
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov dword [ebp - 0xc58], eax
cmp dword [ebp - 0xc58], 0
jne 0x10002027
push 1
pop eax
jmp 0x100021d5
mov eax, dword [ebp - 0xc58]
add eax, 4
mov dword [ebp - 0xc58], eax
mov eax, dword [ebp - 0xc58]
and byte [eax], 0
push dword [0x1000b138]
call fcn.10006c38
pop ecx
push eax
push dword [0x1000b138]
push dword [ebp + 8]
call fcn.10006b85
add esp, 0xc
test eax, eax
jne 0x10002069
push 1
pop eax
jmp 0x100021d5
mov eax, dword [0x1000b134]
inc eax
mov dword [0x1000b134], eax
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
cmp eax, 0x22
jne 0x10002086
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov dword [ebp - 0x105c], eax
jmp 0x100020a5
mov eax, dword [ebp - 0x105c]
dec eax
mov dword [ebp - 0x105c], eax
cmp dword [ebp - 0x105c], 0
jl 0x100020c3
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x105c]
movsx eax, byte [eax]
cmp eax, 0x2e
jne 0x100020c1
jmp 0x100020c3
jmp 0x10002098
cmp dword [ebp - 0x105c], 0
jge 0x100020d3
xor eax, eax
jmp 0x100021d5
push dword [0x1000b138]
lea eax, [ebp - 0x400]
push eax
call fcn.10006c65
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov dword [ebp - 0x105c], eax
jmp 0x10002116
mov eax, dword [ebp - 0x105c]
dec eax
mov dword [ebp - 0x105c], eax
cmp dword [ebp - 0x105c], 0
jl 0x10002134
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x105c]
movsx eax, byte [eax]
cmp eax, 0x2e
jne 0x10002132
jmp 0x10002134
jmp 0x10002109
mov eax, dword [ebp - 0x105c]
and byte [ebp + eax - 0x844], 0
push 0x1000a270
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x844]
push eax
call fcn.10002b0f
pop ecx
test eax, eax
je 0x10002198
push dword [ebp + 8]
call fcn.10001f30
pop ecx
test eax, eax
je 0x10002182
mov eax, dword [0x1000b134]
dec eax
mov dword [0x1000b134], eax
push 2
pop eax
jmp 0x100021d5
push dword [ebp + 8]
call fcn.10002988
pop ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100021b3
lea eax, [ebp - 0x844]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
lea eax, [ebp - 0x400]
push eax
call fcn.1000177b
pop ecx
pop ecx
push dword [ebp + 8]
push 0x1000ad28
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
pop eax
leave
ret
Function at 0x1000229f
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.10006ce9
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.10006ce9
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 0x1000230f
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 [0x1000b13c]
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 0x10002892
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 [0x1000b138]
lea eax, [ebp - 0x400]
push eax
call fcn.10006c65
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 0x100028e7
mov eax, dword [ebp - 0x55c]
dec eax
mov dword [ebp - 0x55c], eax
cmp dword [ebp - 0x55c], 0
jb 0x10002907
mov eax, dword [ebp - 0x55c]
movsx eax, byte [ebp + eax - 0x400]
cmp eax, 0x2e
jne 0x10002905
jmp 0x10002907
jmp 0x100028da
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 [0x1000b13c]
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 0x10002988
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 0x10002b0d
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 0x10002a34
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jb 0x10002a65
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x10c]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x10002a63
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x10c]
and byte [eax + 1], 0
jmp 0x10002a65
jmp 0x10002a27
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 0x10002b00
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x1000a420
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 0x10002aad
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 0x10002b0f
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 0x10002b2a
push 1
pop eax
jmp 0x10002b2c
xor eax, eax
leave
ret
Function at 0x1000344a
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push 0x1000b26c
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 0x1000348e
push 0x1000a598
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0x1000a59c
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 0x10003513
push 0
lea eax, [ebp - 0x404]
push eax
push 4
push 0x1000b268
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x404]
push eax
push 4
push 0x1000a4fc
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 0x10003515
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push 0x1000b270
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 0x10003559
push 0x1000a5a4
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 0x100035d8
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x1000b268
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x1000a4fc
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 0x10004136
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.100033e9
pop ecx
mov dword [ebp - 8], eax
push dword [ebp + 8]
call fcn.10003612
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 0x10004229
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 0x1000419d
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 0x100041e3
mov eax, dword [ebp - 0x41c]
add eax, dword [ebp - 0x18]
movsx eax, byte [eax]
cmp eax, 0x2f
jne 0x100041c6
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jne 0x100041e1
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 0x100041e3
jmp 0x10004196
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 0x10003edd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret
Function at 0x10004600
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 1
pop eax
test eax, eax
je 0x10004639
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 0x10004635
push 0x1d4c0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10004637
jmp 0x10004639
jmp 0x10004606
leave
ret

Function at 0x10004c7a
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push 0x1000b254
push 0x1000a6b8
push 5
push 0
push 0x1000a6a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10004cb3
cmp dword [0x1000b254], 0
jne 0x10004cbb
or eax, 0xffffffff
jmp 0x10004d59
push 0
mov eax, dword [0x1000b254]
mov eax, dword [eax]
push dword [0x1000b254]
call dword [eax + 0x110]
push 0
mov eax, dword [0x1000b254]
mov eax, dword [eax]
push dword [0x1000b254]
call dword [eax + 0xc4]
push 1
mov eax, dword [0x1000b254]
mov eax, dword [eax]
push dword [0x1000b254]
call dword [eax + 0xac]
push 0
mov eax, dword [0x1000b254]
mov eax, dword [eax]
push dword [0x1000b254]
call dword [eax + 0xbc]
cmp dword [ebp + 8], 0
je 0x10004d41
push 0
mov eax, dword [0x1000b254]
mov eax, dword [eax]
push dword [0x1000b254]
call dword [eax + 0xa4]
push 0xffffffffffffffff
mov eax, dword [0x1000b254]
mov eax, dword [eax]
push dword [0x1000b254]
call dword [eax + 0xf0]
jmp 0x10004d56
push 0xffffffffffffffff
mov eax, dword [0x1000b254]
mov eax, dword [eax]
push dword [0x1000b254]
call dword [eax + 0xa4]
push 1
pop eax
leave
ret

Function at 0x100055de
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 0x10005621
xor eax, eax
jmp 0x1000567e
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 0x10005668
push dword [ebp - 4]
lea eax, [ebp - 0x438]
push eax
push dword [ebp + 8]
call fcn.10006cab
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov dword [ebp - 0x34], 1
jmp 0x10005672
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 0x10005682
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 0x1000a71c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x74]
push 0x1000a720
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.100055de
pop ecx
pop ecx
call fcn.10005532
and dword [ebp - 0x78], 0
jmp 0x100056e5
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005704
call fcn.1000550b
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x4c4], dl
jmp 0x100056de
cmp dword [ebp - 0x49c], 0
je 0x10005747
and dword [ebp - 0x78], 0
jmp 0x1000571a
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005747
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 0x10005713
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 0x10005764
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005790
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 0x1000575d
lea eax, [ebp - 0x74]
mov dword [ebp - 4], eax
and dword [ebp - 0x78], 0
jmp 0x100057a3
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x100057cf
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 0x1000579c
and dword [ebp - 0x78], 0
jmp 0x100057dc
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005806
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 0x100057d5
push 0x40
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 8]
call fcn.10006cab
add esp, 0xc
leave
ret
Function at 0x10005819
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push 0x1000a72c
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x408]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x10005907
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100058a1
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push 0x1000a730
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x100058b1
push dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x10005905
push dword [ebp - 0x80c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3ff
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp + 8]
jmp 0x10005976
jmp 0x1000595e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10005946
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push 0x1000a73c
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
jmp 0x1000595e
push dword [ebp + 8]
push 0x1000a748
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0x3ff
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp + 8]
leave
ret