joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4787f4
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x47880c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x478805
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00402bf8
xor edx, edx
mov eax, 0x487f98
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x478876
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x47882a
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x478ab4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x478acd
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x478ac6
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x478adf
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x478ad8
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004786a8
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x478af9
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004787b8
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x478b7e
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x478b9b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00478738
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x478bc4
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x478bdc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x478bf5
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x478bee
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x478c09
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004785a0
test bl, bl
jne 0x478cdc
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4899bc
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x478c40
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x478c54
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00478ab4
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x478c86
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x478c35
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x478ca9
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x478cba
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x478cce
jmp 0x478d97
cmp bl, 1
jne 0x478d97
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x489a16
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x478cfc
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x478d10
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00478ab4
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x478d42
sub ebx, 6
inc dword [ebp - 8]
jne 0x478cf1
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x478d69
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x478d7a
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x478d8e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00478624
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x5d1989
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x910c07
jmp 0x910c6e
push edi
mov edi, esp
add edi, 4
push eax
mov eax, 4
sub edi, eax
mov eax, dword [esp]
push edx
mov edx, esp
add edx, 4
add edx, 4
xchg dword [esp], edx
jmp 0x910d48
pop esp
xchg dword [esp], edi
pop esp
mov dword [esp], ebp
jmp 0x910d55
jmp 0x96449b
jmp 0x964565
push edi
mov dword [esp], esp
add dword [esp], 4
push dword [esp]
jmp 0x964575
pop ebp
push ecx
mov ecx, esp
add ecx, 4
add ecx, 4
xchg dword [esp], ecx
pop esp
jmp 0x9645e7
jmp 0x964eee
jmp fcn.00964fad

Function at 0x402403
Capabilities:
Enumerate files on windows
Get disk size
Get geographical location
Print debug messages
Query environment variable

Disassembly:
inc eax
add dl, bh
jbe 0x402397
add dl, ah
mov dword [0xa22759], eax
push 0x40c0cd
jmp [ebp - 0x1dbfc917]
daa
mov byte [0xc0cd6800], al
inc eax
add bh, bh
lodsd eax, dword [esi]
jmp 0xe92263e0
inc eax
loop 0x402392
popal
add dl, ah
add byte [ebx + 0x40bb6d], ah
push 0x402249
jecxz 0x4023ef
jmp 0xe840c5f5
and ah, byte [edx - 0x3417b000]
add byte [eax], al
add byte [edi], bh
popal
daa
inc eax
loop 0x402456
push 0x40bf32
push eax
cli
push es
add byte [eax], al
loop 0x4023ad
daa
mov byte [0x5955c300], al
in eax, 0x83
in al, dx
salc
mov edi, dword [ebp + 8]
jl 0x40239b
aas
dec ebp
mov byte [ebp + 0x65], dh
mov eax, ebp
add edx, dword [edi + 0x3c]
jl 0x4023a7
cmp dl, byte [eax - 0x63]
jne 0x402484
mov dword [ebp + 0x6a428bf4], ecx
add eax, dword [ebp + 8]
pop ecx
inc ebp
clc
mov esp, dword [edx - 0x25bafce0]
mov dword [ebp - 4], eax
mov cl, 0xc9
mov edx, dword [ebp - 0x16]
cmp ecx, dword [edx + 0x18]
cmp cl, byte gs:[ebx + 0x1c8be65d]
mov ebx, edi
pop ebp
or bh, bh
insd dword es:[edi], dx
or al, 0x53
push ebx
call fcn.0040220a
pop edi
clc
add dword [edi + ebx*8 + 0x41], esi
jmp 0x402442
mov cl, 0xc0
mov esp, ebp
test edx, eax
or byte [eax], al

Function at 0x4042a0
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push dword [0x402740]
call dword [sym.imp.pdh.dll_PdhValidatePathA]
and eax, 0xf
add eax, 0xb
xor edi, edi
xor esi, esi
cmp eax, 0x18
je 0x4042c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x403705], eax
ret
Function at 0x6b988733
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x6b98877f
jmp 0x6b9887ba
jmp 0x6b9887f5
jmp 0x6b988830
jmp 0x6b98886b
jmp 0x6b9888a6
jmp 0x6b9888e1
jmp 0x6b98891c
jmp 0x6b988957
jmp 0x6b988992
jmp 0x6b9889cd
jmp 0x6b988a08
jmp 0x6b988a43
jmp 0x6b988a7e
jmp 0x6b988ab9
jmp 0x6b988af4
jmp 0x6b988b2f
jmp 0x6b988b6a
jmp 0x6b988ba5
jmp 0x6b988be0
jmp 0x6b988c1b
jmp 0x6b988c56
jmp 0x6b988c91
jmp 0x6b988ccc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x6b988d0d
jmp 0x6b988d48
jmp 0x6b988d83
jmp 0x6b988dbe
jmp 0x6b988df9
jmp 0x6b988e34
jmp 0x6b988e6f
jmp 0x6b988eaa
jmp 0x6b988ee5
jmp 0x6b988f20
jmp 0x6b988f5b
jmp 0x6b988f96
jmp 0x6b988fd1
jmp 0x6b98900c
jmp 0x6b989047
jmp 0x6b989082
jmp 0x6b9890bd
jmp 0x6b9890f8
jmp 0x6b989133
jmp 0x6b98916e
jmp 0x6b9891a9
jmp 0x6b9891e4
jmp 0x6b98921f
jmp 0x6b98925a
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
mov ecx, eax
mov ebx, eax
sar ebx, 0x1f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x20], eax
jmp 0x6b9892af
jmp 0x6b9892ea
jmp 0x6b989325
jmp 0x6b989360
jmp 0x6b98939b
jmp 0x6b9893d6
jmp 0x6b989411
jmp 0x6b98944c
jmp 0x6b989487
jmp 0x6b9894c2
jmp 0x6b9894fd
jmp 0x6b989538
jmp 0x6b989573
jmp 0x6b9895ae
jmp 0x6b9895e9
jmp 0x6b989624
jmp 0x6b98965f
jmp 0x6b98969a
jmp 0x6b9896d5
jmp 0x6b989710
jmp 0x6b98974b
jmp 0x6b989786
jmp 0x6b9897c1
jmp 0x6b9897fc
mov eax, dword [ebp - 0x20]
add eax, 0x78
mov dword [ebp - 0x24], eax
jmp 0x6b989840
jmp 0x6b98987b
jmp 0x6b9898b6
jmp 0x6b9898f1
jmp 0x6b98992c
jmp 0x6b989967
jmp 0x6b9899a2
jmp 0x6b9899dd
jmp 0x6b989a18
jmp 0x6b989a53
jmp 0x6b989a8e
jmp 0x6b989ac9
jmp 0x6b989b04
jmp 0x6b989b3f
jmp 0x6b989b7a
jmp 0x6b989bb5
jmp 0x6b989bf0
jmp 0x6b989c2b
jmp 0x6b989c66
jmp 0x6b989ca1
jmp 0x6b989cdc
jmp 0x6b989d17
jmp 0x6b989d52
jmp 0x6b989d8d
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x28], eax
jmp 0x6b989de1
jmp 0x6b989e1c
jmp 0x6b989e57
jmp 0x6b989e92
jmp 0x6b989ecd
jmp 0x6b989f08
jmp 0x6b989f43
jmp 0x6b989f7e
jmp 0x6b989fb9
jmp 0x6b989ff4
jmp 0x6b98a02f
jmp 0x6b98a06a
jmp 0x6b98a0a5
jmp 0x6b98a0e0
jmp 0x6b98a11b
jmp 0x6b98a156
jmp 0x6b98a191
jmp 0x6b98a1cc
jmp 0x6b98a207
jmp 0x6b98a242
jmp 0x6b98a27d
jmp 0x6b98a2b8
jmp 0x6b98a2f3
jmp 0x6b98a32e
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x2c], eax
jmp 0x6b98a383
jmp 0x6b98a3be
jmp 0x6b98a3f9
jmp 0x6b98a434
jmp 0x6b98a46f
jmp 0x6b98a4aa
jmp 0x6b98a4e5
jmp 0x6b98a520
jmp 0x6b98a55b
Function at 0x6b998ad6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6c2e0018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x6c2e0018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6b998b31
jmp 0x6b998b6c
jmp 0x6b998ba7
jmp 0x6b998be2
jmp 0x6b998c1d
jmp 0x6b998c58
jmp 0x6b998c93
jmp 0x6b998cce
jmp 0x6b998d09
jmp 0x6b998d44
jmp 0x6b998d7f
jmp 0x6b998dba
jmp 0x6b998df5
jmp 0x6b998e30
jmp 0x6b998e6b
jmp 0x6b998ea6
jmp 0x6b998ee1
jmp 0x6b998f1c
jmp 0x6b998f57
jmp 0x6b998f92
jmp 0x6b998fcd
jmp 0x6b999008
jmp 0x6b999043
jmp 0x6b99907e
mov dword [ebp - 0x14], 0
jmp 0x6b9990c0
jmp 0x6b9990fb
jmp 0x6b999136
jmp 0x6b999171
jmp 0x6b9991ac
jmp 0x6b9991e7
jmp 0x6b999222
jmp 0x6b99925d
jmp 0x6b999298
jmp 0x6b9992d3
jmp 0x6b99930e
jmp 0x6b999349
jmp 0x6b999384
jmp 0x6b9993bf
jmp 0x6b9993fa
jmp 0x6b999435
jmp 0x6b999470
jmp 0x6b9994ab
jmp 0x6b9994e6
jmp 0x6b999521
jmp 0x6b99955c
jmp 0x6b999597
jmp 0x6b9995d2
jmp 0x6b99960d
mov dword [ebp - 0x18], 0
jmp 0x6b99964f
jmp 0x6b99968a
jmp 0x6b9996c5
jmp 0x6b999700
jmp 0x6b99973b
jmp 0x6b999776
jmp 0x6b9997b1
jmp 0x6b9997ec
jmp 0x6b999827
jmp 0x6b999862
jmp 0x6b99989d
jmp 0x6b9998d8
jmp 0x6b999913
jmp 0x6b99994e
jmp 0x6b999989
jmp 0x6b9999c4
jmp 0x6b9999ff
jmp 0x6b999a3a
jmp 0x6b999a75
jmp 0x6b999ab0
jmp 0x6b999aeb
jmp 0x6b999b26
jmp 0x6b999b61
jmp 0x6b999b9c
mov dword [ebp - 0x10], 0
jmp 0x6b999bde
jmp 0x6b999c19
jmp 0x6b999c54
jmp 0x6b999c8f
jmp 0x6b999cca
jmp 0x6b999d05
jmp 0x6b999d40
jmp 0x6b999d7b
jmp 0x6b999db6
jmp 0x6b999df1
jmp 0x6b999e2c
jmp 0x6b999e67
jmp 0x6b999ea2
jmp 0x6b999edd
jmp 0x6b999f18
jmp 0x6b999f53
jmp 0x6b999f8e
jmp 0x6b999fc9
jmp 0x6b99a004
jmp 0x6b99a03f
jmp 0x6b99a07a
jmp 0x6b99a0b5
jmp 0x6b99a0f0
jmp 0x6b99a12b
mov dword [ebp - 0x10], 0
jmp 0x6b99bd27
jmp 0x6b99a172
jmp 0x6b99a1ad
jmp 0x6b99a1e8
jmp 0x6b99a223
jmp 0x6b99a25e
jmp 0x6b99a299
jmp 0x6b99a2d4
jmp 0x6b99a30f
jmp 0x6b99a34a
jmp 0x6b99a385
jmp 0x6b99a3c0
jmp 0x6b99a3fb
jmp 0x6b99a436
jmp 0x6b99a471
jmp 0x6b99a4ac
jmp 0x6b99a4e7
jmp 0x6b99a522
jmp 0x6b99a55d
jmp 0x6b99a598
jmp 0x6b99a5d3
jmp 0x6b99a60e
jmp 0x6b99a649
jmp 0x6b99a684
jmp 0x6b99a6bf
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x6c2e0014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x6b99a70b
jmp 0x6b99a746
jmp 0x6b99a781
jmp 0x6b99a7bc
jmp 0x6b99a7f7
jmp 0x6b99a832
jmp fcn.6b99a86d
mov eax, dword [0x6c2e0018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6b99a137
nop
leave
ret
Function at 0x40100e
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc2c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x2b77004], 0xee
mov dword [ebp - 8], eax
jne 0x40103c
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FreeUserPhysicalPages]
mov eax, dword [0x443200]
mov dword [ebp - 0x18], eax
mov eax, dword [0x443204]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 0x9e3779b9
call fcn.00401007
mov eax, dword [0x443208]
add dword [ebp - 4], 0xe0
mov dword [ebp - 0x20], eax
mov eax, dword [0x44320c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov edx, dword [0x2b77004]
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x20]
cmp edx, 0xfa9
jne 0x4010a7
mov dword [0x2b77000], 0xedeb2e40
cmp edx, 0x3eb
jne 0x4010b5
mov dword [0x44474c], edi
mov ecx, dword [ebp - 4]
add ecx, esi
push ecx
mov dword [0x2b76ffc], 0x9150ce2e
call fcn.00401000
mov ecx, dword [ebp - 0xc]
mov ebx, esi
shr ebx, cl
add ebx, dword [ebp - 0x24]
xor eax, ebx
mov dword [ebp - 0x14], eax
cmp edx, 0x27
jne 0x40110d
lea eax, [ebp - 0x2c]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push edi
push edi
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push edi
lea eax, [ebp - 0xc2c]
push eax
push str.Tabocef_xirozegetolepe
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov eax, dword [ebp - 0x14]
sub dword [ebp - 8], eax
and eax, 0x5dc052bb
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, eax
add edx, eax
shl eax, 4
add eax, dword [ebp - 0x18]
shr ecx, 5
add ecx, dword [ebp - 0x28]
push edx
mov dword [0x444748], edi
call fcn.00401000
xor eax, ecx
sub esi, eax
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 4], eax
dec dword [ebp - 0x10]
jne 0x40107c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x401700
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push dword [0x2b77004]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x2b76af4], eax
ret
Function at 0x406436
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4425a0]
jne 0x406440
repz ret
jmp fcn.00408f5b

Function at 0x4087fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4425a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004048df
and dword [ebp - 0x14], 0
cmp dword [0x443f78], 0
mov dword [ebp - 0x18], eax
jne 0x4088ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408956
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408956
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x443f78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x443f7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x443f80], eax
call edi
push eax
call esi
mov dword [0x443f88], eax
test eax, eax
je 0x4088ae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x443f84], eax
mov eax, dword [0x443f84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408907
cmp dword [0x443f88], ecx
je 0x408907
push eax
call esi
push dword [0x443f88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408907
test ebx, ebx
je 0x408907
call edi
test eax, eax
je 0x4088fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4088fe
test byte [ebp - 8], 1
jne 0x408907
or dword [ebp + 0x10], 0x200000
jmp 0x40893a
mov eax, dword [0x443f7c]
cmp eax, dword [ebp - 0x18]
je 0x40893a
push eax
call esi
test eax, eax
je 0x40893a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40893a
mov eax, dword [0x443f80]
cmp eax, dword [ebp - 0x18]
je 0x40893a
push eax
call esi
test eax, eax
je 0x40893a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x443f78]
call esi
test eax, eax
je 0x408956
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408958
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406436
leave
ret
Function at 0x41344d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, 0x13f8a
sub eax, 0xfc5c6
add eax, 0xfc87b
mov ecx, edx
sub esp, 4
mov dword [esp], ecx
sub esp, 4
mov dword [esp], 0x40
push 0x3000
push eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [esp]
add esp, 4
mov ecx, esi
mov esi, dword [esp]
add esi, 0xc0
mov edi, eax
mov ecx, 0x1e3
sub esp, 4
mov dword [esp], eax
mov edx, 0xfabb19ac
add dl, bl
mov ebp, 0
push edx
mov bh, byte [esi]
add bh, byte [esp]
add byte [edi], bh
pop edx
add esi, 1
add edi, 0xe9b70
sub edi, 0xe9b6f
mov eax, 0
add eax, 0x3c236
sub eax, 0x3c232
add ebp, 0xb1b02
sub ebp, 0xb1b01
shr edx, 8
cmp eax, ebp
jne 0x4134f4
mov ebp, 0xfabb19ac
mov edx, ebp
mov ebp, 0
add dl, bl
sub ecx, 1
test ecx, ecx
jne 0x4134ae
mov eax, dword [esp]
add esp, 4
call eax
cmp eax, eax
jne 0x4134f4
ret 0x88
Function at 0x41ae70
Capabilities:
Persist via run registry key

Disassembly:
call fcn.0041a0e0
call fcn.0041a1f0
call fcn.0041a300
call fcn.0041a410
call fcn.0041a550
call fcn.0041a950
call fcn.0041a7b0
call fcn.0041abe0
call fcn.0041aaf0
call fcn.0041ad40
jmp fcn.0041ec10

Function at 0x41ec10
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401b26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401608
xor eax, eax
push 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x28]
push 0x417814
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x416094
call esi
mov ecx, dword [ebp - 0x1c]
mov edx, 0x4160ac
add ecx, 4
call esi
push 0x417a9c
push 0x4160c8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [fcn.00401214]
mov edx, eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 8]
call esi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x4160e4
add ecx, 0xc
call esi
mov edx, 0x417b40
lea ecx, [ebp - 0x34]
call esi
mov edx, 0x417ae0
lea ecx, [ebp - 0x30]
call esi
mov edx, dword [ebp - 0x1c]
push 1
lea eax, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x30]
push eax
push ecx
push 0x80000002
call fcn.0041d590
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x30]
push edx
push eax
push 2
call edi
add esp, 0xc
mov edx, 0x417b5c
lea ecx, [ebp - 0x34]
call esi
mov edx, 0x417ae0
lea ecx, [ebp - 0x30]
call esi
mov ecx, dword [ebp - 0x1c]
push 1
add ecx, 4
lea edx, [ebp - 0x34]
push ecx
lea eax, [ebp - 0x30]
push edx
push eax
push 0x80000002
call fcn.0041d590
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x30]
push ecx
push edx
push 2
call edi
add esp, 0xc
push 0x41ed5a
jmp 0x41ed47
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x28]
push eax
push 0
mov dword [ebp - 0x38], edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
Function at 0x4012a0
Capabilities:
Create process on windows
Delete file
Query environment variable

Disassembly:
sub esp, 0x380
push esi
push edi
call fcn.00401ad0
mov ecx, 8
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
call fcn.00401d20
add esp, 4
test al, al
jne 0x4012f1
mov edi, str.000000000000
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
push ecx
call fcn.00401f20
add esp, 4
call fcn.00401080
test al, al
je 0x4014c2
call fcn.00401570
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
push 0x104
je 0x40132e
lea edx, [esp + 0x80]
push edx
push 0x40a1b0
jmp 0x40133b
lea eax, [esp + 0x80]
push eax
push str.7SBBVSFS7N_q_atfNB_fwqfNAWFGB
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [esp + 0x7c]
push ecx
call fcn.00401c00
add esp, 4
test al, al
je 0x4014c2
mov edi, 0x40a170
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x80]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x80]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40a190
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x80]
and ecx, 3
push eax
push 0x6e
push 0x40a16c
rep movsb byte es:[edi], byte [esi]
call fcn.004014f0
add esp, 0xc
test al, al
pop ebx
je 0x4014c2
lea ecx, [esp + 0x7c]
push ecx
push str.7Akafw
call fcn.00401ae0
add esp, 8
lea edx, [esp + 0x7c]
push 0
push 0x4000000
push 3
push 0
push 1
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401422
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
xor eax, eax
pop esi
add esp, 0x380
ret 0x10
lea ecx, [esp + 0x180]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x180]
lea eax, [esp + 0x7c]
push edx
push eax
lea ecx, [esp + 0x28c]
push str.__s____s
push ecx
call fcn.004024b2
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x48]
add esp, 0x10
rep stosd dword es:[edi], eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x38]
push edx
push eax
push 0
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x2a0]
push 0
push ecx
push 0
mov dword [esp + 0x60], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4014b0
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
xor eax, eax
pop esi
add esp, 0x380
ret 0x10
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x380
ret 0x10