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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x10c], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x114], edx
push esi
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x1005d1e1
test ecx, ecx
je 0x1005d1e1
test esi, esi
je 0x1005d1e1
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call fcn.1005d030
add esp, 4
test eax, eax
je 0x1005d1e1
mov eax, dword [ebp - 0x10c]
push ebx
push edi
xor edi, edi
xor ebx, ebx
test eax, eax
jle 0x1005d1c5
sub dword [ebp - 0x108], esi
mov dword [ebp - 0x110], eax
inc edi
and edi, 0x800000ff
jns 0x1005d154
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [ebp + edi - 0x104]
movzx eax, dl
add ebx, eax
and ebx, 0x800000ff
jns 0x1005d170
dec ebx
or ebx, 0xffffff00
inc ebx
movzx eax, byte [ebp + ebx - 0x104]
mov byte [ebp + edi - 0x104], al
mov byte [ebp + ebx - 0x104], dl
movzx ecx, byte [ebp + edi - 0x104]
movzx eax, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x1005d1a3
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, byte [ebp + ecx - 0x104]
mov ecx, dword [ebp - 0x108]
xor al, byte [ecx + esi]
mov byte [esi], al
inc esi
dec dword [ebp - 0x110]
jne 0x1005d143
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x114]
pop edi
pop ebx
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
Function at 0x1005f020
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edi
test esi, esi
jle 0x1005f0cf
lea eax, [ebp - 0x114]
mov dword [ebp - 0x104], ebx
push eax
push 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 1
push eax
lea ecx, [ebx + 1]
push 0
push ecx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x1005f0bc
test eax, eax
je 0x1005f0bc
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1005f04f
mov eax, dword [ebp - 0x10c]
push 0
push esi
add eax, edi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1005f0bc
test eax, eax
je 0x1005f0bc
sub esi, eax
add edi, eax
jmp 0x1005f04f
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 5
push eax
push 0
mov edi, ecx
mov dword [ebp - 0x10c], 0
push 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x104], edi
push eax
lea eax, [edi + 1]
mov dword [ebp - 0x108], 1
push eax
mov ebx, edx
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005f164
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1005f151
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1005f190
push 0
push 0x2000
push ebx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
je 0x1005f151
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
Function at 0x10062890
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2234
call fcn.1008bd60
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [eax + 8]
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], edi
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], ecx
cmp dword [esi + 0x128], ecx
je 0x10062a76
jmp 0x100628f0
mov eax, dword [esi + 0x12c]
mov dword [ebp - 0x2118], 0
mov dword [ebp - 0x221c], eax
mov dword [ebp - 0x2220], 1
test ecx, ecx
je 0x10062924
mov dword [ebp - 0x2114], eax
mov dword [ebp - 0x2118], 1
lea ecx, [ebp - 0x2234]
inc eax
push ecx
push 0
lea ecx, [ebp - 0x2118]
push ecx
lea ecx, [ebp - 0x2220]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x10062b31
test eax, eax
je 0x10062b02
lea eax, [ebp - 0x2220]
push eax
push dword [esi + 0x12c]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x1006299a
mov ecx, dword [ebp - 0x222c]
test ecx, ecx
je 0x100628f0
lea eax, [ebp - 0x2118]
push eax
push dword [esi + 0x12c]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov ecx, dword [ebp - 0x222c]
test eax, eax
je 0x100628f0
mov dword [ebp - 0x222c], 0
push 0x2004
lea eax, [ebp - 0x2010]
push eax
push edi
call fcn.100011e0
mov esi, eax
push esi
push edi
call fcn.100026c0
add esp, 0x14
test eax, eax
jne 0x10062a30
lea edi, [ebx + esi]
cmp edi, 0x27ff
jg 0x10062aac
push esi
lea eax, [ebp - 0x2010]
push eax
mov eax, dword [ebp - 0x2228]
mov eax, dword [eax + 0x128]
add eax, ebx
push eax
call fcn.100865f0
mov ebx, edi
mov edi, dword [ebp - 0x2224]
push edi
call fcn.100011c0
add esp, 0x10
test eax, eax
jne 0x100629a4
mov eax, dword [ebp - 0x2228]
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x2118], 0
mov eax, dword [eax + 0x128]
mov byte [ebx + eax], 0
test ebx, ebx
jne 0x10062a63
jmp 0x10062a91
cmp eax, 6
je 0x10062a06
mov esi, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x222c]
cmp eax, 2
je 0x100628f0
cmp eax, 3
jne 0x10062adb
mov ecx, 1
mov dword [ebp - 0x222c], ecx
jmp 0x100628f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret 8
push 0x100c97d8
lea eax, [ebp - 0x2228]
mov dword [ebp - 0x2228], 0x19a
push eax
call fcn.100823fd
push 0x100c97d8
lea eax, [ebp - 0x2224]
mov dword [ebp - 0x2224], 0x190
push eax
call fcn.100823fd
push 0x100c97d8
lea eax, [ebp - 0x2224]
mov dword [ebp - 0x2220], 0
push eax
mov dword [ebp - 0x2118], 0
mov dword [ebp - 0x2224], 0x198
call fcn.100823fd
push 0x100c97d8
lea eax, [ebp - 0x2224]
mov dword [ebp - 0x2220], ecx
push eax
mov dword [ebp - 0x2118], ecx
mov dword [ebp - 0x2224], 0x19e
call fcn.100823fd
push 0x100c97d8
lea eax, [ebp - 0x2224]
mov dword [ebp - 0x2220], 0
push eax
mov dword [ebp - 0x2118], 0
mov dword [ebp - 0x2224], 0x192
call fcn.100823fd
push 0x100c97d8
lea eax, [ebp - 0x2224]
mov dword [ebp - 0x2220], 0
push eax
mov dword [ebp - 0x2118], 0
mov dword [ebp - 0x2224], 0x6d
call fcn.100823fd
int3
Function at 0x10062df0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], 0
mov ecx, dword [edi + 0x124]
mov esi, ecx
lea ebx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10062e30
mov eax, dword [edx + 4]
sub esi, ebx
xor ebx, ebx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], ebx
test ecx, ecx
je 0x10062f60
test esi, esi
jle 0x10062f4d
lea ebx, [ebx]
mov eax, dword [edi + 0x12c]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], 1
test ebx, ebx
je 0x10062e94
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], 1
lea ecx, [ebp - 0x230]
inc eax
push ecx
push 0
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x110]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x10062fd1
test eax, eax
je 0x10062fa2
lea eax, [ebp - 0x218]
push eax
push dword [edi + 0x12c]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x10062ef6
test ebx, ebx
je 0x10062f45
lea eax, [ebp - 0x110]
push eax
push dword [edi + 0x12c]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x10062f45
mov eax, dword [edi + 0x124]
xor ebx, ebx
add eax, dword [ebp - 0x224]
push esi
push eax
push dword [ebp - 0x220]
call fcn.10001280
mov edi, eax
push edi
push dword [ebp - 0x220]
call fcn.100026c0
add esp, 0x14
sub eax, ebx
je 0x10062f37
sub eax, 2
je 0x10062f30
dec eax
je 0x10062f3f
jmp 0x10062f7b
mov ebx, 1
jmp 0x10062f3f
sub esi, edi
add dword [ebp - 0x224], edi
mov edi, dword [ebp - 0x228]
test esi, esi
jg 0x10062e60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret 8
push 0x100c97d8
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x19b
push eax
call fcn.100823fd
push 0x100c97d8
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x110], ebx
push eax
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], 0x19e
call fcn.100823fd
push 0x100c97d8
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x218], 0
push eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x21c], 0x192
call fcn.100823fd
push 0x100c97d8
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x218], 0
push eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x21c], 0x6d
call fcn.100823fd
int3
Function at 0x10063010
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x10063192
push eax
call fcn.10001de0
add esp, 4
mov dword [esi + 0x170], eax
test eax, eax
je 0x10063192
push dword [esi + 0x12c]
push eax
call fcn.10001160
push 0
push 4
push 0x21
push dword [esi + 0x170]
call fcn.10002280
add esp, 0x18
mov dword [ebp - 0x224], 0xb4
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x218], 0
test edi, edi
je 0x100630af
mov eax, dword [esi + 0x12c]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], 1
test ebx, ebx
je 0x100630c9
mov eax, dword [esi + 0x12c]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], 1
test edi, edi
jne 0x100630d1
test ebx, ebx
je 0x10063102
lea eax, [ebp - 0x224]
xor ebx, ebx
push eax
push ebx
lea eax, [ebp - 0x110]
xor edi, edi
push eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [esi + 0x12c]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x10063169
test eax, eax
je 0x10063151
push dword [esi + 0x170]
call fcn.100027e0
push eax
push dword [esi + 0x170]
call fcn.100026c0
add esp, 0xc
sub eax, 0
je 0x10063181
sub eax, 2
je 0x10063131
dec eax
jne 0x1006313b
lea edi, [eax + 1]
jmp 0x10063081
mov ebx, 1
jmp 0x10063081
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x218], 0
jmp 0x10063192
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], 0x192
jmp 0x1006319c
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], 0x6d
jmp 0x1006319c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x21c], 0x19e
push 0x100c97d8
lea eax, [ebp - 0x21c]
push eax
call fcn.100823fd
int3
Function at 0x10065020
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x210], edx
xor esi, esi
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x20c], 0x200
lea ecx, [ebp - 0x208]
mov eax, esi
push ecx
neg eax
push 0x20019
push 0
sbb eax, eax
add eax, reloc.OLEAUT32.dll_SysReAllocString
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100650ee
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.hypertrm
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x100650e6
mov eax, dword [ebp - 0x210]
xor ebx, ebx
lea eax, [eax*2 + 2]
cmp dword [ebp - 0x20c], eax
sete bl
test ebx, ebx
je 0x100650e6
push dword [ebp - 0x214]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
push dword [ebp - 0x208]
call edi
inc esi
test ebx, ebx
jne 0x100650fc
cmp esi, 2
jb 0x10065056
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret

Function at 0x10065110
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
push edi
xor esi, esi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
xor edi, edi
lea esp, [esp]
lea ecx, [ebp - 4]
mov eax, edi
push ecx
neg eax
push 2
push 0
sbb eax, eax
add eax, reloc.OLEAUT32.dll_SysReAllocString
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push eax
call ebx
test eax, eax
jne 0x1006517a
mov eax, dword [ebp - 8]
add eax, eax
push eax
push dword [ebp - 0xc]
push 1
push 0
push str.hypertrm
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
test esi, esi
jne 0x10065184
cmp edi, 2
jb 0x10065130
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10065770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100657b8
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100657c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push ecx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10065804
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10065810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push ecx
mov esi, edx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10065881
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065850
push 0
lea eax, [ebp - 4]
sub ecx, edx
push eax
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x100c5bac
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10065de0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.1008bd60
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
lea eax, [ebp - 0x1008]
push str._setupapi.dll_InstallHinfSection_DefaultInstall_128__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x808]
push 0x400
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x10065eb6
push 0x44
lea eax, [ebp - 0x1060]
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [ebp - 0x1018], xmm0
call fcn.10081800
xor eax, eax
mov dword [ebp - 0x1060], 0x44
lea edi, [ebp - 0x808]
mov word [ebp - 0x1030], ax
add esp, 0xc
mov dword [ebp - 0x1034], eax
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10065e70
lea eax, [ebp - 0x1018]
mov ecx, 7
push eax
lea eax, [ebp - 0x1060]
mov esi, str._rundll32.exe
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x808]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1007aa10
mov esp, ebp
pop ebp
ret

Function at 0x10065ed0
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x920]
mov dword [ebp - 0x920], 0x114
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
cmp dword [ebp - 0x91c], 5
ja 0x10065f1c
mov ecx, esi
call fcn.10065de0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x808]
push str.___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x808]
push 5
push 0
push eax
push str.InfDefaultInstall.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1007aa10
mov esp, ebp
pop ebp
ret

Function at 0x10065f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10065fd2
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Hidden
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x10065fc2
xor ebx, ebx
cmp dword [ebp - 4], 1
sete bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10065ff0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push edi
push eax
push 2
push 0
push 0x100c6498
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006608a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
push 4
sete al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x100c6538
push dword [ebp - 8]
call esi
xor eax, eax
test edi, edi
push 4
sete al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x100c6554
push dword [ebp - 8]
call esi
xor eax, eax
test edi, edi
push 4
sete al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x100c6570
push dword [ebp - 8]
call esi
push dword [ebp - 8]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100660a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], 0x100
push eax
push 0x20019
push 0
push 0x100c6590
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006612a
push esi
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0x100c65a0
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x108]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret

Function at 0x10066140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push 0x100c65b8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100661b2
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100c665c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x100661a2
xor ebx, ebx
cmp dword [ebp - 4], 1
sete bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100661c0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x100
lea eax, [ebp - 0x204]
xor esi, esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x10066238
mov eax, 0x5c
lea edx, [ebp - 0x202]
mov word [ebp + ecx*2 - 0x204], ax
lea edx, [edx + ecx*2]
mov eax, str.SysWOW64
sub edx, eax
jmp 0x10066210
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x10066210
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
mov ecx, 1
cmovne esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1007aa10
mov esp, ebp
pop ebp
ret