joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415dc8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
jb 0x415f1a
add dword [ebp + 0xc], 5
or dword [ebp - 4], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 8], ecx
lea edi, [eax + esi]
jmp 0x415e04
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x415e09
inc edi
cmp edi, dword [ebp - 8]
jb 0x415dfb
mov eax, edi
sub eax, esi
cmp edi, dword [ebp - 8]
jae 0x415efa
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x415e8d
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x415e35
cmp cl, 0xff
jne 0x415ebc
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
sub esi, eax
sub esi, dword [ebp + 0xc]
mov ebx, esi
mov dword [ebp - 0xc], ebx
test edx, edx
je 0x415ecd
movzx esi, byte [edx + 0x404e80]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
shr ebx, cl
mov cl, bl
test cl, cl
je 0x415e7d
cmp cl, 0xff
jne 0x415eca
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, dword [ebp - 0xc]
jmp 0x415e53
dec ecx
shl edx, cl
and edx, 7
je 0x415e22
movzx ecx, byte [edx + 0x404e80]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x404e78], 0
mov cl, byte [ebx + 4]
je 0x415eb9
test cl, cl
je 0x415eb9
cmp cl, 0xff
jne 0x415e22
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x415df6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x415df6
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x10]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret 0xc

Function at 0x41786d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [esi + 4]
xor ebx, ebx
cmp dword [eax], ebx
jne 0x417887
push ebx
push ebx
push eax
call fcn.004176fb
cmp eax, ebx
jne 0x4178e0
push edi
lea edi, [esi + 8]
cmp dword [edi], ebx
jne 0x41789b
push ebx
push ebx
push edi
call fcn.004176fb
cmp eax, ebx
jne 0x4178df
lea eax, [esi + 4]
call fcn.0041780d
mov eax, edi
call fcn.0041780d
mov byte [esi + 0x10], bl
cmp dword [esi + 0xc], ebx
je 0x4178b6
xor eax, eax
jmp 0x4178df
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x41782d
push ebx
push ebx
call fcn.00422aca
add esp, 0x18
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x4178b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x4178df
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret

Function at 0x418955
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428050]
jne 0x41895f
repz ret
jmp fcn.0041a3ba
Function at 0x41cd2b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00419bec
and dword [ebp - 0x14], 0
cmp dword [0x429e70], 0
mov dword [ebp - 0x18], eax
jne 0x41cdde
push 0x401fa0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ce86
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401f94
push ebx
call edi
test eax, eax
je 0x41ce86
mov esi, dword [fcn.004028b4]
push eax
call esi
push 0x401f84
push ebx
mov dword [0x429e70], eax
call edi
push eax
call esi
push 0x401f70
push ebx
mov dword [0x429e74], eax
call edi
push eax
call esi
push 0x401f54
push ebx
mov dword [0x429e78], eax
call edi
push eax
call esi
mov dword [0x429e80], eax
test eax, eax
je 0x41cdde
push 0x401f3c
push ebx
call edi
push eax
call esi
mov dword [0x429e7c], eax
mov eax, dword [0x429e7c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.004028b0]
cmp eax, ecx
je 0x41ce37
cmp dword [0x429e80], ecx
je 0x41ce37
push eax
call esi
push dword [0x429e80]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ce37
test ebx, ebx
je 0x41ce37
call edi
test eax, eax
je 0x41ce2e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ce2e
test byte [ebp - 8], 1
jne 0x41ce37
or dword [ebp + 0x10], 0x200000
jmp 0x41ce6a
mov eax, dword [0x429e74]
cmp eax, dword [ebp - 0x18]
je 0x41ce6a
push eax
call esi
test eax, eax
je 0x41ce6a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ce6a
mov eax, dword [0x429e78]
cmp eax, dword [ebp - 0x18]
je 0x41ce6a
push eax
call esi
test eax, eax
je 0x41ce6a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x429e70]
call esi
test eax, eax
je 0x41ce86
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ce88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418955
leave
ret

Function at 0x4203e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [eax]
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
invalid
invalid
movsd dword es:[edi], dword [esi]
cld
invalid
invalid

Function at 0x422eb0
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
pop ebp
ret 4
Function at 0x423b30
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x428050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x24]
push edi
mov ecx, ebx
and ecx, 0x3f
mov edi, 0x40
sub edi, ecx
cmp edi, 8
mov dword [ebp - 0x50], eax
ja 0x423b65
add edi, 0x40
lea edx, [edi - 8]
push edx
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.0041d340
mov ecx, dword [esi + 0x20]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, ebx
shr edx, 0x1d
or ecx, edx
add esp, 0xc
mov dword [ebp - 0x58], ecx
push 2
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp + edi - 0x54]
lea eax, [ebx*8]
push edx
mov byte [ebp - 0x4c], 0x80
mov dword [ebp - 0x54], eax
call fcn.00423c20
push edi
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.00423a20
mov ecx, dword [ebp - 0x50]
push 8
push esi
push ecx
call fcn.00423c20
xor eax, eax
push 0x40
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
push eax
add esi, 0x28
push esi
call fcn.0041d340
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418955
mov esp, ebp
pop ebp
ret 8
Function at 0x100022ec
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x344
lea ebp, [esp - 4]
mov eax, dword [0x1001a144]
xor eax, ebp
mov dword [ebp + 0x344], eax
push 0x20
mov eax, 0x10014535
call fcn.1000a808
mov edi, ecx
cmp dword [edi + 0x54], 0x10
jb 0x1000231d
mov eax, dword [edi + 0x40]
jmp 0x10002320
lea eax, [edi + 0x40]
lea ecx, [ebp - 0x10]
push ecx
push 0x20119
xor esi, esi
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100024bc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x240]
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], 0x104
push esi
jmp 0x1000249f
cmp eax, esi
jne 0x10002483
lea eax, [ebp - 0x18]
push eax
push 0x20119
push esi
lea eax, [ebp + 0x240]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000248d
cmp dword [edi + 0x8c], 0x10
mov dword [ebp - 0x1c], 0x104
jb 0x1000239e
mov eax, dword [edi + 0x78]
jmp 0x100023a1
lea eax, [edi + 0x78]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0x13c]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
push dword [ebp - 0x18]
call ebx
lea eax, [ebp + 0x13c]
push eax
lea ecx, [ebp]
call fcn.10001b27
cmp dword [edi + 0x70], 0x10
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], 0x104
jb 0x100023e1
mov eax, dword [edi + 0x5c]
jmp 0x100023e4
lea eax, [edi + 0x5c]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0x38]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
push dword [ebp - 0x18]
call ebx
test eax, eax
jne 0x1000246b
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10001b27
xor ebx, ebx
mov byte [ebp - 4], 1
cmp dword [ebp + 0x30], esi
jbe 0x10002442
push ebx
lea ecx, [ebp + 0x1c]
call fcn.10001385
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x24], eax
call fcn.10001385
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movsx eax, byte [eax]
push eax
call fcn.1000aaae
pop ecx
mov ecx, dword [ebp - 0x28]
inc ebx
mov byte [ecx], al
cmp ebx, dword [ebp + 0x30]
jb 0x10002412
lea eax, [ebp + 0x1c]
push eax
lea ecx, [edi + 0xc0]
call fcn.10002292
lea eax, [ebp]
push eax
lea ecx, [edi + 0xd8]
call fcn.10002292
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.100014fc
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp]
call fcn.100014fc
inc dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x104
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x240]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x1000235f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x344]
xor ecx, ebp
call fcn.1000a7f9
add ebp, 0x348
leave
ret
Function at 0x100036f2
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x20
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10003755
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10003755
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push esi
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret

Function at 0x10003be9
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1001a144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, dword [ebp + 0xc]
push edi
push 5
pop ecx
mov esi, str.NSIS_Inetc__Mozilla_
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
movsb byte es:[edi], byte [esi]
xor esi, esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
cmp dword [ebp + 8], esi
jne 0x10003c30
push 0x100153e8
jmp 0x10003c35
push str.POST
push 5
push eax
call fcn.1000ab5a
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x38], eax
cmp eax, esi
je 0x10003cd3
push esi
push esi
push 3
push esi
push esi
push 0x1bb
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x34], eax
cmp eax, esi
je 0x10003cce
push esi
push 0x8484f700
push esi
push esi
push str.HTTP_1.1
push dword [ebp - 0x28]
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
cmp ebx, esi
je 0x10003cce
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x2c], esi
je 0x10003caa
push dword [ebp - 0x2c]
call fcn.10009fc0
pop ecx
mov dword [ebp - 0x28], eax
xor eax, eax
cmp dword [ebp - 0x30], esi
je 0x10003cba
push dword [ebp - 0x30]
call fcn.10009fc0
pop ecx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push ebx
call edi
push dword [ebp - 0x34]
call edi
push dword [ebp - 0x38]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a7f9
leave
ret
Function at 0x1000461b
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x248
lea ebp, [esp - 4]
mov eax, dword [0x1001a144]
xor eax, ebp
mov dword [ebp + 0x248], eax
push 0xc
mov eax, 0x100147b4
call fcn.1000a808
call fcn.100037ba
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x128]
mov dword [ebp + 0x140], 0xf
call fcn.100011be
mov dword [ebp - 4], ebx
call fcn.100036f2
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
jne 0x100046a9
push ebx
push 1
lea ecx, [ebp + 0x128]
call fcn.100014fc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x248]
xor ecx, ebp
call fcn.1000a7f9
add ebp, 0x24c
leave
ret
lea eax, [ebp]
push eax
push esi
mov dword [ebp], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x100046db
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0xd], bl
push ebx
push 1
lea ecx, [ebp + 0x128]
call fcn.100014fc
mov al, byte [ebp - 0xd]
jmp 0x10004686
mov esi, 0x104
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp + 0x128]
call fcn.10001a65
cmp byte [ebp + 0x254], 1
jne 0x1000478b
push 0x1001546c
lea ecx, [ebp + 0x128]
call fcn.10001a48
push dword [ebp + 8]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x1000477b
push esi
lea eax, [ebp + 0x144]
push eax
push ebx
push edi
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
jne 0x10004753
mov eax, dword [0x1001b210]
mov dword [ebp - 0x18], esi
cmp eax, ebx
je 0x10004765
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 0x144]
push ecx
push ebx
push edi
call eax
test eax, eax
je 0x10004765
lea eax, [ebp + 0x144]
push eax
lea ecx, [ebp + 0x128]
call fcn.10001a48
push esi
lea eax, [ebp + 0x144]
push eax
push ebx
push edi
call sub.PSAPI.DLL_GetModuleBaseNameA
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10015468
lea ecx, [ebp + 0x128]
call fcn.10001a48
mov eax, dword [0x1001b344]
sub eax, dword [0x1001b340]
push 0x1c
cdq
pop ecx
idiv ecx
mov edi, 0x1001b334
mov ecx, edi
inc eax
push eax
call fcn.1000455a
lea eax, [ebp + 0x128]
push eax
mov ecx, edi
call fcn.10002292
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x128]
push eax
mov ecx, 0x1001a080
call fcn.1000186d
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100046e0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10003807
mov byte [ebp - 0xd], 1
jmp 0x100046c8
Function at 0x10005831
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1001a144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [0x1001b56c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x1001b464], eax
mov eax, dword [ebp + 0x10]
mov dword [0x1001b674], eax
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.1000556d
push str.PCAPro_RUN_Mutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
lea eax, [ebp - 0x404]
jne 0x10005894
push str.found
jmp 0x10005899
push str.skip
push 0x400
push eax
call fcn.1000ad5b
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x404]
push eax
call fcn.100055a5
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000a7f9
leave
ret

Function at 0x10005f2e
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x1000681d
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0x46c
lea ebp, [esp - 4]
mov eax, dword [0x1001a144]
xor eax, ebp
mov dword [ebp + 0x46c], eax
push 8
mov eax, 0x100149a9
call fcn.1000a83b
mov edx, dword [ebp + 0x478]
lea ecx, [ebp]
call fcn.10005f2e
xor esi, esi
mov dword [ebp - 4], esi
xor eax, eax
cmp eax, 0x100
jge 0x10006864
mov dword [ebp + eax*4 + 0x6c], esi
inc eax
jmp 0x10006856
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100068d2
push esi
lea eax, [ebp - 0x14]
push eax
push 0x400
lea eax, [ebp + 0x6c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100068b1
cmp dword [ebp - 0x14], esi
je 0x100068b1
push dword [ebp - 0x14]
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp]
call fcn.100066b1
jmp 0x10006882
lea ecx, [ebp]
call fcn.1000674d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x58]
push eax
call fcn.10005e9c
pop ecx
jmp 0x100068d4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x46c]
xor ecx, ebp
call fcn.1000a7f9
add ebp, 0x470
leave
ret
Function at 0x10006eed
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x1001a144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 2
mov byte [ebp - 0x13d], bl
mov byte [ebp - 0xa], 0x78
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 9], 0x65
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0x13], 0x78
mov byte [ebp - 8], bl
mov byte [ebp - 0xe], 0x65
mov dword [ebp - 0x150], 4
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x13c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14c], eax
cmp eax, 0xffffffff
je 0x1000703e
push edi
lea ecx, [ebp - 0x13c]
push ecx
push eax
call sub.KERNEL32.dll_Process32First
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000701b
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000b5e1
pop ecx
pop ecx
test eax, eax
jne 0x10007009
push dword [ebp - 0x134]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x144], eax
cmp eax, ebx
je 0x10007009
push esi
push 0xa
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10006ff7
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x150]
lea eax, [ebp - 0x148]
push eax
push 0xc
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x10006ff7
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x148]
je 0x10007026
cmp esi, ebx
je 0x10007001
push dword [esi]
call edi
mov dword [esi], ebx
push dword [ebp - 0x144]
call edi
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x14c]
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x10006f8a
jmp 0x10007035
push dword [ebp - 0x144]
mov byte [ebp - 0x13d], 1
call edi
push dword [ebp - 0x14c]
call edi
pop edi
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x13d]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a7f9
leave
ret
Function at 0x1000733a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1001a144]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.1000aae0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10007052
add esp, 0x14
test eax, eax
je 0x100073a6
push esi
mov esi, 0x1001c454
push esi
call fcn.10009fc0
pop ecx
push eax
push esi
push 1
push 0x1001c480
push 0x1001c6a0
push 0x80000003
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a7f9
leave
ret

Function at 0x100073b2
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1001a144]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.1000aae0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10007052
add esp, 0x14
test eax, eax
je 0x1000740c
push 0x1001c480
push 0x1001c6a0
push 0x80000003
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000a7f9
leave
ret
Function at 0x100083df
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0x7fffffff
xor edi, edi
push edi
push 0x435
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
call esi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10008488
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 8], eax
call fcn.100087ae
pop ecx
push edi
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 2
push 0x449
push dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x100083a6
call esi
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
push 0x443
push dword [ebp + 0xc]
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call fcn.1000b6c8
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000a7f9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001a144]
jne 0x1000a803
repz ret
jmp fcn.1000d31c