joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4032d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov al, 0x65
push esi
mov byte [ebp - 0x13], al
mov byte [ebp - 0xc], al
mov byte [ebp - 8], al
mov byte [ebp - 4], al
lea eax, [ebp - 0x14]
push edi
mov cl, 0x6c
push eax
push 0x409390
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x4d
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x75
mov byte [ebp - 0xd], cl
mov byte [ebp - 0xb], 0x46
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], cl
mov byte [ebp - 7], 0x4e
mov byte [ebp - 6], 0x61
mov byte [ebp - 5], 0x6d
mov byte [ebp - 3], 0x41
mov byte [ebp - 2], 0
call dword [0x4070a4]
push eax
call dword [0x4070a0]
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x117]
mov byte [ebp - 0x118], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x118]
push 0x104
push ecx
push 0
stosb byte es:[edi], al
call edx
lea edx, [ebp - 0x21c]
push edx
push 0x104
call dword [0x4070d4]
lea eax, [ebp - 0x21c]
push 0x4093a0
push eax
call dword [0x4070b4]
mov esi, dword [0x4070d0]
lea ecx, [ebp - 0x21c]
push 3
lea edx, [ebp - 0x118]
push ecx
push edx
call esi
test eax, eax
je 0x4033be
push 5
lea eax, [ebp - 0x21c]
push 0
push eax
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417810
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi
je 0x417836
mov eax, dword [0x4b9ab0]
test eax, eax
je fcn.0041782c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
push edi
lea eax, [esp + 0xc]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x4b9070
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd]
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 + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x4b9ab0], eax
test eax, eax
pop ebx
je 0x4178d1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b905c
push eax
call esi
mov ecx, dword [0x4b9ab0]
dec ebx
add byte [eax + 0x44], ch
nop
dec ebx
add byte [ecx - 0x5d], dl
lodsb al, byte [esi]
lcall 0xd8b, 0xd6ff004b
lodsb al, byte [esi]
lcall 0x4b9a, 0xb4a3004b
invalid
test ecx, ecx
je 0x4178c7
test eax, eax
je 0x4178c7
mov eax, 1
pop esi
add esp, 0x50
ret
Function at 0x42507c
Capabilities:
Encode data using xor

Disassembly:
mov dword [0xbd29a29e], eax
push esp
adc byte [ecx], ch
scasb al, byte es:[edi]
inc eax
shr dword [eax - 0x2f], 1
aaa
into
push ss
pop es
add cl, dl
push 0xffffffffffffffef
salc
shl dword [ecx + ebp*8 - 0x1473a3ee], cl
inc ebx
call 0xf69c0ac1
invalid
stosb byte es:[edi], al
clc
lcall 0xb4ba, 0x4c6a8a88
and dword [ebx], esi
jp 0xa0aa7de9
mov ah, 0x21
xor ecx, dword [edi]
mov bl, byte [ebp + ebp + 0x68]
mov al, byte [0xd6312b3b]
cmp ebp, dword [ebx]
xor esi, edx
sal dword [esi - 0x3052e34d], cl
inc edi
mov eax, 0x2af0c18f
adc dword [eax + 1], esp
inc ecx
je 0x425084
jnp 0x425084
outsd dx, dword [esi]
adc al, 0x6e
cmp dword [esi + 0x2c], edi
sub edx, dword [esi - 0x50f9519b]
mov word [ebx], ss
call dword [ebx - 0x53]
sar dword [edi - 0x2dbaa995], 0x24
mov dword [0x9dfb6ded], eax
mov dh, 0x22
or al, 0x37
jl 0x42504f
lahf
std
push eax
pop ss
pop esi
shl byte [ebx + 0x4d], cl
sbb dword [edi - 0x3a], ecx
jbe 0x4250b6
xor byte [ecx - 0x6a], bh
test eax, 0x5978bb1f
pop ss
mov dword [0x8ca54bb3], eax
push eax
sbb al, byte [eax + 0x21]
lahf
xchg ebx, eax
sub edx, dword gs:[edx + 0x3c5d1b2e]
out dx, eax
movsb byte es:[edi], byte [esi]
fisubr dword [ecx + 0x7a52376c]
mov edi, 0xe6e85993
xchg esi, eax
outsb dx, byte [esi]
xlatb
test byte [esi + 0x2d34198c], ch
sbb eax, 0x2ae54819
retf

Function at 0x42e928
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
pop ds
dec edx
and byte gs:[0x91723121], cl
loop 0x42e98a
and ecx, dword [edx + eax - 0x276166e9]
mov byte [0xb19805cb], al
pop es
xchg esi, eax
imul edx, dword [ebx + esi*8 + 0x7f7bf684], 0x35da7e60
inc esi
shr cl, cl
jno 0x42e9a3
mov dl, dl
mov dword [ecx], eax
invalid
aam 0xe0
aad 0x59
in al, 0xae
adc ah, byte [0xb5076ad6]
leave
adc al, 0x60
aas
push ebx
jo 0x42e990
jle 0x42e9d9
pop es
jno 0x42ea0b
scasd eax, dword es:[edi]
pop es
mov ch, byte [ebx + 7]
wait
dec dword [ebx - 0xd74f395]
jne 0x42e9f1
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
mov dword [edx + 0x14], 0x28
mov edx, dword [eax]
call dword [edx]
mov ecx, edi
mov eax, 1
shl eax, cl
dec eax
add ebp, edi
mov ecx, 0x18
and esi, eax
sub ecx, ebp
shl esi, cl
or esi, dword [ebx + 8]
cmp ebp, 8
jl 0x42ea65
mov edi, esi
mov edx, dword [ebx]
sar edi, 0x10
inc dword [ebx]
and edi, 0xff
mov eax, edi
mov byte [edx], al
dec dword [ebx + 4]
jne 0x42ea37
mov eax, ebx
call fcn.0042e9a8
test eax, eax
jne 0x42ea37
xor eax, eax
jmp 0x42ea70
cmp edi, 0xff
jne 0x42ea5a
mov edx, dword [ebx]
inc dword [ebx]
mov byte [edx], 0
dec dword [ebx + 4]
jne 0x42ea5a
mov eax, ebx
call fcn.0042e9a8
test eax, eax
jne 0x42ea5a
xor eax, eax
jmp 0x42ea70
shl esi, 8
sub ebp, 8
cmp ebp, 8
jge 0x42ea10
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ebp
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48bb04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4933c6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bf2d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0048bcf7
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
add ecx, 8
lea edi, [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.0049684c
xor ebx, ebx
cmp eax, ebx
jne 0x48bcb2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push dword [ebp + 0xc]
mov dword [esp + 0x3c], ebx
call fcn.0048bcf7
mov ecx, eax
lea eax, [esp + 0x18]
add ecx, 0x38
push eax
call fcn.0049352b
mov byte [esp + 0x40], 1
mov esi, dword [eax]
push ebx
push esi
xor edi, edi
call 0x4e4e20
add esp, 0x10
test eax, eax
jne 0x48bbcd
push esi
call fcn.004891b6
mov esi, eax
cmp esi, ebx
pop ecx
je 0x48bbcd
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x48bbb8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x48bbcd
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x48bbc6
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [esp + 0x28], esi
inc edi
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x14]
cmp edi, ebx
sete byte [esp + 0x13]
add eax, 0xfffffff0
call fcn.00497d5f
cmp byte [esp + 0x13], bl
je 0x48bbfd
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 8]
call fcn.0048bd34
add esp, 0xc
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x48bc6d
push 0x14
call 0x4e408d
cmp eax, ebx
pop ecx
je 0x48bc27
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2934
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov edi, eax
jmp 0x48bc29
xor edi, edi
cmp edi, ebx
je 0x48bc6d
push esi
push edi
call fcn.0048b25a
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
push eax
call fcn.0048b322
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0048b44b
add esp, 0x18
call fcn.0048bcf7
mov ebx, eax
mov eax, dword [ebp + 8]
add ebx, 8
call fcn.00495f19
mov dword [eax], edi
xor ebx, ebx
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x48bc84
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x48bc96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
je 0x48bcd9
push dword [esp + 0x20]
call dword [fcn.00497258]
push dword [esp + 0x20]
call dword [fcn.00497250]
jmp 0x48bcd9
mov edi, dword [eax + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
call fcn.0048b322
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0048b44b
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx + 4], ebx
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4977b7
Capabilities:
Encode data using xor

Disassembly:
fadd dword [esi]
fidiv word [ebp - 0x5817cf51]
arpl word [esi + 0x23bbf116], cx
out dx, eax
jg 0x497836
mov bl, 0xd7
pop ebx
popfd
pcmpeqw mm2, mm5
mov dl, 0x25
iretd
jle 0x497890
les esi, [0x66512d2e]
xchg esp, eax
into
nop
fadd dword [eax - 0x15]
cmp byte [ecx + 0x5aa7d492], dh
rol byte [bx - 0x32ec], 0xfb
test eax, 0x1c88a642
sbb dword [ebp - 0x3204ed1d], ebx
push esp
out 0xc7, al
retf
xchg dword [edi + 0x22], edi
mov dword [0x46fddb68], eax
add esp, ecx
fnsave dword [ebp + 0x70537cf1]
mov bl, 0xb7
and dl, al
cmp ebx, dword [ecx - 0x46]
cmp ebx, dword [ecx - 0x46]
stosb byte es:[edi], al
sbb al, 0x3e
cmpsd dword [esi], dword es:[edi]
sub edx, ebx
mov dword [0xd340f1df], eax
push edx
mov word [edi - 0x41f65a75], es
xor ch, byte [edx + 3]
xchg esp, eax
out dx, al
push ebp
inc ebp
sbb ebp, dword [ecx]
sbb eax, 0x43025c3e
mov dh, 0x46
jg 0x4978a5
add ah, byte [edx + 0x67a16848]
pop ecx
push 0xffffffffffffff88
in eax, dx
mov ds, word [edx + 9]
xor dword [eax + 0xc031aa6], esi
outsd dx, dword [esi]
mov byte [edx], al
vmovlps xmm4, xmm4, qword [ebp - 0xa61db88]
imul dl
mov esi, 0xfe6f7e52
wait
insb byte es:[edi], dx
and eax, 0xf614a61b
jge 0x497942
push ebx
mov edx, 0x48515499
mov dh, 0x7c
mov al, 0xc3
mov byte [bx], al
jno 0x49798a
push esp
jge 0x497943
sbb byte [ebp - 0x1eb17ec8], bl
std
and ebp, edx
inc ebx
ret 0xa16b
ljmp 0x6a46:0xa16bc243
pop edx
adc dword [ebp + edi*2 - 0x60b6dd6c], eax
in al, dx
fcom qword [esp + 0x75b71ae6]
test dword [edx + eax*4 + 0x17], ecx
imul dword [esi]
push ecx
aad 0x76
pop edi
aam 0x27
push ecx
mov word [edx - 0x32e7df0b], ss
jo 0x4979b5
xor dword [edx + ecx*4 + 0x3d8be25c], edi
salc
daa
and al, 0xce
jp 0x497916
sahf
inc edi
test eax, 0x8b186ae4
add esp, dword [ecx - 0x62]
and esi, esi
pop eax
test eax, 0xa504ee07
ljmp 0x40b9
xor al, 0xb9
inc eax
invalid
imul ebx, eax, 0xffffffdf
invalid
Function at 0x4a27d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4933c6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bf2d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.004a29c7
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
add ecx, 8
lea edi, [esp + 0x1c]
lea eax, [esp + 0x20]
call int.004ad51c
xor ebx, ebx
cmp eax, ebx
jne 0x4a2982
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push dword [ebp + 0xc]
mov dword [esp + 0x3c], ebx
call fcn.004a29c7
mov ecx, eax
lea eax, [esp + 0x18]
add ecx, 0x38
push eax
call fcn.004aa1fb
mov byte [esp + 0x40], 1
mov esi, dword [eax]
push ebx
push esi
xor edi, edi
call 0x4fbaf0
add esp, 0x10
test eax, eax
jne 0x4a289d
push esi
call fcn.0049fe86
mov esi, eax
cmp esi, ebx
pop ecx
je 0x4a289d
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x4a2888
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x4a289d
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x4a2896
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [esp + 0x28], esi
inc edi
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x14]
cmp edi, ebx
sete byte [esp + 0x13]
add eax, 0xfffffff0
call fcn.004aea2f
cmp byte [esp + 0x13], bl
je 0x4a28cd
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 8]
call fcn.004a2a04
add esp, 0xc
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x4a293d
push 0x14
call 0x4fad5d
cmp eax, ebx
pop ecx
je 0x4a28f7
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2934
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov edi, eax
jmp 0x4a28f9
xor edi, edi
cmp edi, ebx
je 0x4a293d
push esi
push edi
call fcn.004a1f2a
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
push eax
call fcn.004a1ff2
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.004a211b
add esp, 0x18
call fcn.004a29c7
mov ebx, eax
mov eax, dword [ebp + 8]
add ebx, 8
call fcn.004acbe9
mov dword [eax], edi
xor ebx, ebx
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x4a2954
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4a2966
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
je 0x4a29a9
push dword [esp + 0x20]
call dword [fcn.00497258]
push dword [esp + 0x20]
call dword [fcn.00497250]
jmp 0x4a29a9
mov edi, dword [eax + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
call fcn.004a1ff2
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.004a211b
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx + 4], ebx
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aebb2
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
invalid
dec edx
push ebp
mov edi, 0xccffa14c
inc ecx
fcom qword [ebx]
xlatb
pop ecx
xor ah, ch
or eax, 0x836677ce
add eax, 0x9080e371
mov ah, 0x8c
ja 0x4aeb7f
lcall 0xd49, 0xf840e1cf
xor eax, 0xc10c3e54
stosd dword es:[edi], eax
retf 0x76d5

Function at 0x4aec30
Capabilities:
Encode data using xor

Disassembly:
or ebp, dword [ecx]
mov ecx, 0x192988b2
xchg ebx, esi
xchg ebp, eax
or al, 0x29
dec eax
mov esp, 0xb559559d
ror esp, 1
cmp al, byte [edx + esi*4 + 1]
sub dword [0x8441b7dc], edx
mov al, byte [ebp - 0x65582116]
invalid

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x2053c30
Capabilities:
Encode data using xor

Disassembly:
jmp 0x2053c3a
pushal
call 0x2053c40
pop ebp
sub ebp, 0x10
sub ebp, 0x1c53c30
jmp 0x2053c56
mov eax, 0x1c53c30
add eax, ebp
add eax, 0x4c
mov ecx, 0x580
mov edx, 0x525413cd
xor byte [eax], dl
inc eax
dec ecx
invalid
Function at 0x1001312c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001316b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10013169
push 0x23b7
push 0x1054
push 0
push 0x2f2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x100131b6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10013199
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x100131b6
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.100174a9
mov dword [eax], 0xfffffff6
jmp 0x1001318e
mov esp, ebp
pop ebp
ret

Function at 0x100131fc
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10013233
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.1001726d
jmp 0x10013253
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10013253
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret

Function at 0x10014824
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10014849
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10014847
push 0x19f3
call dword [sym.imp.KERNEL32.dll_ExitThread]
jmp 0x10014853
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret
Function at 0x10016c6f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10016d82
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.100174a9
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
add ecx, dword [eax]
cmp ecx, 0x6fcd
jl 0x10016d06
mov dword [ebp - 8], 1
jmp 0x10016d0a
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 8], eax
jne 0x10016d27
mov dword [ebp - 0xc], 1
jmp 0x10016d2b
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
je 0x10016d43
mov dword [ebp - 0x14], 1
jmp 0x10016d47
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jg 0x10016d56
mov dword [ebp - 0x18], 1
jmp 0x10016d5a
and dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 0x50]
call fcn.100174a9
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jge 0x10016d74
mov dword [ebp - 0x1c], 1
jmp 0x10016d78
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x10016d8f
push 0
push 0x218c
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esp, ebp
pop ebp
ret
Function at 0x100170f9
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10017154
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10017135
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x10017152
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.100174a9
mov dword [eax], 0xf7626a9d
jmp 0x1001712a
jmp 0x10017183
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10017183
push 0x23b7
push 0x1054
push 0
push 0x2f2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret