joyce8/EMBER2024-capa huggingface dataset:
Function at 0x889af8
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x889b84
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
dec ecx
je 0x889b47
dec ecx
jne 0x889b80
cmp eax, 4
jg 0x889b2a
mov al, 1
jmp 0x889b86
cmp eax, 5
jne 0x889b37
test edx, edx
jne 0x889b37
mov al, 1
jmp 0x889b86
cmp eax, 5
jne 0x889b43
dec edx
jne 0x889b43
mov al, 1
jmp 0x889b86
xor eax, eax
jmp 0x889b86
cmp eax, 4
jne 0x889b54
test edx, edx
jne 0x889b54
mov al, 1
jmp 0x889b86
cmp eax, 4
jne 0x889b6e
cmp edx, 0xa
jne 0x889b6e
cmp word [esp + 0x16], 0x41
jne 0x889b6a
mov al, 1
jmp 0x889b86
mov al, 1
jmp 0x889b86
cmp eax, 4
jne 0x889b7c
cmp edx, 0x5a
jne 0x889b7c
mov al, 1
jmp 0x889b86
xor eax, eax
jmp 0x889b86
xor eax, eax
jmp 0x889b86
xor eax, eax
add esp, 0x114
ret

Function at 0x88a610
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a3bc
xor eax, eax
push ebp
push 0x88a68d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b3a0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
ja 0x88a672
lea ecx, [ebp - 8]
mov eax, dword [0xa8ee38]
mov eax, dword [eax]
mov edx, 0x88a6a8
call fcn.00859234
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0085f658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x88a694
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a338
ret

Function at 0x88a6e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a3bc
xor eax, eax
push ebp
push 0x88a75d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b3a0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
ja 0x88a742
lea ecx, [ebp - 8]
mov eax, dword [0xa8ee38]
mov eax, dword [eax]
mov edx, 0x88a778
call fcn.00859234
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0085f658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x88a764
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a338
ret
Function at 0x89e07c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x89e09e
add esp, 0xfffffff0
call fcn.00408c14
mov esi, ecx
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x89e276
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 8]
mov ebx, esi
mov dword [eax + 0x20], ebx
test ebx, ebx
je 0x89e205
mov eax, ebx
mov edx, 0x89e2ac
call fcn.008557d0
test al, al
jne 0x89e127
lea eax, [ebp - 4]
push eax
mov eax, 0x89e2ac
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x89e2d8
call fcn.00428eb0
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov ecx, 0xfde9
call fcn.0040af68
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
call fcn.00854968
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
lea eax, [ebp - 4]
push eax
mov eax, 0x89e2ac
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x89e388
call fcn.00428eb0
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040af68
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
call fcn.00855468
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x89e1fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0085680c
test eax, eax
jne 0x89e1d8
lea eax, [ebp - 4]
push eax
mov eax, 0x89e2ac
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x11
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x89e3dc
call fcn.00428eb0
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov ecx, 0xfde9
call fcn.0040af68
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
call fcn.00854968
jmp 0x89e1e8
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00856ce4
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x89e205
mov eax, dword [ebp - 0x10]
call fcn.00408618
ret
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5966e0]
call fcn.00599a00
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ebx
mov eax, ebx
mov edx, 0x3e8
call fcn.00599ba4
mov eax, dword [ebp - 8]
push eax
push 0x89e428
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.00599bb4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dl, 1
call fcn.00599b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x89e27d
lea eax, [ebp - 0x34]
call fcn.0040a2fc
lea eax, [ebp - 0x20]
call fcn.0040a2fc
lea eax, [ebp - 0x1c]
call fcn.0040a2fc
lea eax, [ebp - 4]
call fcn.0040a2d8
ret
Function at 0x89e4b8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x89e616
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x20], 0
je 0x89e5eb
lea eax, [ebp - 4]
push eax
mov eax, 0x89e630
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x89e65c
call fcn.00428eb0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040af68
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x20]
call fcn.00855468
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x89e5e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 8], esi
mov eax, dword [ebp - 8]
call fcn.0085680c
test eax, eax
jne 0x89e58a
lea eax, [ebp - 4]
push eax
mov eax, 0x89e630
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x89e6b0
call fcn.00428eb0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
mov ecx, 0xfde9
call fcn.0040af68
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x20]
call fcn.00854968
jmp 0x89e5ce
lea eax, [ebp - 4]
push eax
mov eax, 0x89e630
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x89e708
call fcn.00428eb0
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov ecx, 0xfde9
call fcn.0040af68
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x20]
call fcn.00854968
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x89e5eb
mov eax, dword [ebp - 8]
call fcn.00408618
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x89e61d
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040a368
lea eax, [ebp - 0x14]
call fcn.0040a2fc
lea eax, [ebp - 4]
call fcn.0040a2d8
ret

Function at 0x8bf52c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x8bf568]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x8bf544
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x8bf554
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x8bf564
or bx, 2
mov eax, ebx
pop ebx
ret
Function at 0x8cde2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x8cde90
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.0040b45c
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.00427598
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8cde97
lea eax, [ebp - 0x14]
call fcn.0040a2d8
ret
Function at 0x8d1514
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x8d170f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.008c546c
mov ecx, 0x8d1720
mov edx, 0x8d1728
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x250]
mov eax, dword [0xa92c50]
mov dword [0xa8b208], eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [0xa8b21c]
push eax
mov eax, dword [0xa92c50]
push eax
call sub.user32.dll_GetClassInfoW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x8d158f
mov edx, sub.user32.dll_DefWindowProcW
cmp edx, dword [ebp - 0x3c]
je 0x8d15ae
test al, al
je 0x8d15a4
mov eax, dword [0xa92c50]
push eax
mov eax, dword [0xa8b21c]
push eax
call sub.user32.dll_UnregisterClassW
push 0xa8b1f8
call sub.user32.dll_RegisterClassW
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00614b90
push 0x80000000
mov eax, dword [ebp - 0x18]
sub eax, 0x10
push eax
mov eax, dword [ebp - 0x14]
sub eax, 0x10
push eax
push 0x20
push 0x20
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
push 0
mov eax, dword [0xa92c50]
push eax
push 0
xor ecx, ecx
mov edx, dword [0xa8b21c]
mov eax, 0x80
call fcn.004154a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x478], eax
mov dl, 1
mov eax, dword [0x50ac9c]
call fcn.00514380
mov edx, dword [ebp - 4]
mov dword [edx + 0x480], eax
mov eax, dword [ebp - 4]
call fcn.00614a80
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44c]
jge 0x8d165a
mov eax, dword [ebp - 4]
call fcn.00614ac0
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x450]
jge 0x8d164b
lea eax, [ebp - 8]
mov edx, 0x8d173c
call fcn.0040a700
jmp 0x8d1667
lea eax, [ebp - 8]
mov edx, 0x8d1760
call fcn.0040a700
jmp 0x8d1667
lea eax, [ebp - 8]
mov edx, 0x8d1780
call fcn.0040a700
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x480]
mov ecx, dword [ebp - 8]
mov edx, dword [0xa92c50]
call fcn.00515458
push 0
push ebp
call fcn.008d12d8
pop ecx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x478]
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x478]
mov esi, 0xfffffffc
mov eax, dword [ebp - 4]
push eax
push 0x8d07c8
call fcn.004cbdb8
push eax
push esi
push ebx
call sub.user32.dll_SetWindowLongW
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x478]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xfc]
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
call sub.user32.dll_SetCapture
push 0
push 0x14
push 4
mov eax, dword [ebp - 4]
call fcn.0061e3c8
push eax
call sub.user32.dll_SetTimer
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8d1716
lea eax, [ebp - 8]
call fcn.0040a2d8
ret
Function at 0x8e545c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x8e5564
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x28]
add eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov ebx, dword [esi + 0x24]
mov ecx, ebx
add ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov eax, ebx
call fcn.004a8d80
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 5]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [esi + 0xc]
call fcn.008e5580
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [esi + 8]
call fcn.008e5580
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x18]
pop edx
call fcn.008e5298
movzx eax, byte [ebp - 5]
mov byte [esi + 0x21], al
mov edx, 2
mov eax, dword [edi + 0x44]
call fcn.0050d868
mov edx, 0xff000008
mov eax, dword [edi + 0x44]
call fcn.0050d714
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x60]
movzx eax, byte [esi + 0x20]
push eax
lea eax, [ebp - 4]
push eax
movzx ecx, byte [esi + 0x21]
mov edx, dword [esi + 0x10]
mov eax, dword [0x8e2e68]
call fcn.008e4f30
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8e556b
lea eax, [ebp - 4]
call fcn.0040a2d8
ret
Function at 0x90d3b4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x90d4dc
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0090d2a0
mov eax, dword [esi]
call fcn.0040c840
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41fe80]
call fcn.0040ca5c
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00406734
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00406734
add ebx, 0x1c
mov eax, dword [esi]
call fcn.0040c840
mov dword [ebp - 0xc], eax
mov eax, dword [0xa8f568]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.008fc15c
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.004075cc
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.0040c840
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.008fc138
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.008fbef0
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.008fc154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x90d4e3
lea eax, [ebp - 4]
mov edx, dword [0x41fe80]
call fcn.0040cb80
ret
Function at 0x94ed1c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x94ed24
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x94eed9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x94eef4
call fcn.0040b60c
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.0094c9f8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x94ef08
call fcn.008fd538
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x94ed9f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x94ede0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0xc]
call fcn.0094c9f8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x94ef70
call fcn.008fd538
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040b5b4
mov eax, esi
mov edx, 0x94ef9c
call fcn.0040b5b4
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x94edf8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x94ee66
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x94efb0
call fcn.008fd538
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040b5b4
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x94ee2f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x94ee5a
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x94efe0
call fcn.008fd538
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040b5b4
mov eax, esi
mov edx, 0x94ef9c
call fcn.0040b5b4
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x94ee72
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x94ee9d
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x94f00c
call fcn.008fd538
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040b5b4
mov eax, esi
mov edx, 0x94ef9c
call fcn.0040b5b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x94eee0
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.0040a338
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040a338
lea eax, [ebp - 4]
call fcn.0040a2d8
ret
Function at 0x97507c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a3bc
xor eax, eax
push ebp
push 0x9750db
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b3a0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
ja 0x9750c5
mov edx, 0x9750f4
mov eax, ebx
call fcn.0085f658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9750e2
lea eax, [ebp - 4]
call fcn.0040a2d8
ret

Function at 0x994408
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x99450f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebx + 0x44]
call fcn.00427dcc
test al, al
je 0x9944f4
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00406950
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00428404
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00889684
push dword [ebp - 8]
push 0x994528
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x10]
call fcn.00889684
push dword [ebp - 0x14]
push 0x994528
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x14]
call fcn.004272f0
push dword [ebp - 0x18]
push 0x994528
push dword [ebx + 0x18]
push 0x994528
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x40]
call fcn.00889684
push dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov edx, 9
call fcn.0040b694
cmp dword [ebx + 0xc], 0
je 0x9944d2
push dword [ebp - 4]
push 0x994528
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0xc]
call fcn.00889684
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040b694
push 5
push 0x99452c
mov eax, dword [ebp - 4]
call fcn.0040b3a0
push eax
mov eax, dword [ebx + 0x44]
call fcn.0040b3a0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x994516
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.0040a338
ret

Function at 0x997938
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x997969
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.0040b45c
jmp 0x997970
mov eax, ebx
call fcn.0040a2d8
add esp, 0x204
pop ebx
ret
Function at 0x997978
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x9979ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b534
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b3a0
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x9979d0
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b7dc
jmp 0x9979d7
mov eax, ebx
call fcn.0040a2d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9979f4
lea eax, [ebp - 4]
call fcn.0040a2d8
ret

Function at 0x9a2ff4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
mov eax, dword [ebx + 0x50]
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov byte [eax + 0x291], 0
call fcn.00780148
xor eax, eax
push ebp
push 0x9a30b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.008413cc
mov eax, dword [ebp - 4]
call fcn.009a27d8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [ebx + 0x30]
mov eax, dword [ebp - 4]
call fcn.009a2db4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.008411b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor ecx, ecx
mov edx, 1
call fcn.00767b98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9a30b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0078017c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov byte [eax + 0x291], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 1
ret