joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419b00
Capabilities:
Check for vm using instruction vpcext
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret
Function at 0x401f09
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x20
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
ret

Function at 0x401f20
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
push 0x1f4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push esi
call sub.MSVCRT.dll_strcpy
cmp byte [esi], 0x22
pop ecx
pop ecx
jne 0x401f44
inc esi
xor eax, eax
cmp byte [eax + esi], 0x22
jne 0x401f50
and byte [eax + esi], 0
inc eax
cmp eax, 0x1f3
jl 0x401f46
push esi
xor edi, edi
call sub.MSVCRT.dll_strlen
pop ecx
sub eax, 4
test eax, eax
jle 0x401fe4
mov cl, byte [edi + esi]
cmp cl, 0x2e
jne 0x401fd5
mov al, byte [edi + esi + 1]
cmp al, 0x65
je 0x401f7c
cmp al, 0x45
jne 0x401fa0
mov al, byte [edi + esi + 2]
cmp al, 0x78
je 0x401f88
cmp al, 0x58
jne 0x401fa0
mov al, byte [edi + esi + 3]
cmp al, 0x65
je 0x401f94
cmp al, 0x45
jne 0x401fa0
mov al, byte [edi + esi + 4]
cmp al, 0x20
je 0x401fe4
test al, al
je 0x401fe4
cmp cl, 0x2e
jne 0x401fd5
mov al, byte [edi + esi + 1]
cmp al, 0x73
je 0x401fb1
cmp al, 0x53
jne 0x401fd5
mov al, byte [edi + esi + 2]
cmp al, 0x63
je 0x401fbd
cmp al, 0x43
jne 0x401fd5
mov al, byte [edi + esi + 3]
cmp al, 0x72
je 0x401fc9
cmp al, 0x52
jne 0x401fd5
mov al, byte [edi + esi + 4]
cmp al, 0x20
je 0x401fe4
test al, al
je 0x401fe4
inc edi
push esi
call sub.MSVCRT.dll_strlen
pop ecx
sub eax, 4
cmp edi, eax
jl 0x401f68
push esi
call sub.MSVCRT.dll_strlen
sub eax, 4
pop ecx
cmp edi, eax
jl 0x40200b
push esi
push dword [esp + 0x10]
call sub.MSVCRT.dll_strcpy
push esi
push dword [esp + 0x1c]
call sub.MSVCRT.dll_strcpy
add esp, 0x10
jmp 0x402042
push ebx
mov ebx, dword [esp + 0x10]
push esi
push ebx
call sub.MSVCRT.dll_strcpy
pop ecx
add edi, 3
pop ecx
lea eax, [edi + ebx]
mov byte [eax + 1], 0
js 0x402035
lea ecx, [edi + 1]
mov edx, esi
sub edx, ebx
mov bl, byte [edx + eax]
mov byte [eax], bl
dec eax
dec ecx
jne 0x40202c
push esi
push dword [esp + 0x18]
call sub.MSVCRT.dll_strcpy
pop ebx
pop ecx
pop ebx
dec esi
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop esi
pop edi
pop esi
ret

Function at 0x41e504
Capabilities:
Create process on windows

Disassembly:
push esi
xor eax, eax
mov esi, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x41e519
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
and dword [esi], 0
pop esi
ret

Function at 0x41e51b
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
mov esi, ecx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
jne 0x41e54b
mov ecx, esi
call fcn.0041e504
mov ecx, dword [ebp - 4]
mov dword [esi], ecx
pop esi
leave
ret 0xc
Function at 0x41e69b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7ec
push ebx
push esi
push edi
mov edi, 0x20019
push edi
xor esi, esi
push 0x403204
push 0x80000002
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
call fcn.0041e51b
mov ebx, eax
cmp ebx, esi
jne 0x41e6ed
push edi
push 0x403210
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
call fcn.0041e51b
mov ebx, eax
cmp ebx, esi
je 0x41e714
lea ecx, [ebp - 8]
call fcn.0041e504
lea ecx, [ebp - 4]
call fcn.0041e504
lea ecx, [ebp - 0xc]
call fcn.0041e504
lea ecx, [ebp - 0x10]
call fcn.0041e504
mov eax, ebx
jmp 0x41e82b
push edi
push 0x40321c
push dword [ebp - 0xc]
lea ecx, [ebp - 4]
call fcn.0041e51b
mov edi, eax
cmp edi, esi
jne 0x41e809
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov ecx, 0x200
lea edi, [ebp - 0x814]
push 0x800
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x814]
push eax
push esi
push dword [ebp - 4]
call ebx
mov edi, eax
cmp edi, esi
jne 0x41e809
inc dword [ebp - 0x14]
push 9
mov edi, 0x40322c
lea esi, [ebp - 0x814]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x41e7a0
mov ecx, 0x200
lea edi, [ebp - 0x814]
push 0x800
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 0x14]
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
je 0x41e760
jmp 0x41e809
push 0x2001f
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0041e51b
mov edi, eax
or edi, edi
je 0x41e7e1
lea ecx, [ebp - 8]
call fcn.0041e504
lea ecx, [ebp - 4]
call fcn.0041e504
lea ecx, [ebp - 0xc]
call fcn.0041e504
lea ecx, [ebp - 0x10]
call fcn.0041e504
mov eax, edi
jmp 0x41e82b
mov edi, dword [ebp + 8]
push 4
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push 0x403238
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 8]
mov edi, eax
call fcn.0041e504
lea ecx, [ebp - 8]
call fcn.0041e504
lea ecx, [ebp - 4]
call fcn.0041e504
lea ecx, [ebp - 0xc]
call fcn.0041e504
lea ecx, [ebp - 0x10]
call fcn.0041e504
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41edda
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041f2e0
mov edx, 0xff
xor eax, eax
mov ecx, edx
push ebx
push esi
push edi
xor ebx, ebx
lea edi, [ebp - 0x7ff]
mov byte [ebp - 0x800], bl
rep stosd dword es:[edi], eax
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x400], bl
lea edi, [ebp - 0x3ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
stosb byte es:[edi], al
lea edi, [ebp - 0xfff]
mov byte [ebp - 0x1000], bl
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0xbff]
xor eax, eax
xor esi, esi
mov byte [ebp - 0xc00], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [ebp + 8], ebx
stosb byte es:[edi], al
je 0x41ee5b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, eax
cmp esi, ebx
je 0x41ee89
push dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x41ee89
cmp dword [ebp + 0xc], ebx
push dword [ebp + 0x14]
push edi
push edi
je 0x41ee7f
call dword [0x40304c]
jmp 0x41ee85
call dword [sym.imp.MSVCIRT.dll_public_virtual:_void___thiscall_fstream::destructor_void_]
test eax, eax
jne 0x41ee90
xor eax, eax
jmp 0x41ef25
lea eax, [ebp - 0xc00]
push eax
lea eax, [ebp - 0x1000]
push eax
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x800]
push eax
push edi
call dword [sym.imp.MSVCRT.dll___CxxFrameHandler]
add esp, 0x14
lea eax, [ebp - 0x400]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41eebf
sub eax, edx
cmp eax, 1
jle 0x41eee2
lea eax, [ebp + eax - 0x401]
mov cl, byte [eax]
cmp cl, 0x5c
je 0x41eee0
cmp cl, 0x2f
jne 0x41eee2
mov byte [eax], bl
mov edx, edi
lea eax, [ebp - 0x800]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x41eeee
lea eax, [ebp - 0x400]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41ef00
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x41ef0a
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4023b6
Capabilities:
Check for time delay via queryperformancecounter
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x408040]
shl eax, 3
mov dword [0x408040], eax
mov eax, dword [0x40803c]
mov ecx, dword [0x408040]
lea eax, [ecx + eax - 9]
mov dword [0x40803c], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x402417
mov eax, dword [0x408040]
imul eax, dword [0x408040]
sub eax, 3
mov dword [0x40803c], eax
mov eax, dword [0x408040]
shl eax, 1
mov dword [0x40803c], eax
xor eax, eax
jmp 0x402929
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov eax, dword [0x408040]
imul eax, dword [0x408040]
sub eax, 3
mov dword [0x40803c], eax
mov eax, dword [0x408040]
add eax, 8
mov dword [0x408040], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
je 0x402477
mov eax, dword [0x40803c]
mov ecx, dword [0x408040]
lea eax, [ecx + eax - 9]
mov dword [0x40803c], eax
mov eax, dword [0x408040]
add eax, 8
mov dword [0x408040], eax
xor eax, eax
jmp 0x402929
mov eax, dword [0x408040]
shl eax, 3
mov dword [0x408040], eax
push 4
push 0x2000
mov eax, dword [ebp - 0x10]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
mov eax, dword [0x408040]
xor edx, edx
push 0xc
pop ecx
div ecx
jmp 0x42442a
leave
ret
Function at 0x403b70
Capabilities:
Terminate process

Disassembly:
cmp dword [0x41dda0], 1
jne fcn.00403b7e
jmp loc.00423422

Function at 0x4051f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40eb68
cmp edx, dword [eax]
je 0x405217
add eax, 8
inc ecx
cmp eax, 0x40ebf8
jl 0x405208
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40eb68]
jne 0x405345
mov eax, dword [0x41dda0]
cmp eax, 1
je 0x40531f
test eax, eax
jne 0x405248
cmp dword [0x40eab8], 1
je 0x40531f
cmp edx, 0xfc
je 0x405345
lea eax, [ebp - 0x1a4]
jmp 0x426e3f
lea eax, [ebp + 8]
lea esi, [esi + 0x40eb6c]
push 0
push eax
push dword [esi]
call fcn.00405ba0
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 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
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x51d63fef
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3c34167a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea eax, [ebx + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, eax
push 0x32
mov dword [ebp - 4], edi
call esi
push 0xa
mov byte [edi + ebx], 0
call esi
xor esi, esi
test ebx, ebx
je 0x401500
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], eax
lea esp, [esp]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0xc]
add edi, esi
call fcn.00401980
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
mov eax, dword [ebp + 0xc]
inc esi
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + edi]
mov byte [edi], cl
mov edi, dword [ebp - 4]
cmp esi, ebx
jb 0x4014d0
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401990
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x403110]
test esi, esi
jne 0x4019a8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4019a1
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x4019a1
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x401a1f
mov eax, dword [ebx + edi*4]
mov ecx, dword [ebp + 8]
add eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401a10
test dl, dl
je 0x401a0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401a10
add eax, 2
add ecx, 2
test dl, dl
jne 0x4019f0
xor eax, eax
jmp 0x401a15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401a28
inc edi
cmp edi, dword [ebp - 4]
jb 0x4019e8
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401a40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov dword [0x403110], esi
test esi, esi
je 0x401b68
mov eax, dword [0x403014]
push eax
call fcn.00401990
mov ecx, dword [0x40305c]
push ecx
mov dword [0x4030a4], eax
call fcn.00401990
mov edx, dword [0x403058]
add esp, 8
push edx
push esi
mov dword [0x4030e0], eax
call eax
mov ecx, dword [0x403110]
mov dword [0x4030f0], eax
mov eax, dword [0x403090]
push eax
push ecx
call dword [0x4030e0]
mov edx, dword [0x403040]
mov dword [0x4030c0], eax
mov eax, dword [0x403110]
push edx
push eax
call dword [0x4030e0]
mov ecx, dword [0x40301c]
mov edx, dword [0x403110]
push ecx
push edx
mov dword [0x403100], eax
call dword [0x4030e0]
mov ecx, dword [0x403110]
mov dword [0x403120], eax
mov eax, dword [0x403094]
push eax
push ecx
call dword [0x4030e0]
mov edx, dword [0x403028]
mov dword [0x4030e4], eax
mov eax, dword [0x403110]
push edx
push eax
call dword [0x4030e0]
mov ecx, dword [0x40306c]
mov edx, dword [0x403110]
push ecx
push edx
mov dword [0x4030a0], eax
call dword [0x4030e0]
mov ecx, dword [0x403110]
mov dword [0x4030f4], eax
mov eax, dword [0x403004]
push eax
push ecx
call dword [0x4030e0]
mov edx, dword [0x40307c]
mov dword [0x4030ec], eax
mov eax, dword [0x403110]
push edx
push eax
call dword [0x4030e0]
mov dword [0x4030c8], eax
mov ecx, dword [0x403080]
push ecx
call dword [0x4030a4]
mov edx, dword [0x40303c]
push edx
mov dword [0x403098], eax
call dword [0x4030a4]
mov ecx, dword [0x403098]
mov dword [0x4030dc], eax
pop esi
test ecx, ecx
je 0x401bae
mov eax, dword [0x403088]
push eax
push ecx
call dword [0x4030e0]
mov dword [0x4030d4], eax
mov eax, dword [0x4030dc]
test eax, eax
je 0x401bdd
mov ecx, dword [0x40304c]
push ecx
push eax
call dword [0x4030e0]
mov edx, dword [0x403038]
mov dword [0x4030d8], eax
mov eax, dword [0x4030dc]
push edx
push eax
call dword [0x4030e0]
mov dword [0x40309c], eax
mov esp, ebp
pop ebp
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x412d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UzBUtnck
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x412da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412d98
mov eax, 1
add ebx, ebx
jne 0x412dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412db0
jne 0x412dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412db0
xor ecx, ecx
sub eax, 3
jb 0x412de0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e52
mov ebp, eax
add ebx, ebx
jne 0x412deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412e1c
inc ecx
add ebx, ebx
jne 0x412e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412dfd
jne 0x412e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412dfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412e2d
jmp 0x412d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412e3c
add edi, ecx
jmp 0x412d9e
pop esi
mov edi, esi
mov ecx, 0x2ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e5a
cmp byte [edi], 0
jne 0x412e5a
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 0x412e5f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ece
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x120b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1211c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412e8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12124]
or eax, eax
je 0x412ec8
mov dword [ebx], eax
add ebx, 4
jmp 0x412ea9
call dword [esi + 0x12120]
mov ebp, dword [esi + 0x12128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x412f02
sub esp, 0xffffff80
jmp 0x406f9c
Function at 0x403510
Capabilities:
Access pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x40352e
call fcn.00404400
test eax, eax
je 0x403636
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40353b
shl eax, 0xa
push eax
jmp 0x403551
mov eax, dword fs:[0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
test eax, eax
je 0x403557
push dword [eax + 0x64]
call dword [sym.imp.RPCRT4.dll_RpcMgmtSetServerStackSize]
cmp dword [esi + 0x40], 1
jne 0x403563
call dword [sym.imp.RPCRT4.dll_I_RpcServerDisableExceptionFilter]
cmp dword [esi + 0x44], 0
je 0x403578
push 1
push 0
push 1
call dword [sym.imp.ntdll.dll_RtlSetProcessIsCritical]
add esp, 0xc
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x403590
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 2
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4035a8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
push 8
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
cmp dword [esi + 0x54], 0
je 0x4035d2
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 6
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
push 0
push 1
push 0x4019e0
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_SetProtectedPolicy]
push 0
push 0
push 1
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapSetInformation]
test byte [esi + 0x58], 4
je 0x403601
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0x240]
mov eax, dword fs:[0x30]
or ecx, 1
mov dword [eax + 0x240], ecx
call fcn.00405ece
test byte [esi + 0x58], 8
je 0x40363d
xor eax, eax
mov dword [ebp - 0x14], 0
or eax, 1
mov dword [ebp - 0x14], 4
push 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x34
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtSetInformationProcess]
test eax, eax
jns 0x40363d
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4040a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push 0
lea eax, [ebp - 8]
mov ebx, ecx
push eax
push 0
call dword [sym.imp.ntdll.dll_RtlGetDeviceFamilyInfoEnum]
mov eax, dword [ebp - 8]
cmp eax, 3
jne 0x406917
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4014e0
push 0x80000002
call sub.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW
test eax, eax
jne 0x404115
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x4014a4
push dword [ebp - 4]
call sub.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW
test eax, eax
je 0x406933
push dword [ebp - 4]
call sub.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 9
je 0x4040c5
cmp eax, 0xd
je 0x4040c5
mov eax, 1
jmp 0x404117
cmp dword [ebp - 0x10], 4
jne 0x40410d
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
setne bl
jmp 0x40410d