joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c96c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
and eax, 0xfffffff
cmp eax, 3
ja case.default.0x4c96d6
jmp dword [eax*4 + 0x4c9774]
push ebx
mov ebx, dword [edx + 8]
xor edx, edx
movzx eax, bl
xor eax, 0x811c9dc5
push esi
mov esi, dword [ecx + 0xc]
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4c973b
nop
cmp dword [eax + 4], ebx
je 0x4c973d
mov eax, dword [eax]
test eax, eax
jne 0x4c9730
xor eax, eax
test eax, eax
pop esi
setne al
pop ebx
pop ebp
ret 4
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x2c]
cmp eax, dword [edx + 8]
sete al
pop ebp
ret 4
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
sete al
pop ebp
ret 4
mov al, 1
pop ebp
ret 4
xor al, al
pop ebp
ret 4

Function at 0x4cb940
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x51ec70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4cb967
mov ecx, 5
int 0x29
push 2
call fcn.004abf10
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x4cba72
test esi, esi
jne 0x4cba72
push 2
call fcn.004abf10
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004d761c
mov esp, ebp
pop ebp
ret
Function at 0x4cf6d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test bl, bl
jns 0x4cf7c5
mov ecx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [ecx + 0x20]
cmp edi, eax
je 0x4cf6fe
lea eax, [ecx + 0x40]
cmp edi, eax
jne 0x4cf7c5
push esi
push edi
call fcn.004d3230
mov eax, dword [sym.imp.msvcrt.dll__iob]
add esp, 4
add eax, 0x20
cmp edi, eax
jne 0x4cf720
mov esi, 0x564dc4
mov eax, 0x564dc8
jmp 0x4cf72a
mov esi, 0x564dc5
mov eax, 0x564dcc
cmp byte [esi], 0
mov dword [ebp + 8], eax
mov dword [ebp - 4], esi
je 0x4cf77d
push edi
mov byte [eax + 1], bl
call fcn.004d4900
push edi
push 2
mov byte [ebp - 8], al
mov eax, dword [ebp + 8]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push edi
push dword [ebp - 8]
mov esi, eax
call fcn.004d49b0
mov eax, dword [ebp - 4]
add esp, 0x1c
mov byte [eax], 0
test esi, esi
jne 0x4cf7b3
push edi
or ebx, 0xffffffff
call fcn.004d3270
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call sub.msvcrt.dll___pctype_func
movzx ecx, bl
cmp word [eax + ecx*2], 0
jge 0x4cf7a6
mov eax, dword [ebp + 8]
push edi
mov byte [esi], 1
mov byte [eax], bl
call fcn.004d3270
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.msvcrt.dll_fputc]
add esp, 8
mov ebx, eax
push edi
call fcn.004d3270
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.msvcrt.dll_fputc]
add esp, 8
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d3450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7450
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x51ec70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp ebx, edx
je 0x4d362a
mov edi, 0x5c
jmp 0x4d34a0
mov eax, dword [ebx]
mov esi, dword [eax*4 + 0x564dd8]
lea ecx, [eax*4 + 0x564dd8]
mov dword [ebp - 0x414], ecx
test esi, esi
je 0x4d34c8
cmp esi, 0xffffffff
jne 0x4d3657
jmp 0x4d361f
mov esi, dword [eax*4 + 0x5060e8]
cmp byte [0x564dd0], 0
mov dword [ebp - 4], 0
je 0x4d34fd
push 0x800
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x414]
mov esi, eax
mov edx, dword [ebp + 0xc]
jmp 0x4d360f
test esi, esi
je 0x4d360d
cmp word [esi], 0
je 0x4d360d
push 0x200
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4d3604
cmp eax, 0x200
jae 0x4d3604
mov word [ebp + eax*2 - 0x410], di
inc eax
cmp eax, 0x200
jae 0x4d3604
movzx ecx, word [esi]
test cx, cx
je 0x4d3574
mov edx, ecx
mov word [ebp + eax*2 - 0x410], dx
inc eax
cmp eax, 0x200
jae 0x4d3604
movzx ecx, word [esi + 2]
add esi, 2
mov edx, ecx
test cx, cx
jne 0x4d3552
add eax, eax
cmp eax, 0x400
jae 0x4d365b
mov edi, dword [0x51ec70]
xor ecx, ecx
mov word [ebp + eax - 0x410], cx
mov ecx, edi
xor edi, dword [0x564dd4]
and ecx, 0x1f
ror edi, cl
test edi, edi
je 0x4d35e0
lea eax, [ebp - 0x418]
push eax
push 0
call edi
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov esi, eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x418]
call edi
mov ecx, dword [ebp - 0x414]
mov edi, 0x5c
mov edx, dword [ebp + 0xc]
jmp 0x4d360f
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov ecx, dword [ebp - 0x414]
mov esi, eax
mov edx, dword [ebp + 0xc]
mov edi, 0x5c
jmp 0x4d360f
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x414]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x4d3648
or eax, 0xffffffff
xchg dword [ecx], eax
add ebx, 4
cmp ebx, edx
jne 0x4d34a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d761c
mov esp, ebp
pop ebp
ret
mov eax, esi
xchg dword [ecx], eax
test eax, eax
je 0x4d3657
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x4d362c
call fcn.004ab010
int3
Function at 0x4d3581
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7450
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x51ec70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp ebx, edx
je 0x4d362a
mov edi, 0x5c
jmp 0x4d34a0
mov eax, dword [ebx]
mov esi, dword [eax*4 + 0x564dd8]
lea ecx, [eax*4 + 0x564dd8]
mov dword [ebp - 0x414], ecx
test esi, esi
je 0x4d34c8
cmp esi, 0xffffffff
jne 0x4d3657
jmp 0x4d361f
mov esi, dword [eax*4 + 0x5060e8]
cmp byte [0x564dd0], 0
mov dword [ebp - 4], 0
je 0x4d34fd
push 0x800
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x414]
mov esi, eax
mov edx, dword [ebp + 0xc]
jmp 0x4d360f
test esi, esi
je 0x4d360d
cmp word [esi], 0
je 0x4d360d
push 0x200
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4d3604
cmp eax, 0x200
jae 0x4d3604
mov word [ebp + eax*2 - 0x410], di
inc eax
cmp eax, 0x200
jae 0x4d3604
movzx ecx, word [esi]
test cx, cx
je 0x4d3574
mov edx, ecx
mov word [ebp + eax*2 - 0x410], dx
inc eax
cmp eax, 0x200
jae 0x4d3604
movzx ecx, word [esi + 2]
add esi, 2
mov edx, ecx
test cx, cx
jne 0x4d3552
add eax, eax
cmp eax, 0x400
jae 0x4d365b
mov edi, dword [0x51ec70]
xor ecx, ecx
mov word [ebp + eax - 0x410], cx
mov ecx, edi
xor edi, dword [0x564dd4]
and ecx, 0x1f
ror edi, cl
test edi, edi
je 0x4d35e0
lea eax, [ebp - 0x418]
push eax
push 0
call edi
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov esi, eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x418]
call edi
mov ecx, dword [ebp - 0x414]
mov edi, 0x5c
mov edx, dword [ebp + 0xc]
jmp 0x4d360f
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov ecx, dword [ebp - 0x414]
mov esi, eax
mov edx, dword [ebp + 0xc]
mov edi, 0x5c
jmp 0x4d360f
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x414]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x4d3648
or eax, 0xffffffff
xchg dword [ecx], eax
add ebx, 4
cmp ebx, edx
jne 0x4d34a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d761c
mov esp, ebp
pop ebp
ret
mov eax, esi
xchg dword [ecx], eax
test eax, eax
je 0x4d3657
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x4d362c
call fcn.004ab010
int3

Function at 0x4d3fc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00403160
mov esi, dword [ebp + 8]
test al, al
je 0x4d3fde
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.004d3ff0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4d4120
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4d417c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4d417c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4d417c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4d417c
cmp dword [ecx + 0x74], 0xe
jbe 0x4d417c
cmp dword [ecx + 0xe8], 0
je 0x4d417c
push dword [ebp + 8]
call fcn.004d3ff0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x564ea4
call fcn.004d3df0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x4d41b1
push dword [ebp + 8]
call fcn.004d3fc0
mov esp, ebp
pop ebp
ret

Function at 0x4d41f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4d424c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4d424c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4d424c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4d424c
cmp dword [ecx + 0x74], 0xe
jbe 0x4d424c
cmp dword [ecx + 0xe8], 0
je 0x4d424c
push dword [ebp + 8]
call fcn.004d3ff0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x564ea4
call fcn.004d3df0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x4d4281
push dword [ebp + 8]
call fcn.004d3fc0
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4433239d
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x44335a95
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x413de0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x413e02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413e09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413df8
mov eax, 1
add ebx, ebx
jne 0x413e1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413e10
jne 0x413e2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413e10
xor ecx, ecx
sub eax, 3
jb 0x413e40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x413eb2
mov ebp, eax
add ebx, ebx
jne 0x413e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x413e58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x413e7c
inc ecx
add ebx, ebx
jne 0x413e68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x413e5d
jne 0x413e79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413e5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x413e9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x413e8d
jmp 0x413dfe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x413e9c
add edi, ecx
jmp 0x413dfe
pop esi
mov edi, esi
mov ecx, 0x210
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x413eba
cmp byte [edi], 5
jne 0x413eba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x413ebf
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x413f2e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14454]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14508]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x413eec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1450c]
or eax, eax
je 0x413f28
mov dword [ebx], eax
add ebx, 4
jmp 0x413f09
call dword [esi + 0x1451c]
mov ebp, dword [esi + 0x14510]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x413f62
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x10001000
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10001097
push edi
push 0x1000bea0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x80000
mov eax, dword [esp + 0x24]
push 0
push 0
push 0
push eax
push str.POST
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
or ecx, 0xffffffff
mov edx, dword [esp + 0x18]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.Content_Type:_application_x_www_form_urlencoded
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push ecx
push str.Content_Type:_application_x_www_form_urlencoded
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0xc]
push ecx
push 0x22b
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x1000bea0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
ret 0x14
mov eax, 1
pop esi
ret 0x14

Function at 0x10001480
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100014d5
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 0x10
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
add esp, 0x14
ret

Function at 0x100014e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], esi
push eax
push esi
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jne 0x10001556
mov edx, dword [esp + 0x1c]
push edx
push 0
push 0x1f0fff
call ebx
mov esi, eax
push 0
push esi
call ebp
push esi
call edi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000152b
push esi
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret
Function at 0x406770
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x14
lea ecx, [esp]
call fcn.00444890
lea eax, [esp + 0x18]
lea ecx, [esp]
push eax
call fcn.00444930
lea ecx, [esp]
call fcn.00444a80
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x406802
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [esp + 0x10]
call fcn.00444c30
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00444c30
lea ecx, [esp + 0x10]
mov ebp, eax
call fcn.00444c20
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0xf
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
lea ecx, [esp]
call fcn.004448b0
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40683a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40683a
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
add esp, 0x14
ret
Function at 0x407100
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x554040]
push ebx
push esi
push edi
test eax, eax
jne 0x407197
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, 0x45
mov edi, 0x553f00
push 0x553f00
rep stosd dword es:[edi], eax
mov dword [0x553f00], 0x114
call esi
mov ecx, dword [0x553f04]
mov edx, dword [0x553f08]
mov eax, ecx
and edx, 0xffff
and eax, 0xffff
shl eax, 0x10
or eax, edx
cmp ecx, 5
mov dword [0x554040], eax
jb 0x40719d
mov ecx, 0x47
xor eax, eax
mov edi, 0x553de0
push 0x553de0
rep stosd dword es:[edi], eax
mov dword [0x553de0], 0x11c
call esi
mov eax, dword [0x553de8]
mov ecx, dword [0x553de4]
mov dword [0x553f08], eax
mov eax, dword [0x554040]
mov dword [0x553f04], ecx
jmp 0x40719d
mov ecx, dword [0x553f04]
mov ebx, dword [esp + 0x10]
cmp dword [ebx], 0
je 0x40732a
mov edx, dword [0x553f08]
push ebp
push edx
push ecx
push str.Windows__d._d
push ebx
call fcn.00405cb0
mov eax, dword [0x553f10]
add esp, 0x10
cmp eax, 2
jne 0x407233
mov eax, str._Win32_NT
test eax, eax
je 0x407314
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x407314
mov edx, dword [ebx]
mov ecx, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp ecx, 1
jg 0x40720e
mov edi, dword [edx - 8]
mov ebp, dword [edx - 4]
lea ecx, [edi + eax]
cmp ecx, ebp
jg 0x40720e
lea ecx, [eax + eax]
mov esi, str._Win32_NT
jmp 0x4072bd
push str._Win32_NT
mov ecx, dword [edx - 8]
push eax
push edx
push ecx
mov ecx, ebx
call fcn.004059f0
test eax, eax
je 0x407314
push esi
call fcn.00405590
jmp 0x407314
cmp eax, 1
jne 0x40727f
mov edx, str._Win32_WINDOWS
test edx, edx
je 0x407314
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x407314
mov edx, dword [ebx]
mov ecx, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp ecx, 1
jg 0x407278
mov edi, dword [edx - 8]
mov ebp, dword [edx - 4]
lea ecx, [edi + eax]
cmp ecx, ebp
jg 0x407278
lea ecx, [eax + eax]
mov esi, str._Win32_WINDOWS
jmp 0x4072bd
push str._Win32_WINDOWS
jmp 0x407213
test eax, eax
jne 0x4072ef
mov edx, str._Win32s
test edx, edx
je 0x407314
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x407314
mov edx, dword [ebx]
mov ecx, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp ecx, 1
jg 0x4072e5
mov edi, dword [edx - 8]
mov ebp, dword [edx - 4]
lea ecx, [edi + eax]
cmp ecx, ebp
jg 0x4072e5
lea ecx, [eax + eax]
mov esi, str._Win32s
lea edi, [edx + edi*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov edx, dword [ecx - 8]
add edx, eax
mov dword [ecx - 8], edx
mov ebx, dword [ebx]
mov eax, dword [ebx - 8]
mov word [ebx + eax*2], 0
jmp 0x407314
push str._Win32s
jmp 0x407213
mov edx, str._Unbekannt
test edx, edx
jne 0x4072fc
xor eax, eax
jmp 0x407307
push str._Unbekannt
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str._Unbekannt
push eax
mov ecx, ebx
call fcn.00405a90
mov eax, dword [esp + 0x18]
pop ebp
test eax, eax
je 0x407325
mov ecx, dword [0x553f10]
mov dword [eax], ecx
mov eax, dword [0x554040]
pop edi
pop esi
pop ebx
ret