joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fb10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x480f88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047a19f
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044f4b0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047a0cd
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047698e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047698e
push 1
push 0
push 0
mov ecx, esi
call fcn.00476936
push 1
push 0
push 1
mov ecx, esi
call fcn.00476936
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047a211
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44fc90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x480fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047a19f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044f4b0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047a0cd
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x44fd54
cmp dword [esp + 0x40], 1
jne 0x44fd52
cmp ecx, eax
jge 0x44fd54
mov eax, ecx
cmp eax, 0xc8
jge 0x44fd60
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044fb10
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047a211
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4504d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481013
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00474daf
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047a447
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047b963
test eax, eax
je 0x4505ec
mov ecx, dword [esp + 0x3c]
call fcn.0047a474
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4505b0
push edi
mov ecx, esi
call fcn.00477adc
mov ecx, esi
call fcn.00450750
cmp dword [esp + 0x38], 1
jne 0x4505e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00477c17
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x453010
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x453043
push esi
call fcn.00456100
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45303c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4530c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4530b2
mov eax, dword [esi + 8]
test eax, eax
je 0x453067
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4530ae
cmp eax, 2
je 0x4530b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45305a
cmp eax, 3
je 0x45308d
cmp eax, 1
jne 0x45305a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45305a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45305a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004530f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4530d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004530f0
add esp, 4
pop esi
ret
Function at 0x45f9c0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45fa0a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x45fa39
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x45fa7b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x475ba4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x475bdc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00473c5b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00473c33
jmp 0x475be8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x477296
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4772d8
call fcn.0047cd53
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4772d8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4772cf
xor eax, eax
jmp 0x4772e0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004772e6
pop edi
pop esi
pop ebx
ret 4

Function at 0x47d283
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47d2b1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47d2cf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047d1e9
jmp 0x47d2cf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47d2cf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047d1e9
test edi, edi
mov eax, edi
jne 0x47d2b9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1002d10
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call dword [0x100137c]
cmp eax, dword [ebp + 8]
jne 0x1002d31
push 0x11
call dword [0x1001380]
test ax, ax
jl 0x1002dd2
push esi
xor esi, esi
cmp dword [0x1015e74], esi
push edi
jle 0x1002d52
mov ecx, dword [esi*4 + 0x1015e78]
mov eax, dword [ecx]
call dword [eax + 0x18]
inc esi
cmp esi, dword [0x1015e74]
jl 0x1002d3d
movzx eax, byte [0x1016554]
mov ecx, dword [0x1015020]
imul eax, ecx
push ebx
push 0x64
xor edx, edx
pop esi
div esi
mov ebx, eax
cmp ebx, ecx
jb 0x1002d73
lea ebx, [ecx - 1]
mov esi, dword [0x1001170]
push 0x80
push 0
call esi
push eax
call dword [0x100116c]
mov edi, eax
test edi, edi
je 0x1002da8
movzx eax, byte [0x1016554]
push eax
push 0x1015ae0
push 0x40
push edi
call dword [0x10011dc]
add esp, 0x10
push edi
push ebx
push 0x402
push dword [0x1015e40]
call dword [0x1001384]
test eax, eax
pop ebx
jne 0x1002dcb
push edi
push eax
call esi
push eax
call dword [fcn.01001168]
call fcn.01002bfb
pop edi
pop esi
pop ebp
ret 8
Function at 0x1003af4
Capabilities:
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x1003abd
push esi
push esi
call dword [0x1001174]
cmp eax, esi
je 0x1003b24
push eax
call dword [0x1001178]
jmp 0x1003b43
push 0x1001760
lea ecx, [ebp - 0x1c]
call fcn.01012b16
push esi
push dword [ebp + 8]
call dword [fcn.01001210]
lea ecx, [ebp - 0x1c]
call fcn.01012b84
pop esi
leave
ret 4

Function at 0x1003b4d
Capabilities:
Lock the desktop
Log keystrokes via polling
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push 0x1000
call dword [fcn.01001200]
mov eax, dword [ebp + 0xc]
add eax, 0xfffff05e
cmp eax, 8
ja case.default.0x1003b71
jmp dword [eax*4 + 0x1003c1e]
push 2
jmp 0x1003b7e
push 3
call fcn.01003a3a
jmp case.default.0x1003b71
push 0x11
call dword [fcn.01001218]
test ax, ax
jge 0x1003ba6
push 0x1001760
lea ecx, [ebp - 0x18]
call fcn.01012b16
push 2
jmp 0x1003bdd
lea eax, [ebp + 0xc]
push eax
push 0
push 0
call fcn.010031c5
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 7
inc eax
push eax
jmp 0x1003bef
push 0x11
call dword [fcn.01001218]
test ax, ax
jge 0x1003bed
push 0x1001760
lea ecx, [ebp - 0x18]
call fcn.01012b16
push 1
call dword [fcn.01001450]
lea ecx, [ebp - 0x18]
call fcn.01012b84
jmp case.default.0x1003b71
push 2
call fcn.01003af4
jmp case.default.0x1003b71
push 0
push 0
call dword [fcn.01001210]
jmp case.default.0x1003b71
push 0
call dword [sym.imp.MSGINA.dll_Ordinal_4]
jmp case.default.0x1003b71
call dword [0x1015e8c]
jmp case.default.0x1003b71
call dword [fcn.01001214]
leave
ret 8
Function at 0x1003dc9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x1015494]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], ecx
mov dword [eax], ecx
push 0x47
mov dword [ebp - 0x12c], eax
mov dword [ebx], ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x120]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [0x1001158]
test eax, eax
je 0x1003eef
test word [ebp - 8], 0x110
je 0x1003eef
xor edi, edi
inc edi
cmp byte [ebp - 6], 3
mov dword [esi], edi
je 0x1003eed
cmp byte [ebp - 6], 2
je 0x1003eed
cmp byte [ebp - 6], 1
jne 0x1003eef
cmp word [ebp - 8], 0x100
jne 0x1003eef
push 4
pop esi
lea eax, [ebp - 0x124]
push eax
push edi
xor ebx, ebx
push ebx
push 0x10019d0
push 0x80000002
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x134], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003ec6
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
push ebx
push 0x100199c
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003ec6
cmp dword [ebp - 0x128], esi
jne 0x1003ec6
cmp dword [ebp - 0x130], ebx
jne 0x1003ec8
xor edi, edi
cmp dword [ebp - 0x124], ebx
je 0x1003edc
push dword [ebp - 0x124]
call dword [entry0]
mov ecx, dword [ebp - 0x12c]
xor eax, eax
cmp edi, ebx
sete al
mov dword [ecx], eax
jmp 0x1003eef
mov dword [ebx], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010120da
leave
ret 0xc

Function at 0x1003f03
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x168
push esi
mov esi, dword [0x1001448]
push 0
push 0x2c
lea eax, [ebp - 0x30]
push eax
push 0
mov byte [ebp - 1], 1
call esi
test eax, eax
jl 0x1003f66
xor edx, edx
mov eax, 0x100000
div dword [ebp - 0x28]
push edi
push 0
push 0x138
mov edi, eax
lea eax, [ebp - 0x168]
push eax
push 2
call esi
test eax, eax
jl 0x1003f65
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x138]
xor edx, edx
div edi
cmp eax, 8
jbe 0x1003f65
mov byte [ebp - 1], 0
pop edi
mov al, byte [ebp - 1]
pop esi
leave
ret

Function at 0x1004251
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0x1001a3c
push 0
push 0x1001500
push 0x80000001
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10042ab
push 0x29c
push edi
push 3
push eax
push 0x1001574
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push dword [ebp - 4]
je 0x10042b2
call dword [entry0]
call fcn.01003327
jmp 0x10042ba
call dword [entry0]
xor eax, eax
pop edi
leave
ret
Function at 0x10042c2
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [0x1001380]
push 0x10
mov esi, ecx
call edi
test ax, ax
jge 0x10042f8
push 0x12
call edi
test ax, ax
jge 0x10042f8
push 0x11
call edi
test ax, ax
jge 0x10042f8
mov ecx, esi
call fcn.010026f2
jmp 0x1004317
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x1001500
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100431c
xor eax, eax
inc eax
jmp 0x100437f
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1001574
push dword [ebp - 8]
mov edi, 0x29c
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100436a
cmp dword [ebp - 0xc], 3
jne 0x100436a
cmp dword [ebp - 4], edi
jne 0x100436a
push eax
lea eax, [esi + 0x14]
push eax
call dword [0x1001248]
test eax, eax
je 0x100436a
mov eax, dword [0x1015e74]
dec eax
cmp dword [esi + 0x24], eax
jg 0x100436a
xor esi, esi
jmp 0x1004374
mov ecx, esi
call fcn.010026f2
xor esi, esi
inc esi
push dword [ebp - 8]
call dword [entry0]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x100661c
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x768
push ebx
xor ebx, ebx
push ebx
push 0x2c
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [0x1001448]
test eax, eax
jl 0x1006650
mov eax, dword [ebp - 0x28]
mov dword [0x101614c], eax
mov al, byte [ebp - 8]
cmp al, 0x20
mov byte [0x1015e30], al
jbe 0x1006657
xor al, al
jmp 0x1006778
test al, al
push esi
mov esi, dword [fcn.01001160]
push edi
mov edi, 0x1f40
jbe 0x100669c
push edi
push 0x40
call esi
test eax, eax
mov dword [ebx*4 + 0x1016450], eax
je 0x1006752
push edi
push 0x40
call esi
test eax, eax
mov dword [ebx*4 + 0x10164d0], eax
je 0x1006752
movzx eax, byte [0x1015e30]
inc ebx
cmp ebx, eax
jl 0x1006668
push edi
push 0x40
call esi
test eax, eax
mov dword [0x1016550], eax
je 0x1006752
push 0
push 0x600
lea eax, [ebp - 0x768]
push eax
push 8
call dword [0x1001448]
test eax, eax
jl 0x1006752
movzx eax, byte [0x1015e30]
and dword [ebp - 4], 0
test eax, eax
jle 0x1006738
lea eax, [ebp - 0x760]
mov ecx, dword [ebp - 4]
mov edx, dword [eax - 8]
mov edi, dword [eax + 8]
mov esi, dword [eax + 4]
mov ebx, dword [eax + 0xc]
shl ecx, 3
mov dword [ecx + 0x1016150], edx
mov edx, dword [eax - 4]
mov dword [ecx + 0x1016154], edx
mov edx, dword [eax]
add edi, edx
adc ebx, esi
add edx, dword [eax - 8]
mov dword [ecx + 0x1016250], edi
adc esi, dword [eax - 4]
mov dword [ecx + 0x1016254], ebx
mov dword [ecx + 0x1016350], edx
mov dword [ecx + 0x1016354], esi
movzx ecx, byte [0x1015e30]
add eax, 0x30
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x10066e1
push 0
push 0x138
lea eax, [ebp - 0x168]
push eax
push 2
call dword [0x1001448]
test eax, eax
jge 0x1006756
xor al, al
jmp 0x1006776
mov eax, dword [0x101614c]
shr eax, 0xa
imul eax, dword [ebp - 0x134]
and dword [0x1016564], 0
mov dword [0x1016560], eax
mov al, byte [0x1015e30]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100a6af
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [0x1001170]
mov esi, ecx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x100a6f9
push ebx
push dword [esi + 0x14]
push eax
push 5
call dword [0x1001448]
cmp eax, ebx
jge 0x100a71b
cmp eax, 0xc0000004
jne 0x100a723
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x100a6f9
push eax
push ebx
call edi
push eax
call dword [fcn.01001168]
mov dword [esi + 0x10], ebx
add dword [esi + 0x14], 0x1000
push dword [esi + 0x14]
push ebx
call edi
push eax
call dword [0x100116c]
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x100a6c5
mov dword [ebp - 4], 0x8007000e
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
mov dword [ebp - 4], 0x80004005
jmp 0x100a71b

Function at 0x100abe7
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
push edi
lea eax, [ebp - 0x48]
mov edi, ecx
push eax
push dword [edi + 4]
call dword [fcn.0100138c]
push 0xa
call dword [fcn.010011f4]
test eax, eax
mov dword [ebp - 4], eax
je 0x100ad45
push ebx
push esi
push 0x3f2
push dword [edi + 4]
call dword [fcn.010013a0]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 8], eax
call dword [fcn.0100135c]
push 2
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
push 0
call dword [fcn.010013a4]
mov eax, dword [0x1015e50]
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
push 0x15
add eax, eax
sub ebx, eax
sub ebx, dword [ebp - 0x10]
sub esi, eax
sub esi, dword [ebp - 0xc]
xor eax, eax
push eax
push eax
add ecx, esi
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, ebx
push ecx
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [fcn.01001360]
push 0x3f0
push dword [edi + 4]
call dword [fcn.010013a0]
push eax
mov dword [ebp - 8], eax
call dword [0x10012cc]
test eax, eax
je 0x100ace3
cmp dword [0x1015e90], 0
je 0x100acd8
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
call dword [fcn.0100135c]
push 2
lea eax, [ebp - 0x28]
push eax
push dword [edi + 4]
push 0
call dword [fcn.010013a4]
mov ecx, dword [ebp - 0x24]
push 0x15
xor eax, eax
push eax
push eax
add ecx, esi
push ecx
push dword [ebp - 0x28]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [fcn.01001360]
jmp 0x100ace3
push 0
push dword [ebp - 8]
call dword [0x1001394]
push 0x3f1
push dword [edi + 4]
call dword [fcn.010013a0]
lea ecx, [ebp - 0x38]
push ecx
push eax
mov dword [ebp - 8], eax
call dword [fcn.0100135c]
push 2
lea eax, [ebp - 0x38]
push eax
push dword [edi + 4]
xor edi, edi
push edi
call dword [fcn.010013a4]
mov eax, dword [ebp - 0x14]
sub eax, dword [0x1015e50]
push 0x16
sub eax, dword [ebp - 0x34]
add eax, esi
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x38]
add eax, ebx
push eax
push edi
push edi
push edi
push dword [ebp - 8]
push dword [ebp - 4]
call dword [fcn.01001360]
push dword [ebp - 4]
call dword [fcn.01001364]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x100b365
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [0x1001170]
push edi
mov eax, 0x47e0
push eax
push 0
mov dword [ebp - 4], eax
call esi
mov edi, dword [0x100116c]
jmp 0x100b3c4
push 0
push dword [ebp - 4]
push ebx
push 5
call dword [0x1001448]
test eax, eax
mov dword [ebp - 8], eax
je 0x100b3ad
push ebx
push 0
call esi
push eax
call dword [fcn.01001168]
xor ebx, ebx
cmp dword [ebp - 8], 0xc0000004
jne 0x100b3cf
add dword [ebp - 4], 0x2000
push dword [ebp - 4]
push 0
call esi
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x100b38a
jmp 0x100b3d5
cmp dword [ebp - 8], 0
jge 0x100b3d9
xor eax, eax
jmp 0x100b3db
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100c17d
Capabilities:
Acquire debug privileges

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
push dword [edi + 0xc]
call fcn.0100b5ea
mov esi, eax
test esi, esi
je 0x100c1ad
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0100c0bc
test eax, eax
je 0x100c1b4
xor eax, eax
jmp 0x100c27c
push ebx
mov ebx, dword [esi + 0x8c]
test ebx, ebx
je 0x100c1c4
mov eax, dword [ebx + 8]
jmp 0x100c1c7
mov eax, dword [esi + 8]
cmp dword [ebp + 0xc], 0
mov si, word [esi + 0x90]
mov dword [ebp - 8], eax
jne 0x100c1f4
push 0x2719
push 0x2717
mov ecx, edi
call fcn.0100a1d0
cmp eax, 6
je 0x100c1f4
xor eax, eax
jmp 0x100c27b
test ebx, ebx
je 0x100c203
push esi
push dword [ebp - 8]
call fcn.0101346c
jmp 0x100c27b
push 0x1001f28
lea ecx, [ebp - 0x20]
call fcn.01012b16
push dword [ebp + 8]
push 0
push 1
call dword [0x10010b4]
mov esi, eax
test esi, esi
je 0x100c24b
push 1
push esi
call dword [0x10010c0]
test eax, eax
jne 0x100c23b
call dword [0x1001184]
mov dword [ebp - 4], eax
jmp 0x100c242
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
push esi
call dword [0x1001178]
jmp 0x100c254
call dword [0x1001184]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100c26e
push dword [ebp - 4]
push 0x2721
push dword [edi + 4]
call fcn.01003f97
xor esi, esi
jmp 0x100c271
xor esi, esi
inc esi
lea ecx, [ebp - 0x20]
call fcn.01012b84
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret 8