joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d8b
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.004c49ed
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004c49ed
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.004c49ed
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 5
call fcn.004c4a05
cmp dword [ebp - 0x20], esp
je 0x401e48
push 6
call fcn.004c49ff
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401e61
push ebx
call fcn.004c49f3
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 6
call fcn.004c4a05
cmp dword [ebp - 0x20], esp
je 0x401e90
push 6
call fcn.004c49ff
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x59ed3c
mov eax, 7
call fcn.004c4a05
cmp dword [ebp - 0x20], esp
je 0x401eba
push 6
call fcn.004c49ff
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 8
call fcn.004c4a05
cmp dword [ebp - 0x20], esp
je 0x401f4e
push 6
call fcn.004c49ff
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 9
call fcn.004c4a05
cmp dword [ebp - 0x20], esp
je 0x401f73
push 6
call fcn.004c49ff
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x401f7b
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401f8c
push ebx
call fcn.004c49f3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004c49f3
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004c49f3
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.004c49f3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40205c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.004c49ed
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004c49ed
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.004c49ed
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0xa
call fcn.004c4a05
cmp dword [ebp - 0x20], esp
je 0x402119
push 6
call fcn.004c49ff
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402132
push ebx
call fcn.004c49f3
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0xb
call fcn.004c4a05
cmp dword [ebp - 0x20], esp
je 0x402161
push 6
call fcn.004c49ff
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x59ed3c
mov eax, 0xc
call fcn.004c4a05
cmp dword [ebp - 0x20], esp
je 0x40218b
push 6
call fcn.004c49ff
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0xd
call fcn.004c4a05
cmp dword [ebp - 0x20], esp
je 0x40221f
push 6
call fcn.004c49ff
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0xe
call fcn.004c4a05
cmp dword [ebp - 0x20], esp
je 0x402244
push 6
call fcn.004c49ff
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x40224c
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40225d
push ebx
call fcn.004c49f3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004c49f3
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004c49f3
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.004c49f3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x402adf
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004c49ed
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004c49ed
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.004c49ed
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x4c83e0
call fcn.004c49f9
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x402b9f
mov eax, 0
jmp 0x402d16
cmp dword [ebp + 0xc], 0
jne 0x402bcb
mov dword [ebp - 0x1c], esp
mov eax, 0x10
call fcn.004c4a05
cmp dword [ebp - 0x1c], esp
je 0x402bc8
push 6
call fcn.004c49ff
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x402bf3
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402bed
push ebx
call fcn.004c49f3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.00402d42
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x11
call fcn.004c4a05
cmp dword [ebp - 0x1c], esp
je 0x402c29
push 6
call fcn.004c49ff
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x59ed3c
mov eax, 0x12
call fcn.004c4a05
cmp dword [ebp - 0x1c], esp
je 0x402c55
push 6
call fcn.004c49ff
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x13
call fcn.004c4a05
cmp dword [ebp - 0x1c], esp
je 0x402ce9
push 6
call fcn.004c49ff
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 0x14
call fcn.004c4a05
cmp dword [ebp - 0x1c], esp
je 0x402d0e
push 6
call fcn.004c49ff
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x402d16
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004c49f3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004c49f3
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.004c49f3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403f2f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x403f67
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x403f55
mov al, 1
jmp 0x403fc6
cmp dword [ebx + 0x54], ecx
jne 0x403f5e
mov al, 2
jmp 0x403fc6
cmp dword [ebx + 0x7c], ecx
jne 0x403fc6
mov al, 3
jmp 0x403fc6
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x403f7c
mov al, 4
jmp 0x403fc6
cmp ecx, 5
jne 0x403f9c
cmp ebx, 0
jne 0x403f8a
mov al, 5
jmp 0x403fc6
cmp ebx, 1
jne 0x403f93
mov al, 6
jmp 0x403fc6
cmp ebx, 2
jne 0x403f9c
mov al, 7
jmp 0x403fc6
cmp ecx, 6
jne 0x403fc4
cmp ebx, 0
jne 0x403faa
mov al, 8
jmp 0x403fc6
cmp ebx, 1
jne 0x403fb1
mov al, 9
cmp ebx, 2
jne 0x403fb8
mov al, 0xa
cmp ebx, 3
jne 0x403fbf
mov al, 0xb
cmp ebx, 4
jne 0x403fc6
mov al, 0xc
pop ebx
leave
ret
Function at 0x4087e5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00408847
test eax, eax
je 0x408828
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x408828
cmp word [eax], 0x5a4d
jne 0x408828
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x408828
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00408919
mov eax, dword [ebp + 8]
jmp 0x408841
mov esp, ebp
pop ebp
ret 4

Function at 0x408847
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4088fa
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x408aff
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x408b21
mov eax, 0xfffffffd
jmp 0x408c01
mov ebx, dword [0xc673c0]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x408bcf
mov ebx, dword [0xc673c0]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x408b70
mov ebx, dword [0xc673c0]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x408b70
mov eax, 1
jmp 0x408b75
mov eax, 0
test eax, eax
je 0x408ba1
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x408b8a
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0xc673c0]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x408bf7
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x408c01
mov esp, ebp
pop ebp
ret 4
Function at 0x412de8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jle 0x412e1d
push dword [ebp + 8]
call fcn.0040e55d
mov dword [ebp - 0x10], eax
cmp word [ebp - 0x10], 0x5a4d
jne 0x412e1d
xor eax, eax
jmp 0x412e22
mov eax, 1
test eax, eax
je 0x412e34
mov eax, 0
jmp 0x412ffd
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x5b967e]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.00404a78
push eax
call fcn.0040e5b3
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00404a78
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.0040e5b3
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x4550
jne 0x412eed
fild dword [ebp - 4]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x5b9696]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.00404a78
push eax
call fcn.0040e55d
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 0x2000
mov eax, dword [ebp - 0x24]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x4c4e60
call fcn.004c49f9
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x412eed
xor eax, eax
jmp 0x412ef2
mov eax, 1
test eax, eax
je 0x412f04
mov eax, 0
jmp 0x412ffd
fild dword [ebp - 4]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x59ee2f]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.00404a78
push eax
call fcn.0040e5b3
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
push 1
push 0
push 1
push 0
push 1
push 0
fld qword [ebp - 0x30]
call fcn.00404a78
push eax
call fcn.0040efb2
lea eax, [ebp + 8]
push eax
call fcn.0040e800
jmp 0x412ffd
mov esp, ebp
pop ebp
ret 4
Function at 0x41d37f
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x41d3e3
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x41d3cc
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x41d3bb
xor ecx, eax
xor edx, ebx
dec edi
jne 0x41d3ac
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x420c26
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, VariantClear
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, cl
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
imul esi, esi, 0x666
mov dword [ebp - 4], esi
nop
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
mov eax, dword [ebp - 4]
jmp 0x420cc3
mov esp, ebp
pop ebp
ret
Function at 0x427a8c
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x427cd9
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x427bd6
cmp byte [edx + edi], 0xd
jne 0x427bd6
cmp byte [edx + edi + 1], 0xa
je 0x427c0f
mov al, byte [edx + edi]
cmp al, 0xa
je 0x427c0f
cmp al, 0x3d
jne 0x427beb
inc ecx
cmp ecx, 2
ja 0x427ce7
cmp al, 0x7f
ja 0x427ce7
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x427ce7
cmp al, 0x40
jae 0x427c0e
test ecx, ecx
jne 0x427ce7
inc esi
inc edx
cmp edx, ebx
jb 0x427bc0
test esi, esi
je 0x427cd9
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x427cf8
cmp dword [ecx], eax
jb 0x427cf8
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x427cc8
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x427cc4
cmp al, 0xa
je 0x427cc4
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x427cc4
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x427caf
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x427cbc
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x427cc4
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x427c60
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x4451bb
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
cmp dword [0xc67368], 0
jne 0x4451fc
mov edx, 0xffffffff
mov eax, 0xffffffff
jmp 0x4452fe
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0x33
call 0x44521f
add dword [esp], 5
retf
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x44c5b1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x44c5e9
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x44c5d7
mov al, 1
jmp 0x44c648
cmp dword [ebx + 0x54], ecx
jne 0x44c5e0
mov al, 2
jmp 0x44c648
cmp dword [ebx + 0x7c], ecx
jne 0x44c648
mov al, 3
jmp 0x44c648
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x44c5fe
mov al, 4
jmp 0x44c648
cmp ecx, 5
jne 0x44c61e
cmp ebx, 0
jne 0x44c60c
mov al, 5
jmp 0x44c648
cmp ebx, 1
jne 0x44c615
mov al, 6
jmp 0x44c648
cmp ebx, 2
jne 0x44c61e
mov al, 7
jmp 0x44c648
cmp ecx, 6
jne 0x44c646
cmp ebx, 0
jne 0x44c62c
mov al, 8
jmp 0x44c648
cmp ebx, 1
jne 0x44c633
mov al, 9
cmp ebx, 2
jne 0x44c63a
mov al, 0xa
cmp ebx, 3
jne 0x44c641
mov al, 0xb
cmp ebx, 4
jne 0x44c648
mov al, 0xc
pop ebx
leave
ret
Function at 0x450cf1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00450d53
test eax, eax
je 0x450d34
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x450d34
cmp word [eax], 0x5a4d
jne 0x450d34
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x450d34
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00450e25
mov eax, dword [ebp + 8]
jmp 0x450d4d
mov esp, ebp
pop ebp
ret 4

Function at 0x450d53
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x450e06
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x45100b
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x45102d
mov eax, 0xfffffffd
jmp 0x45110d
mov ebx, dword [0xc675d8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4510db
mov ebx, dword [0xc675d8]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x45107c
mov ebx, dword [0xc675d8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x45107c
mov eax, 1
jmp 0x451081
mov eax, 0
test eax, eax
je 0x4510ad
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x451096
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0xc675d8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x451103
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x45110d
mov esp, ebp
pop ebp
ret 4

Function at 0x4517cf
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x451882
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]