joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498fd7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401dde
mov eax, dword [0x56bd00]
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.0040604b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x499019
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x499175
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004061a9
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 + 0x56fc30]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403328
mov ecx, dword [esi*4 + 0x56fc30]
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 0x49916e
cmp eax, dword [edi + ecx + 0x24]
jne 0x49916e
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 0x49916e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403328
add esp, 0x14
test edx, edx
jl 0x49916e
jg 0x4990e4
test eax, eax
jb 0x49916e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x49916e
jl 0x4990fe
cmp dword [ebp - 0x1008], eax
ja 0x49916e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x49911c
test ebx, ebx
je 0x499155
cmp ecx, edi
jae 0x499155
mov al, byte [ecx]
cmp al, 0xd
jne 0x499136
lea eax, [edi - 1]
cmp ecx, eax
jae 0x499142
cmp byte [ecx + 1], 0xa
jne 0x499142
inc ecx
jmp 0x499142
movzx eax, al
movsx eax, byte [eax + 0x56c028]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x49911c
cmp edx, ebx
jne 0x49911c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x499173
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403107
leave
ret
Function at 0x4998b4
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 + 0x56fc30]
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 0x4998f4
cmp byte [ebx], 0xa
jne 0x4998f4
or byte [eax + edi + 0x28], 4
jmp 0x4998f9
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4999f7
mov al, byte [edx]
cmp al, 0x1a
je 0x4999d9
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x499928
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x49994d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x499957
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 0x49990a
jmp 0x4999f7
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 0x4999d4
cmp dword [ebp - 0xc], 0
je 0x4999d4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x56fc30]
test byte [eax + edi + 0x28], 0x48
je 0x4999ae
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x499999
mov byte [esi], dl
jmp 0x4999aa
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x56fc30]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4999f7
cmp byte [ebp - 1], 0xa
jne 0x4999bd
cmp esi, ebx
jne 0x4999bd
mov byte [esi], 0xa
jmp 0x4999f6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040196f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4999f7
mov byte [esi], 0xd
jmp 0x4999f6
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x56fc30]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4999f3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4999f7
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x499a53
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 + 0x56fc30]
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 0x499a96
cmp word [esi], dx
jne 0x499a96
or byte [edi + eax + 0x28], 4
jmp 0x499a9b
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 0x499bee
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 0x499bce
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x499add
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x499b13
cmp eax, edx
jae 0x499b1f
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 0x499ab5
jmp 0x499bee
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 0x499bca
cmp dword [ebp - 0x14], 0
je 0x499bca
mov eax, dword [ebx*4 + 0x56fc30]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x499ba2
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x499b6b
mov word [esi], cx
jmp 0x499b9e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x56fc30]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x56fc30]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x56fc30]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x499bee
pop ebx
cmp word [ebp - 4], bx
jne 0x499bb3
cmp esi, dword [ebp + 0xc]
jne 0x499bb3
mov word [esi], bx
jmp 0x499beb
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040196f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x499bee
push 0xd
jmp 0x499be7
mov ecx, dword [ebx*4 + 0x56fc30]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x499be5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x499bee
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 0x49ea91
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x56bd00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49eadc
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0049ef53
test al, al
jne 0x49ead6
sub edx, 2
cmp edx, edi
jne 0x49eabc
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49eafe
lea eax, [edi + 2]
cmp edx, eax
je 0x49eafe
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049e68a
add esp, 0x10
jmp 0x49ebf8
push esi
lea ecx, [ebp - 0x255]
call fcn.0049ef53
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49eb41
push dword [ebp - 0x25c]
jmp 0x49eaee
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x49eb7e
cmp word [ebp - 0x226], 0
je 0x49eb9f
cmp word [ebp - 0x226], ax
jne 0x49eb7e
cmp word [ebp - 0x224], 0
je 0x49eb9f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049e68a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49ebeb
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49eb58
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49ebd3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49ebf8
push 0x49e072
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004056dc
add esp, 0x10
jmp 0x49ebc8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403107
leave
ret
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
xor ch, ch
jg 0x414b0d
pushal
mov ah, 0xcb
into
pop edi
cmpsd dword [esi], dword es:[edi]
lcall 0x9b4a, 0xe08c93e5
wait
retf 0xc167
lcall 0x6570, 0x659b9a8f
lcall 0x6570, 0x659b9a8f
lcall 0x658f, 0x9a64658f
lcall 0x6163, 0x1964658f
mov dword [0xcc89ab9e], eax
fmul dword [edi - 0x182a6094]
adc al, 0xdb
invalid

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401990
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b160
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x10
mov eax, dword [0x491870]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x20], str.4zYIHrPXNB7pFcXNmc5sbDREOBWUcITcUAmuRD5n01smSBl9clJackj57uDVUQbgFmTfJae0kNOepfdSBjkQPEyBU9L88Nn4G6BqlGhtTITOcdYt
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [ebp - 0x15], al
movsx eax, byte [ebp - 0x15]
test eax, eax
je 0x4019ee
mov byte [ebp - 0x16], 1
jmp 0x4019f2
mov byte [ebp - 0x16], 0
mov al, byte [ebp - 0x16]
jmp 0x401a1a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004136d5
mov esp, ebp
pop ebp
ret
Function at 0x401f40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], str.qoALM87FALaqJ3pmxqTGDWJpmigFyBN69HtF0zgpxpP8AsBKYvSVfRiek0KSUfKYekwAWvA3XEDFXuLpTWseidVnoULC0RIjnIpEsQ9Fut1Twj8kIGFyaKXaDiNpLgV7dM2fYKYo7Q5u5Np5I5MgStE2xjaAmS92dSz8BwargGMXxvSR7Yn07AmsU5Um1UBgMPrm4IL4JQOF2JkoYGfJatq22JSGaf7AdSnmI6SDH9DKJt11hVvOYIbowhErjsXmDLlPBAECKlte3nLASUvR890hpJzgaOYw8EyQmlbwQbjUrRSCxhRQQJiu72MDxlsAEbxMiJBVnkTuz1e9U7s51HrUp5BPSDkAd874xMuaqijyTwv6H2ec2JRxiWukBkSChc2NrFG8dmGPDwRiW2FbNy9FSKHaEpIXsI9V0mt62RNHUuVa0Ey0mv8xemU70Xf4SSdwqi1dugNjz7YohxSQzmAk0pgiUL6oOgVpL5a7LSjaMItIlFxGa3YGprm20c4qyMUbTst1FXpY6g5SLsqgFCsOhTfWahcHvONdwjezwFBJlkHFgHl4shSp08pTGGIH857CaDn3g0SHHboOyy5mHlPHwjN39I40YImkbBB7oQFqFGs9wCnaqkzpqzQNtmR7Ge1XKwg303QE5nnt4QShvO5NOTpOTbXBXxs0SOsBKhKt4pOAaAhhAB3CpcL40pp6zV5zs6V3S7bd9AHmUz7tcyP9seJIFVq9p6cG63dae2nr8m7DtXXXEKxdPEuf9gsoo644jxrgao209Omh2gjB8lV6Y4IqXxbrxrUarAxaFth3EEVcWnC2BFxDURyd3zrXWXUgDk6dkoKVuhxgzDgBUbvadrzSyNhAOUdnR3offctkKF6pnJCuGuLz40N05jY2mVRjWbqD8OX8SuHzUJ0ComUceFIlsMYWW5UAwhTgh4dxH1GHN8DElDfX0shXSCY3XJnx33ewyEA0ibyKJNM5FoLfihQdUMO5TKafPlwlpbYd7x2ItYA5lKbYfDAIgD0dWzgOgm5MutaHQh6B8PEy3KTYHrbMA8T0VmGBhShOxXfL8PqtHAEINSfQd660SPF04cV1sMdOPEv3txw1jeWHuH3lXuds9zKePn1M1YSCYDTldPQgB3oHpt77zt89uQ6jBF92MCic4YcgLPmQcN7drGaS0RdOcU9oEkQbh0tvtJUgKlu2wGw5b21rDoD6FESg81TXBFtG4SjzSRfzXnfsPosFfLjosHOe7RktxolS1krl2F8RJWfQdPjxYFT0goWewts7w4alWY8tdEaQ10F6OFo5oHP0TJMJcRPDzP1oRGUIzsQ4Nw1jMoyoqqmilunPQyk5p50q8ebEpqgC2mqbr1OpfmyQ0t3CsmM3NqFSwFsSssi3oe6TqGixxp2f0x28bnBHpUxHzzTsNFRAmyaLvkSX6izo9eMVCwMS1UVmKDSzmOzIOLYxLgMwlbohIQgJR7h915vUFJUNqiAaIyzbmXyYx4QzvjmLgMEkJ7gmFwGqO0X6i0zNmVb3ELrFR4NFqv9pBPCCRt3qQtF94tjNXM1prXOGAcfxgzCB08oDaUVwoNwoMGGHibOGr6Ln4jeWTCAkmXMfd0s7MFhmtHjhySItUwdh8CbRLAca5omfqGQgUjx1tRnuUHfjWldyb
push str.C:WINDOWS_system32drivers_vmmouse.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x401f68
mov al, 1
jmp 0x401f9a
push str.C:WINDOWS_system32drivers_vmhgfs.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x401f80
mov al, 1
jmp 0x401f9a
push str.C:WINDOWS_system32driversVBoxMouse.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x401f98
mov al, 1
jmp 0x401f9a
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x40a8b0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b8b8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x491870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push 0x433a67
lea eax, [ebp + 8]
push eax
call fcn.0040fd30
add esp, 8
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x40a921
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407d50
mov al, byte [ebp - 0x12]
jmp 0x40aa0b
mov dword [ebp - 0x28], str.DDdNR61jrJxgUFBHNoaUbkFTYskgegmmeB8m6Cv9Ck1cHNukE6tr8YmPGDbSMwpSgamueBU45KxQWOgOWGvoUOoHuYGWS8xWxUN2zViOByKDEVSrSvYCxi08iy2zWEEn9sphmayoLOOSeCG6RXFlXFhRLUVJT0XFjrhTOHsNM6vKxFjkuqo
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp + 8]
push edx
call fcn.0040b310
mov dword [ebp - 0x30], eax
push str.Name
push 0x434239
push str.SELECT__FROM_Win32_Process
push str.ROOTcimv2
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 2
jl 0x40a989
mov byte [ebp - 0x13], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407d50
mov al, byte [ebp - 0x13]
jmp 0x40aa0b
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407d50
mov al, byte [ebp - 0x14]
jmp 0x40aa0b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x40d460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42baa8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x491870]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x40d4a0
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x40d4ac
mov al, 1
jmp 0x40d64f
mov dword [ebp - 0x54], 8
call fcn.004071c0
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.004071c0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00407180
add esp, 8
movzx eax, al
test eax, eax
je 0x40d4ef
xor al, al
jmp 0x40d64f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00411ba0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.00407ca0
mov ecx, eax
call fcn.00404c80
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004028c0
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407ca0
mov ecx, eax
call fcn.00404c80
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x40]
call fcn.0040f640
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40d56a
cmp dword [ebp - 0x3c], 1
je 0x40d571
cmp dword [ebp - 0x3c], 3
je 0x40d60b
jmp 0x40d623
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407ca0
mov ecx, eax
call fcn.00404c80
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40d5d4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407ca0
mov ecx, eax
call fcn.00404c80
push eax
call fcn.0041664f
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40d5d4
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d50
mov al, byte [ebp - 0x34]
jmp 0x40d64f
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x40d5f7
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d50
mov al, byte [ebp - 0x31]
jmp 0x40d64f
cmp dword [ebp - 0x38], 0
jne 0x40d609
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0040ca30
jmp 0x40d63b
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d50
mov al, byte [ebp - 0x33]
jmp 0x40d64f
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d50
mov al, byte [ebp - 0x32]
jmp 0x40d64f
jmp 0x40d502
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004136d5
mov esp, ebp
pop ebp
ret