joyce8/EMBER2024-capa huggingface dataset:
Function at 0x542c29
Capabilities:
Encode data using xor

Disassembly:
add al, 0xfa
call 0x351cec63
xchg dword [ebp - 0x5d0163c7], esi
or al, 0xc3
nop
cmp dword [esi + edi*8 - 0x6f3cf35e], ebx
push 0x64f579bf
pop edx
jns 0x542c32
pop edx
xor eax, 0x6e460351
mov ch, 0x9b
or ah, byte [0x9961753c]
out 0xe5, eax
sub ecx, ebx
wait
sub byte [esi], bh
loop 0x542c3b
inc eax
das
xor eax, 0x7845b8ce
sti
dec eax
imul esi, dword [edx + 0x9fbefba], 0xffffffcc
pop ebp
lodsb al, byte [esi]
shl dl, 1
inc ecx
outsb dx, byte [esi]
cmp dword [esi + 0x1de8c06d], ebp
sti
or dl, byte [eax - 0x16]
jmp 0x542cd4
out 0x87, eax
out 0xac, al
fist word [edi + ecx*2]
movsd dword es:[edi], dword [esi]
cmp al, 0xb4
xchg edx, eax
dec ebx
dec ebp
and byte [edx - 0x3f5a4f61], ch
dec eax
sub ebp, eax
push edi
movsd dword es:[edi], dword [esi]
add byte es:[ebx], bl
fcomp dword [edi]
loop 0x542d2d
daa
out 0x16, al
ljmp 0x6819
test eax, 0x1508e57f
hlt

Function at 0x554fa3
Capabilities:
Encode data using xor

Disassembly:
adc eax, 0x958a728e
mov cl, 0xa9
test eax, 0x9b5b448d
sbb al, ah

Function at 0x58e0e5
Capabilities:
Encode data using xor

Disassembly:
aas
mov eax, 0x492692a3
and ecx, dword [eax - 0x65]
jmp 0x58e124
and byte [edx], dh
stc
mov bl, 0x99
rcr ebx, cl
cdq
jl 0x58e19e
pushal
fcom dword [eax + 0x33]
xchg dh, al
sbb ch, byte [esi]
cwde
sbb dl, ah
add esi, 0xffffffdf
test byte [ebx], cl
sub bl, byte [ebp - 0x2b]
jmp 0x58e187
insb byte es:[edi], dx
xlatb
pop eax
js 0x58e1cf
add bh, byte [esi + edx*2 - 0x55]
push ebx
xchg bh, bh
and dword [esi], 0x57986a2f
imul eax, dword [ebx], 0x926487ce
xchg edx, eax
invalid
push 0xffffffffffffffd4
rcr byte [edx - 0x4741aa3d], cl
inc eax
mov eax, dword [0x631adc8]
shl dword [ebx + esi*8], 1
adc byte [eax - 0x65], 0xd2
sub edi, dword [ecx]
mov word [esi], ss
mov ch, 0x43
clc
push edx
leave
xor ebx, dword [edx]
invalid

Function at 0x58edcd
Capabilities:
Encode data using xor

Disassembly:
lcall 0x84e, 0xdaff56dc
mov ebx, 0x5721c3ce
dec eax
or edi, ebp
insb byte es:[edi], dx
iretd
xchg esi, eax
xor byte [ebp + 0x26573257], cl
movsb byte es:[edi], byte [esi]
sub eax, 0x8b88b266
xchg edi, eax
jl 0x58ee48
je 0x58ee28
lahf
pushfd
pop edx
lds edi, [edi + 0x28]
sal dword [eax - 5], 0xd1
jb 0x58edcc
outsb dx, byte [esi]
mov ch, 0x63
cwde
ror dword [ecx - 0x56], cl
fadd qword [eax]
xlatb
int1
stc
int 0xb1
rcl dword [edi - 0x29]
add dl, al
loope 0x58ee2b
pop ss
fmul qword [ebx]
arpl dx, bx
pop ebp
mov edi, 0x3aae7359
std
jp 0x58ede7
xchg ebx, eax
sahf
sbb eax, 0x804827dd
jbe 0x58ed98
daa
dec eax
xor byte [esi - 0x78], 0x1e
push ds
adc eax, 0xd5788c49
scasb al, byte es:[edi]
ja 0x58ee0b
test esi, edi
mov edi, 0x78f339f7
add dl, byte [esi + ebx]
xor ah, byte [esi - 0x4c9ba906]
mov ebx, 0xc053f063
or al, 0xdd
and dword [edi - 0x5d], 0xffffffb4
js 0x58edc5
mov bl, 0xbb
arpl ax, si
push ebx
ror byte [ebx*8 - 0x4b5c987d], 0x78
invalid
xor dword [ecx + 0x58d3a993], edx
invalid
dec eax
Function at 0x5d8385
Capabilities:
Encode data using xor

Disassembly:
push esi
test byte [edi], 0x41
xchg esp, eax
test dword [ebp - 0x80ec8ef], 0x60e57e2
push es
push es
les ebx, [edi - 0x9b2f3a7]
outsb dx, byte [esi]
sub byte [ecx - 0x764cdec9], bl
rol dword [ecx + 0x34], 1
loope 0x5d8377
mov edi, 0xa060ee34
push esp
push ss
invalid

Function at 0x5ea2fb
Capabilities:
Authenticate hmac

Disassembly:
sub byte [ebx], 0xef
cmc
stosb byte es:[edi], al
add eax, 0x9d07b7ba
mov edx, 0xa79d07b7

Function at 0x5ea313
Capabilities:
Authenticate hmac

Disassembly:
daa
mov edi, 0xc8e1369a
out 0xd0, al
invalid

Function at 0x5ea5a1
Capabilities:
Encode data using xor

Disassembly:
jg 0x5ea614
mov ebp, 0x8f248037
add esp, ecx
push ecx
ja 0x5ea5c9
leave
pushal
add esp, esp
adc al, 0xe5
sbb dword [edx - 0x7eebbdb9], esp
inc ebp
xor al, 0x78
dec esi
inc esp
sal dword [ecx], 0xbf
movsd dword es:[edi], dword [esi]
add al, bl
add dword [ecx], edi
cmp al, 0x66
pop esp
pop sp
aas
jo 0x5ea5ba
inc edx
xlatb
out dx, eax
stc
add ah, byte [esi]
mov cl, 0xf
dec esp
insb byte es:[edi], dx
invalid
test dword [esi + 0x7e], 0x8f09c0e0
wait
jns 0x5ea603
and dword [ecx], esp
mov byte [edi - 0x3f], al
out 0x10, eax
outsb dx, byte [esi]
sbb eax, 0x70208723
dec ebp
or eax, 0xfe0283ae
fidivr dword [esi + eax*4]
ror esp, 1
rol byte [esi + 0x78], 0x6b
xor dword [ebx + 0x4337c829], ebp
stosd dword es:[edi], eax
sub eax, ecx
aaa
inc ebx
inc edx
push 0x9333e748
fidivr word [eax + 0x201ebf0b]
aaa
sbb edi, dword [ebx - 0x78caef7a]
add al, 0xe6
or eax, 0x32ffb70
xchg esp, eax
xchg byte [edx + 0x26], ch
push edi
add bh, byte [ecx]
scasd eax, dword es:[edi]
or dh, byte [esi]
arpl word [eax - 2], ax
mov bh, 0x67
in eax, 0x37
push ebx
pop edi
aaa
mov eax, 0x6c4766f2
rol dword [ebx], 0xe2
pop ss
adc dword [edx], ecx
fist word [edx]
push ss
push bx
ja 0x5ea5db
mul byte [ecx + eax*8 + 0x5d9db661]
xchg dword [esi + 0x64], ebx
push cs
push ds
iretd
Function at 0x415e48
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x550
push 0x47f0c8
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x415e83
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x47926e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47fe00]
jne 0x479278
repz ret
jmp fcn.00479865
Function at 0x4176fa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041756b

Function at 0x417af4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a3e0
mov eax, dword [0x47c600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004156fd
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x417b36
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x417c92
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00420910
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47ec70]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418893
mov ecx, dword [esi*4 + 0x47ec70]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x417c8b
cmp eax, dword [edi + ecx + 0x24]
jne 0x417c8b
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417c8b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418893
add esp, 0x14
test edx, edx
jl 0x417c8b
jg 0x417c01
test eax, eax
jb 0x417c8b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x417c8b
jl 0x417c1b
cmp dword [ebp - 0x1008], eax
ja 0x417c8b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x417c39
test ebx, ebx
je 0x417c72
cmp ecx, edi
jae 0x417c72
mov al, byte [ecx]
cmp al, 0xd
jne 0x417c53
lea eax, [edi - 1]
cmp ecx, eax
jae 0x417c5f
cmp byte [ecx + 1], 0xa
jne 0x417c5f
inc ecx
jmp 0x417c5f
movzx eax, al
movsx eax, byte [eax + 0x47c8d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x417c39
cmp edx, ebx
jne 0x417c39
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x417c90
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409a3b
leave
ret
Function at 0x417d31
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47ec70]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417d71
cmp byte [ebx], 0xa
jne 0x417d71
or byte [eax + edi + 0x28], 4
jmp 0x417d76
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x417e74
mov al, byte [edx]
cmp al, 0x1a
je 0x417e56
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x417da5
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x417dca
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x417dd4
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x417d87
jmp 0x417e74
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417e51
cmp dword [ebp - 0xc], 0
je 0x417e51
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47ec70]
test byte [eax + edi + 0x28], 0x48
je 0x417e2b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x417e16
mov byte [esi], dl
jmp 0x417e27
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47ec70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x417e74
cmp byte [ebp - 1], 0xa
jne 0x417e3a
cmp esi, ebx
jne 0x417e3a
mov byte [esi], 0xa
jmp 0x417e73
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004188b1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x417e74
mov byte [esi], 0xd
jmp 0x417e73
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47ec70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417e70
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x417e74
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x417e7d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47ec70]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417ec0
cmp word [esi], dx
jne 0x417ec0
or byte [edi + eax + 0x28], 4
jmp 0x417ec5
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x418018
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x417ff8
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x417f07
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417f3d
cmp eax, edx
jae 0x417f49
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x417edf
jmp 0x418018
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417ff4
cmp dword [ebp - 0x14], 0
je 0x417ff4
mov eax, dword [ebx*4 + 0x47ec70]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x417fcc
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x417f95
mov word [esi], cx
jmp 0x417fc8
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47ec70]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47ec70]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47ec70]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x418018
pop ebx
cmp word [ebp - 4], bx
jne 0x417fdd
cmp esi, dword [ebp + 0xc]
jne 0x417fdd
mov word [esi], bx
jmp 0x418015
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004188b1
add esp, 0x10
cmp word [ebp - 4], bx
je 0x418018
push 0xd
jmp 0x418011
mov ecx, dword [ebx*4 + 0x47ec70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41800f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418018
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401bb0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45163d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x462080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp - 0x84]
push dword [ebp + 0x18]
cmova eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x67452301
mov dword [ebp - 0x34], 0xefcdab89
mov dword [ebp - 0x30], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
call fcn.00401a50
cmp byte [ebp - 0x84], 0
jne 0x401d01
xor ecx, ecx
lea edx, [ebp - 0x3f]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x18], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x17], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x16], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x15], al
add ecx, 4
cmp ecx, 8
jb 0x401c45
mov edx, dword [ebp - 0x40]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x84]
push eax
push 0x4620f8
call fcn.00401a50
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.00401a50
xor ecx, ecx
lea edx, [ebp - 0x37]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x28], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x27], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x26], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x25], al
add ecx, 4
cmp ecx, 0x10
jb 0x401cb4
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.00401b00
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x401d43
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401d39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401d39
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00450407
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004501c9
mov esp, ebp
pop ebp
ret
Function at 0x4024c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45180b
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x462080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
cmp eax, 0x20
jle 0x4026ef
mov ecx, eax
mov dword [ebp - 0x134], 0
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0
movups xmmword [ebp - 0x144], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402531
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x144]
call fcn.00401e00
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0
call fcn.00402100
mov ecx, eax
mov byte [ebp - 4], 1
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 4
jb 0x402590
cmp dword [ecx + 0x14], 0xf
lea eax, [edx + 4]
mov dword [ecx + 0x10], eax
mov eax, ecx
jbe 0x402582
mov eax, dword [ecx]
mov dword [eax + edx], 0x4558452e
mov byte [eax + edx + 4], 0
jmp 0x4025ad
push 4
push str..EXE
mov byte [ebp - 0x148], 0
push dword [ebp - 0x148]
push 4
call fcn.00406d90
mov ecx, eax
mov dword [ebp - 0x11c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x118], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x12c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x11c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x40262f
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402625
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402625
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00450407
add esp, 8
cmp dword [ebp - 0x118], 0xf
lea ecx, [ebp - 0x12c]
lea eax, [ebp - 0x144]
cmova ecx, dword [ebp - 0x12c]
cmp dword [ebp - 0x130], 0xf
push ecx
cmova eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov ecx, dword [ebp - 0x118]
add esp, 8
cmp ecx, 0xf
jbe 0x402698
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40268e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026df
push ecx
push edx
call fcn.00450407
add esp, 8
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp ecx, 0xf
jbe 0x4026ef
mov edx, dword [ebp - 0x144]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4026e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4026e5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00450407
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004501c9
mov esp, ebp
pop ebp
ret
Function at 0x402710
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x462080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x4e52454b
push eax
mov esi, ecx
mov dword [ebp - 0x108], 0x32334c45
mov byte [ebp - 0x104], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm0, xmm0
mov byte [ebp - 0x104], 0
mov edi, eax
movq qword [ebp - 0x10c], xmm0
mov ecx, 0xcd
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x45dfe8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x124], al
and ecx, 0x800000ff
jns 0x402790
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x402770
lea eax, [ebp - 0x124]
mov byte [ebp - 0x118], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x110], eax
push 0x1fffff
movq qword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x118], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
movq xmm0, qword [str.C:Windows_]
mov ebx, eax
mov ecx, dword [0x45e000]
lea eax, [ebp - 0xf4]
push 0xee
push 0
push eax
mov dword [ebp - 0x114], ebx
movq qword [ebp - 0x100], xmm0
mov dword [ebp - 0xf8], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x98
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x45e004]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x138], al
and ecx, 0x800000ff
jns 0x402840
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x12
jl 0x402820
lea edx, [ebp - 0x138]
mov byte [ebp - 0x126], 0
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x402855
lea edi, [ebp - 0x100]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402865
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x100]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402884
sub ecx, edx
push 4
push 0x1000
lea eax, [ecx + 1]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
lea ecx, [ebp - 0x100]
mov esi, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4028b0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x100]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push esi
push dword [ebp - 0x110]
mov esi, dword [ebp - 0x114]
test eax, eax
push 0
push 0
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004501c9
mov esp, ebp
pop ebp
ret
Function at 0x4047a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x462080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0x404a80
push 0
push 0x65
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
test esi, esi
jne 0x4047e0
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004501c9
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x20]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x404833
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x404815
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop esi
call fcn.004501c9
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404850
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x462080]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4048ec
lea eax, [esp + 8]
mov dword [esp + 8], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4048ec
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax + eax]
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
lea ecx, [esp + 0x2c]
cmova eax, dword [ebp + 8]
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4048d0
test dl, dl
je 0x4048cc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4048d0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4048b0
xor eax, eax
jmp 0x4048d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x40491b
lea eax, [esp + 8]
push eax
push esi
call edi
test eax, eax
jne 0x4048a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x404937
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40492d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40492d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push dword [esp + 0x10]
push 0
push 0x10
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
jmp 0x4048ef
push ecx
push edx
call fcn.00450407
add esp, 8
mov ecx, dword [esp + 0x134]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004501c9
mov esp, ebp
pop ebp
ret