joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56c264
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x56c316
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00403ec8
push 0xa
push 0x56c324
mov eax, dword [0x578ab4]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x56c300
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x578ab4]
push eax
call sub.kernel32.dll_SizeofResource
mov esi, eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x578ab4]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x56c300
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
test ebx, ebx
je 0x56c300
test esi, esi
jle 0x56c2f8
lea eax, [ebp - 8]
mov dl, byte [ebx]
call fcn.0040406c
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040414c
inc ebx
dec esi
jne 0x56c2e0
mov eax, dword [ebp - 4]
call fcn.0040acb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56c31d
lea eax, [ebp - 8]
call fcn.00403ec8
ret

Function at 0x56c32c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x56c42f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4140e8]
call fcn.00403288
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
call fcn.0056c264
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [0x578abc], eax
mov eax, 0x578ac4
mov dword [0x578ac0], eax
mov eax, dword [0x578abc]
test eax, eax
jle 0x56c401
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov ebx, 0x578ac8
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
push 0xa
lea eax, [ebp - 8]
call fcn.00404314
push eax
mov eax, dword [0x578ab4]
push eax
call sub.kernel32.dll_FindResourceA
mov esi, eax
test esi, esi
je 0x56c411
push esi
mov eax, dword [0x578ab4]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebx], eax
push esi
mov eax, dword [0x578ab4]
push eax
call sub.kernel32.dll_LoadResource
mov esi, eax
test esi, esi
je 0x56c411
push esi
call sub.kernel32.dll_LockResource
mov edi, eax
mov dword [ebx - 4], edi
test edi, edi
je 0x56c411
inc dword [ebp - 0xc]
add ebx, 8
dec dword [ebp - 0x10]
jne 0x56c39c
push 0x578abc
mov eax, dword [0x578ab8]
push eax
call fcn.00560c6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56c436
lea eax, [ebp - 0x14]
call fcn.00403ec8
lea eax, [ebp - 8]
call fcn.00403ec8
ret
Function at 0x826058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008261a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x82607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82606a
add dl, dl
jne 0x826089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8260dc
xor eax, eax
add dl, dl
jne 0x826096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82617d
add dl, dl
jne 0x8260a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8260b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8260bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8260c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8260d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x826075
mov eax, 1
add dl, dl
jne 0x8260ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8260f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8260e1
sub eax, ebx
mov ebx, 1
jne 0x826128
mov ecx, 1
add dl, dl
jne 0x82610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x826119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x826105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x826075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x82613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x82614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x826136
cmp eax, 0x7d00
jae 0x82616d
cmp eax, 0x500
jb 0x826168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x826075
cmp eax, 0x7f
ja 0x826170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x826075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x82619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x826075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1004302
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push 0x10042c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100432f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1004353
push 0x10017d0
lea ecx, [ebp - 0x1c]
call fcn.0101a984
push 0
push 3
push 2
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtInitiatePowerAction]
lea ecx, [ebp - 0x1c]
call fcn.0101a9f2
leave
ret 4

Function at 0x1004393
Capabilities:
Create thread
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push 0x100435c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10043c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10043e0
push 0x10017d0
lea ecx, [ebp - 0x1c]
call fcn.0101a984
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
lea ecx, [ebp - 0x1c]
call fcn.0101a9f2
leave
ret 4

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
add eax, 0xfffff05e
cmp eax, 8
ja case.default.0x1004402
jmp dword [eax*4 + 0x10044b2]
push 2
jmp 0x100440f
push 3
call fcn.01004302
jmp case.default.0x1004402
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x1004437
push 0x10017d0
lea ecx, [ebp - 0x18]
call fcn.0101a984
push 2
jmp 0x1004471
xor eax, eax
lea ecx, [ebp + 8]
push ecx
push eax
push eax
mov dword [ebp + 8], eax
call fcn.0100414b
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 7
inc eax
push eax
jmp 0x1004483
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x1004481
push 0x10017d0
lea ecx, [ebp - 0x18]
call fcn.0101a984
push 1
call dword [sym.imp.ntdll.dll_NtShutdownSystem]
lea ecx, [ebp - 0x18]
call fcn.0101a9f2
jmp case.default.0x1004402
push 2
call fcn.01004393
jmp case.default.0x1004402
xor eax, eax
push eax
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp case.default.0x1004402
push 0
call dword [sym.imp.MSGINA.dll_Ordinal_20]
jmp case.default.0x1004402
call dword [0x101fa60]
jmp case.default.0x1004402
call dword [sym.imp.USER32.dll_LockWorkStation]
leave
ret 4

Function at 0x1004560
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101e4ac]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push 0x20
push 0x101f1a8
push 0x1e
mov edi, 0x400
mov dword [ebp - 4], eax
push edi
call esi
push 0x20
push 0x101f168
push 0xf
push edi
call esi
push 0x20
push 0x101f128
push 0xe
push edi
call esi
push 8
lea eax, [ebp - 0x14]
push eax
push 0x10
push edi
call esi
push 0xa
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.01013d59
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
mov dword [0x101f124], eax
pop esi
call fcn.01013809
leave
ret
Function at 0x1004651
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x101e4ac]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], ecx
mov dword [ebx], ecx
mov dword [eax], ecx
push 0x47
mov dword [ebp - 0x124], eax
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 [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100475d
test word [ebp - 8], 0x110
je 0x100475d
xor eax, eax
inc eax
cmp byte [ebp - 6], 3
mov dword [esi], eax
je 0x1004755
cmp byte [ebp - 6], 2
je 0x1004755
cmp byte [ebp - 6], al
jne 0x100475d
cmp word [ebp - 8], 0x100
jne 0x100475d
lea ecx, [ebp - 0x128]
push ecx
push eax
xor esi, esi
push esi
push 0x1001850
push 0x80000002
mov dword [ebx], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100475d
push 4
pop edi
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x12c]
push eax
push esi
push 0x1001820
push dword [ebp - 0x128]
mov dword [ebp - 0x130], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1004747
cmp dword [ebp - 0x12c], edi
jne 0x1004747
cmp dword [ebp - 0x124], esi
je 0x1004747
mov dword [ebx], esi
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100475d
mov ecx, dword [ebp - 0x124]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01013809
leave
ret 0xc

Function at 0x1004771
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x168
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push 0
push 0x2c
lea eax, [ebp - 0x30]
push eax
push 0
mov byte [ebp - 1], 1
call esi
test eax, eax
jl 0x10047d4
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 0x10047d3
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x138]
xor edx, edx
div edi
cmp eax, 8
jbe 0x10047d3
mov byte [ebp - 1], 0
pop edi
mov al, byte [ebp - 1]
pop esi
leave
ret

Function at 0x1004a7f
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 0x100191c
push 0
push 0x1001570
push 0x80000001
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1004ad9
push 0x29c
push edi
push 3
push eax
push 0x10015e4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push dword [ebp - 4]
je 0x1004ae0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.01004933
jmp 0x1004ae8
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
leave
ret
Function at 0x1004af0
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 [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov esi, ecx
call edi
test ax, ax
jge 0x1004b26
push 0x12
call edi
test ax, ax
jge 0x1004b26
push 0x11
call edi
test ax, ax
jge 0x1004b26
mov ecx, esi
call fcn.01003962
jmp 0x1004b45
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x1001570
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1004b4a
xor eax, eax
inc eax
jmp 0x1004bad
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10015e4
push dword [ebp - 8]
mov edi, 0x29c
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1004b98
cmp dword [ebp - 0xc], 3
jne 0x1004b98
cmp dword [ebp - 4], edi
jne 0x1004b98
push eax
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.USER32.dll_MonitorFromRect]
test eax, eax
je 0x1004b98
mov eax, dword [0x101fa48]
dec eax
cmp dword [esi + 0x24], eax
jg 0x1004b98
xor esi, esi
jmp 0x1004ba2
mov ecx, esi
call fcn.01003962
xor esi, esi
inc esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x1004d8f
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [ebp + 8]
jne 0x1004db0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x1004e73
push esi
push edi
xor edi, edi
xor esi, esi
cmp dword [0x101fa48], edi
jle 0x1004dd3
mov ecx, dword [esi*4 + 0x101fa4c]
mov eax, dword [ecx]
call dword [eax + 0x18]
inc esi
cmp esi, dword [0x101fa48]
jl 0x1004dbe
cmp dword [0x101fa28], edi
je 0x1004e54
movzx eax, byte [0x1020124]
mov ecx, dword [0x101e040]
imul eax, ecx
push ebx
push 0x64
xor edx, edx
pop esi
div esi
mov ebx, eax
cmp ebx, ecx
jb 0x1004dfc
lea ebx, [ecx - 1]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x80
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x1004e2f
movzx eax, byte [0x1020124]
push eax
push 0x101f6a8
push 0x40
push edi
call fcn.01004bd8
add esp, 0x10
push edi
push ebx
push 0x402
push dword [0x101fa08]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
pop ebx
jne 0x1004e6c
push edi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1004e6c
push edi
push edi
push 0x404
push dword [0x101fa08]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov dword [0x101fa28], eax
call fcn.01004c6f
pop edi
pop esi
pop ebp
ret 4
Function at 0x10074aa
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 [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jge 0x10074d1
xor al, al
jmp 0x1007612
mov eax, dword [ebp - 0x28]
mov dword [0x101fd18], eax
mov al, byte [ebp - 8]
cmp al, 0x20
mov byte [0x101f9f8], al
jbe 0x10074ec
mov byte [0x101f9f8], 0x20
cmp byte [0x101f9f8], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
mov edi, 0x1f40
jbe 0x1007536
push edi
push 0x40
call esi
test eax, eax
mov dword [ebx*4 + 0x1020020], eax
je 0x10075ec
push edi
push 0x40
call esi
test eax, eax
mov dword [ebx*4 + 0x10200a0], eax
je 0x10075ec
movzx eax, byte [0x101f9f8]
inc ebx
cmp ebx, eax
jl 0x1007502
push edi
push 0x40
call esi
test eax, eax
mov dword [0x1020120], eax
je 0x10075ec
push 0
push 0x600
lea eax, [ebp - 0x768]
push eax
push 8
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jl 0x10075ec
movzx eax, byte [0x101f9f8]
and dword [ebp - 4], 0
test eax, eax
jle 0x10075d2
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 + 0x101fd20], edx
mov edx, dword [eax - 4]
mov dword [ecx + 0x101fd24], edx
mov edx, dword [eax]
add edi, edx
adc ebx, esi
add edx, dword [eax - 8]
mov dword [ecx + 0x101fe20], edi
adc esi, dword [eax - 4]
mov dword [ecx + 0x101fe24], ebx
mov dword [ecx + 0x101ff20], edx
mov dword [ecx + 0x101ff24], esi
movzx ecx, byte [0x101f9f8]
add eax, 0x30
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x100757b
push 0
push 0x138
lea eax, [ebp - 0x168]
push eax
push 2
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jge 0x10075f0
xor al, al
jmp 0x1007610
mov eax, dword [0x101fd18]
shr eax, 0xa
imul eax, dword [ebp - 0x134]
and dword [0x1020134], 0
mov dword [0x1020130], eax
mov al, byte [0x101f9f8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100b9b0
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
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, ecx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x100b9f2
lea ecx, [ebp - 8]
push ecx
push dword [esi + 0x14]
push eax
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, ebx
jge 0x100ba35
cmp eax, 0xc0000004
je 0x100b9f5
mov dword [ebp - 4], 0x80004005
jmp 0x100ba35
mov dword [ebp - 8], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x100ba0a
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x10], ebx
mov eax, dword [ebp - 8]
mov ecx, eax
shr ecx, 4
lea eax, [ecx + eax + 0x1000]
push eax
push ebx
mov dword [esi + 0x14], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x100b9c7
mov dword [ebp - 4], 0x8007000e
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100bb9d
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 [sym.imp.USER32.dll_GetClientRect]
push 3
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
test eax, eax
mov dword [ebp - 4], eax
je 0x100bcfb
push ebx
push esi
push 0x3f2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [0x101fa18]
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 [sym.imp.USER32.dll_DeferWindowPos]
push 0x3f0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100bc99
cmp dword [0x101fa64], 0
je 0x100bc8e
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x28]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
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 [sym.imp.USER32.dll_DeferWindowPos]
jmp 0x100bc99
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x38]
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x38]
push eax
push dword [edi + 4]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x14]
sub eax, dword [0x101fa18]
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 [sym.imp.USER32.dll_DeferWindowPos]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x100bf99
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 [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov eax, 0x47e0
push eax
push 0
mov ebx, eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x100c001
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 4]
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test ebx, ebx
je 0x100bfe5
push dword [ebp - 4]
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [ebp - 4], 0
cmp ebx, 0xc0000004
jne 0x100c00d
mov eax, dword [ebp - 8]
mov ecx, eax
shr ecx, 4
lea ebx, [ecx + eax + 0x2000]
push ebx
push 0
call esi
push eax
call edi
test eax, eax
mov dword [ebp - 4], eax
jne 0x100bfbd
jmp 0x100c011
test ebx, ebx
jge 0x100c015
xor eax, eax
jmp 0x100c018
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c890
Capabilities:
Acquire debug privileges
Terminate process

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.0100c286
mov esi, eax
test esi, esi
je 0x100c8c0
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0100c7cf
test eax, eax
je 0x100c8c7
xor eax, eax
jmp 0x100c98f
push ebx
mov ebx, dword [esi + 0x8c]
test ebx, ebx
je 0x100c8d7
mov eax, dword [ebx + 8]
jmp 0x100c8da
mov eax, dword [esi + 8]
cmp dword [ebp + 0xc], 0
mov si, word [esi + 0x90]
mov dword [ebp - 8], eax
jne 0x100c907
push 0x2719
push 0x2717
mov ecx, edi
call fcn.0100b4d1
cmp eax, 6
je 0x100c907
xor eax, eax
jmp 0x100c98e
test ebx, ebx
je 0x100c916
push esi
push dword [ebp - 8]
call sub.VDMDBG.dll_VDMTerminateTaskWOW
jmp 0x100c98e
push 0x1001f74
lea ecx, [ebp - 0x20]
call fcn.0101a984
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100c95e
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x100c94e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100c955
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100c967
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100c981
push dword [ebp - 4]
push 0x2721
push dword [edi + 4]
call fcn.01005ab1
xor esi, esi
jmp 0x100c984
xor esi, esi
inc esi
lea ecx, [ebp - 0x20]
call fcn.0101a9f2
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x100c99a
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x101e4ac]
push esi
push 0x271a
push 0x2717
mov dword [ebp - 4], eax
mov esi, ecx
call fcn.0100b4d1
cmp eax, 6
je 0x100c9cb
xor eax, eax
jmp 0x100ca7d
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x414]
push dword [esi + 0x4c]
push 0x1001f98
push 0x208
push eax
call fcn.01004bd8
xor ebx, ebx
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0x418], eax
jne 0x100ca62
push edi
push 0x10
pop ecx
xor eax, eax
mov dword [ebp - 0x46c], 0x44
lea edi, [ebp - 0x468]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x46c]
push eax
push ebx
push ebx
push 0x10
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100ca43
call fcn.01004933
mov dword [ebp - 0x418], eax
jmp 0x100ca59
push dword [ebp - 0x424]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x428]
call edi
cmp dword [ebp - 0x418], ebx
pop edi
je 0x100ca79
push dword [ebp - 0x418]
push 0x2722
push dword [esi + 4]
call fcn.01005ab1
xor eax, eax
jmp 0x100ca7c
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.01013809
leave
ret 4