joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9d98
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x4a9db1
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x4a9e94
mov eax, dword [0x4d3e18]
cmp byte [eax], 0
je 0x4a9dd7
mov eax, dword [0x4d3b54]
cmp dword [eax], 4
jg 0x4a9def
mov eax, dword [0x4d3fd8]
cmp byte [eax], 0
jne 0x4a9def
mov eax, dword [0x4d3948]
cmp byte [eax], 0
je 0x4a9e7e
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov ebp, eax
push 0xffffffffffffffff
push edi
push ebp
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x4a9e36
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
push ebp
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x4a9e8a
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [esp + 4]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x4a9e8a
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4ab2c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov eax, dword [esp]
call fcn.00405440
mov edx, eax
mov eax, ebp
call fcn.004058a0
mov eax, dword [esp]
call fcn.00405440
mov edi, eax
test edi, edi
jle 0x4ab325
mov ebx, 1
mov eax, ebp
call fcn.00405670
mov edx, dword [esp]
movzx edx, byte [edx + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x4ab2f0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4ab32c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.00405440
mov edx, eax
mov eax, dword [esp]
call fcn.004058a0
mov eax, edi
call fcn.00405440
mov ebp, eax
test ebp, ebp
jle 0x4ab38b
mov ebx, 1
mov eax, dword [esp]
call fcn.00405670
movzx edx, byte [edi + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
movzx eax, byte [edi + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec ebp
jne 0x4ab35b
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b2cc8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b2d7e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405610
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4b2d68
lea eax, [ebp - 4]
mov edx, edi
call fcn.004058a0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405610
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4b2d68
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4b2d90
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4b2d68
cmp dword [ebp - 0xc], 0x34
jne 0x4b2d68
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2d85
lea eax, [ebp - 4]
call fcn.00405180
ret
Function at 0x4b3fe0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b41c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.004b30b4
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4d2a40], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4d2a44], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4d2a48], eax
mov eax, dword [0x4d4230]
cmp dword [eax], 2
sete byte [0x4d21f8]
push 0x4b41cc
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004b2b84
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x4d21f8], 0
jne 0x4b406f
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004b2cc8
test al, al
je 0x4b406f
mov eax, dword [ebp - 0x4c]
mov dword [0x4dc68c], eax
jmp 0x4b4076
xor eax, eax
mov dword [0x4dc68c], eax
call fcn.004b3d18
and eax, 0x7f
cmp eax, 0x12
ja case.0x4b4087.0
jmp dword [eax*4 + 0x4b408e]
mov byte [0x4d21e4], 1
jmp case.0x4b4087.0
mov byte [0x4d21e8], 1
jmp case.0x4b4087.0
mov byte [0x4d21ec], 1
jmp case.0x4b4087.0
mov byte [0x4d21f0], 1
jmp case.0x4b4087.0
mov byte [0x4d21f4], 1
jmp case.0x4b4087.0
mov byte [0x4d21fc], 1
mov byte [0x4d2200], 1
jmp case.0x4b4087.0
mov byte [0x4d21fc], 1
mov byte [0x4d2204], 1
jmp case.0x4b4087.0
mov byte [0x4d21fc], 1
mov byte [0x4d2204], 1
mov byte [0x4d2208], 1
jmp case.0x4b4087.0
mov byte [0x4d220c], 1
jmp case.0x4b4087.0
mov byte [0x4d2210], 1
jmp case.0x4b4087.0
mov byte [0x4d2214], 1
jmp case.0x4b4087.0
mov byte [0x4d2218], 1
jmp case.0x4b4087.0
mov byte [0x4d221c], 1
jmp case.0x4b4087.0
mov byte [0x4d2220], 1
jmp case.0x4b4087.0
mov byte [0x4d2224], 1
jmp case.0x4b4087.0
mov byte [0x4d2228], 1
jmp case.0x4b4087.0
mov byte [0x4d222c], 1
jmp case.0x4b4087.0
mov byte [0x4d2230], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b41c7
lea eax, [ebp - 4]
call fcn.00405180
ret

Function at 0x4b6048
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4b60ac
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004053f0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.00409d40
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b60b3
lea eax, [ebp - 0xc]
call fcn.00405180
ret
Function at 0x4b6968
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4b697d
add esp, 0xfffffff0
call fcn.00404588
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00404234
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.004051d4
mov eax, esi
call fcn.00405610
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4b69d1
mov ecx, dword [0x4d4064]
mov dl, 1
mov eax, dword [0x4b675c]
call fcn.004b0474
call fcn.00404ad8
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b69f8
call fcn.004045e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4b75b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b7684
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405218
lea eax, [ebp - 4]
call fcn.00405668
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405610
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4b766e
mov eax, ebx
call fcn.00402efc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b7667
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405610
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4b7651
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4b7694
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4b7651
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b766e
mov eax, dword [ebp - 0x10]
call fcn.00402f18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b768b
lea eax, [ebp - 4]
call fcn.00405180
ret

Function at 0x4b9128
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x4b919b
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
test al, al
je 0x4b9185
lea ecx, [ebp - 4]
lea edx, [ebp - 0xc]
call fcn.004b8f88
cmp dword [ebp - 0xc], 0
je 0x4b917a
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00408474
test al, al
je 0x4b9185
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4b9185
mov eax, dword [ebp - 4]
call fcn.004b9080
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b91a2
lea eax, [ebp - 4]
call fcn.00405180
ret
Function at 0x4b923c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4b92f6
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
jne 0x4b9265
mov eax, ebx
call fcn.00405180
jmp 0x4b92e0
mov ecx, ebx
lea edx, [ebp - 8]
call fcn.004b8f88
cmp dword [ebp - 8], 0
je 0x4b92e0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00408468
test al, al
je 0x4b92d9
xor eax, eax
push ebp
push 0x4b92d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004b91ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b92e0
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00408468
test al, al
je 0x4b92d1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
mov eax, ebx
call fcn.00405180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b92fd
lea eax, [ebp - 4]
call fcn.00406d84
ret

Function at 0x4c7698
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov esi, eax
lea edi, [ebp - 6]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
push ebp
push 0x4c7795
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00403354
mov eax, pe_nt_image_headers32
call fcn.0040337c
mov byte [ebp - 0x1c], al
mov eax, pe_nt_image_headers32
call fcn.0040337c
add al, 0x57
mov byte [ebp - 0x1b], al
xor ebx, ebx
lea eax, [ebp - 6]
movzx edx, byte [eax]
mov ecx, edx
xor cl, byte [ebp - 0x1c]
lea esi, [ebx + 2]
mov byte [ebp + esi - 0x1c], cl
xor dl, byte [ebp - 0x1b]
lea ecx, [ebx + 8]
mov byte [ebp + ecx - 0x1c], dl
inc ebx
inc eax
cmp ebx, 6
jne 0x4c76e8
mov eax, pe_nt_image_headers32
call fcn.0040337c
add al, 0x11
mov byte [ebp - 0xe], al
mov eax, pe_nt_image_headers32
call fcn.0040337c
sub al, 0xc3
mov byte [ebp - 0xd], al
mov ebx, 0x10
mov eax, 0x4d3794
lea edx, [ebp - 0x1c]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4c7733
mov eax, dword [ebp - 0xc]
call fcn.00405180
mov ebx, 0x10
lea esi, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
movzx eax, byte [esi]
mov edx, 2
call fcn.00409cdc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004095cc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.0040544c
mov eax, dword [ebp - 0xc]
inc esi
dec ebx
jne 0x4c774d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c779c
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004051a4
ret
Function at 0x4c77a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405600
xor eax, eax
push ebp
push 0x4c783f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xe]
call fcn.004c7410
lea edx, [ebp - 8]
lea eax, [ebp - 0xe]
call fcn.004c7698
push 0
push 0
push 0
push dword [ebp - 4]
push 0x4c7854
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405514
mov eax, dword [ebp - 0x18]
call fcn.00405610
push eax
push 0x4c785c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7846
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004051a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004051a4
ret

Function at 0x4c7d4c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405600
xor eax, eax
push ebp
push 0x4c7ecd
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.004b3aec
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004b3b0c
mov ebx, eax
jmp 0x4c7e99
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004053f0
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a554
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409544
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409544
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004055a8
je 0x4c7e70
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004053f0
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409544
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409544
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004055a8
jne 0x4c7e8a
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004b3b2c
mov ebx, eax
test ebx, ebx
jne 0x4c7dcb
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7ed4
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004051a4
lea eax, [ebp - 4]
call fcn.00405180
ret

Function at 0x4c8090
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
push esp
push 0x3ff
call sub.kernel32.dll_GetTempPathA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405270
add esp, 0x400
pop ebx
ret
Function at 0x4c8d58
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405600
xor eax, eax
push ebp
push 0x4c8dbb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x103]
mov edx, dword [ebp - 4]
call fcn.0040a760
push 0
push 0
push 0
lea eax, [ebp - 0x103]
push eax
push 0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8dc2
lea eax, [ebp - 4]
call fcn.00405180
ret

Function at 0x4c9688
Capabilities:
Query environment variable

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
push 0x400
lea eax, [esp + 4]
push eax
push 0x4c96bc
call sub.kernel32.dll_GetEnvironmentVariableA
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004053f0
add esp, 0x400
pop ebx
ret

Function at 0x4c96c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405600
xor eax, eax
push ebp
push 0x4c9754
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004039fc
mov dword [ebp - 0x48], 0x44
mov word [ebp - 0x18], 0
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.004039fc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405610
push eax
push 0
call sub.kernel32.dll_CreateProcessA
call fcn.0040f898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c975b
lea eax, [ebp - 4]
call fcn.00405180
ret

Function at 0x4ca134
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop edx
ret
Function at 0x4ca150
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x4ca194
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x4ca194
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x4ca22b
mov eax, 0x400
call fcn.00402efc
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x4ca224
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4d37a4
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x4ca21a
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x4ca216
mov byte [esp], 1
jmp 0x4ca21a
inc edi
dec ebx
jne 0x4ca1fd
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402f18
movzx eax, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x10005db0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100e9b00]
xor edx, edx
cmp eax, edx
jne 0x10005dd6
xor eax, eax
mov byte [eax + 0x100e9a00], al
inc eax
cmp eax, 0x100
jl 0x10005dbe
mov dword [0x100e9b00], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100e9a00
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10005e67
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x10005e3a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10005e08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10005ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10005f33
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x10005f1a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100061b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100b9317
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
call fcn.10029850
mov eax, dword [0x100e7b18]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], eax
mov ecx, dword [0x100e7b18]
mov dword [esi + 0x28], ecx
mov edx, dword [0x100e7b18]
mov dword [esi + 0x2c], edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 3
call fcn.10029850
lea edx, [esi + 0x48]
mov ecx, 0x1c
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x494]
mov byte [esp + 0x18], 4
mov dword [edx], 0x42444557
mov dword [edx + 4], 0x10000
call fcn.100ac5a1
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x100c1c1c
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], 0xffffffff
mov dword [esi + 0xd0], ebx
mov dword [esi + 0x4a8], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret