joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f3a94
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x6f3b32
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x7269a8]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x7269a8]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x7269a8]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x7269a8]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x6f3ab3
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x6f3b48
dec edx
je 0x6f3b7d
jmp 0x6f3bce
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x7269a8]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x7269a8]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x6f3bce
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x7269a8]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x7269a8]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x7269a8]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6f5fbc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp byte [ebx + 0x30], 0
jne 0x6f5fe6
mov ecx, 0x6f6044
mov dl, 1
mov eax, dword [0x6f5548]
call fcn.0040d964
call fcn.00404408
mov dword [ebp - 8], edx
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
test eax, eax
jle 0x6f6033
mov dword [ebp - 0xc], eax
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x60]
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [ebx + 0x40]
xor al, byte [edx]
mov byte [esi], al
mov ecx, dword [ebx + 0x44]
dec ecx
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x3c]
inc eax
call fcn.00402a78
mov eax, dword [ebx + 0x3c]
add eax, dword [ebx + 0x44]
dec eax
mov dl, byte [esi]
mov byte [eax], dl
inc dword [ebp - 8]
inc esi
dec dword [ebp - 0xc]
jne 0x6f5ff6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x6f605c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp byte [ebx + 0x30], 0
jne 0x6f6086
mov ecx, 0x6f60ec
mov dl, 1
mov eax, dword [0x6f5548]
call fcn.0040d964
call fcn.00404408
mov esi, edx
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
test eax, eax
jle 0x6f60db
mov dword [ebp - 0x10], eax
mov al, byte [esi]
mov byte [ebp - 9], al
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x60]
mov eax, dword [ebx + 0x40]
mov al, byte [eax]
xor al, byte [esi]
mov edx, dword [ebp - 8]
mov byte [edx], al
mov ecx, dword [ebx + 0x44]
dec ecx
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x3c]
inc eax
call fcn.00402a78
mov eax, dword [ebx + 0x3c]
add eax, dword [ebx + 0x44]
dec eax
mov dl, byte [ebp - 9]
mov byte [eax], dl
inc esi
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x6f6098
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x6f66e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x6f6766
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x6f586c]
mov eax, 0x14
call fcn.00405994
mov edi, eax
mov dword [edi + 0xc], esi
lea edx, [ebp - 8]
mov eax, esi
call dword [eax + 0x34]
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409330
mov edx, dword [ebp - 4]
lea eax, [edi + 4]
call fcn.00404aa0
mov eax, esi
call dword [eax + 0x30]
mov dword [edi + 8], eax
mov eax, dword [0x735950]
mov dword [edi], eax
mov byte [edi + 0x10], bl
mov dword [0x735950], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f676d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a70
ret

Function at 0x6f6774
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x6f67f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x6f5894]
mov eax, 0x10
call fcn.00405994
mov ebx, eax
mov dword [ebx + 0xc], esi
lea edx, [ebp - 8]
mov eax, esi
call dword [eax + 0x34]
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409330
mov edx, dword [ebp - 4]
lea eax, [ebx + 4]
call fcn.00404aa0
mov eax, esi
call dword [eax + 0x30]
mov dword [ebx + 8], eax
mov eax, dword [0x735954]
mov dword [ebx], eax
mov dword [0x735954], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f67f7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a70
ret

Function at 0x6f684c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jle 0x6f686c
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x6f685a
pop edi
pop esi
pop ebx
ret
Function at 0x6fb4a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jne 0x6fb4de
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, 3
cdq
idiv ecx
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx*4]
xor edx, edx
mov eax, dword [ebp - 0x18]
add eax, edx
and eax, 3
mov ebx, dword [ebp - 8]
lea eax, [ebx + eax*2]
mov bx, word [eax]
and bx, 1
movzx ebx, bx
mov esi, dword [ecx]
add esi, esi
or esi, ebx
mov dword [ecx], esi
movzx esi, word [eax]
shr esi, 1
xor bx, 1
shl ebx, 0xf
or si, bx
mov word [eax], si
inc edx
cmp edx, 4
jne 0x6fb50a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xf
jne 0x6fb4f7
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x6fb4ba
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x6fd2b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x6fd304
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x72e918]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x72ed18]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x72f118]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x72f518]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x6fd2bf
pop edi
pop esi
pop ebx
ret
Function at 0x6fe144
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, 0xff
mov ecx, dword [esp]
shr ecx, 8
and ecx, 0xff
mov eax, dword [esp]
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp]
shr esi, 0x18
mov dword [esp + 8], esi
cmp dword [esp + 4], 0x100
jne 0x6fe1d5
movzx ebx, byte [ebx + 0x72fb38]
mov esi, dword [edx + 0xc]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x72fa38]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x72fa38]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x72fb38]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0xc0
jl 0x6fe22f
movzx ebx, byte [ebx + 0x72fb38]
mov esi, dword [edx + 8]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x72fb38]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x72fa38]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x72fa38]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
movzx ebx, byte [ebx + 0x72fa38]
mov esi, dword [edx + 4]
and esi, 0xff
xor ebx, esi
movzx ebx, byte [ebx + 0x72fa38]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x739988]
movzx ecx, byte [ecx + 0x72fb38]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ecx, esi
movzx ecx, byte [ecx + 0x72fa38]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ecx, esi
xor ebx, dword [ecx*4 + 0x739d88]
movzx eax, byte [eax + 0x72fa38]
mov ecx, dword [edx + 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
movzx eax, byte [eax + 0x72fb38]
mov ecx, dword [edx]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
xor ebx, dword [eax*4 + 0x73a188]
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x72fb38]
mov ecx, dword [edx + 4]
shr ecx, 0x18
xor eax, ecx
movzx eax, byte [eax + 0x72fb38]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
xor ebx, dword [eax*4 + 0x73a588]
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x6fe2ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
and ecx, 0xff
imul ecx, ecx, 0x1010101
mov esi, dword [edx + ebx*4]
xor esi, ecx
mov dword [eax + ebx*4], esi
mov esi, dword [edx + ebx*4 + 4]
xor esi, ecx
mov dword [eax + ebx*4 + 4], esi
mov esi, dword [edx + ebx*4 + 8]
xor esi, ecx
mov dword [eax + ebx*4 + 8], esi
mov esi, dword [edx + ebx*4 + 0xc]
xor esi, ecx
mov dword [eax + ebx*4 + 0xc], esi
add ebx, 4
cmp ebx, 0x40
jl 0x6fe2fc
pop esi
pop ebx
ret

Function at 0x707c7c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x707c95
jne 0x707c9c
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 1
jne 0x707cab
mov dl, 1
cmp dword [ebp - 4], 1
jne 0x707cb3
xor edx, edx
mov eax, edx
pop ecx
pop ecx
pop ebp
ret
Function at 0x7c4f6e
Capabilities:
Execute anti-debugging instructions

Disassembly:
btr ebx, edx
setae ah
lea esp, [esp + 1]
jmp 0x7c4f55
Function at 0x7c557c
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [ecx + 0xeb]
mov si, di
bsf bx, ax
mov ebp, dword [esp]
bswap eax
jmp 0x7c5553
mov edi, 0x132533f0
pop bp
pop dx
mov byte [esp], ah
mov byte [esp], bh
inc esi
jmp 0x7c5513
add esp, 2
bswap ebp
setae ch
rol ax, cl
rdtsc
not dh
jmp 0x7c552b
add esp, 0
xchg cx, bx
xchg ebp, esi
bsf si, ax
mov dx, 0x9b2d
pushal
jmp 0x7c5585
add esp, 5
xchg dword [esp + 0x10], ecx
mov dx, sp
bsf ax, ax
jmp 0x7c5669
mov cx, dx
mov al, 0x26
pop ebp
cld
jmp 0x7c5542
bswap ebx
bswap eax
mov word [esp + 4], dx
xchg ch, dl
pop word [esp + 0x17]
bsr bx, cx
jmp 0x7c5566
lea edx, [ecx + 3]
add esp, 0
btr ecx, edx
setge dh
neg bh
push esp
jmp 0x7c5633
bswap ebp
mov bl, bh
xor esi, esi
lea edi, [ecx + 0x5b]
lea esp, [esp + 4]
cpuid
jmp 0x7c55b7
lea esp, [esp + 0x11]
popal
xchg byte [esp], al
btc ecx, edi
cpuid
rdtsc
jmp 0x7c55d6
push word [esp + 4]
bswap ebx
setae dh
and edi, ecx
mov si, bx
jmp 0x7c5647
setg ch
setne ch
btr edi, esp
neg bh
pop si
mov edx, 0x384200ee
jmp 0x7c5602
mov al, ah
push word [esp + 1]
bsr si, bp
xchg dx, cx
shl bx, cl
inc ecx
jmp 0x7c5619
neg dx
sub esp, 0x18
push word [esp + 3]
mov word [esp + 0x14], dx
push esp
bsf dx, ax
jmp 0x7c567e
neg ax
sub esp, 0x18
cpuid
push edx
mov cl, ch
xchg word [esp + 9], cx
jmp 0x7c55f1
push word [esp + 0xe]
neg bp
call fcn.007c58ed
sub dword [ecx + 0x5bbb4829], edi
or dword [edx + 0x739a6f08], ebx
imul edi, edi, 0xa0f90a6f
push edx
int 0x5c

Function at 0x7c5842
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop ebp
stc
jmp 0x7c58b7
and di, 0x7942
lea esp, [esp + 2]
mov byte [esp + 1], ch
mov edi, eax
jmp 0x7c589a
mov dword [esp], ecx
and edi, ecx
mov ebp, 0x7e219322
cmc
and cl, bh
push dword [esp + 4]
lea eax, [ecx + edx]
lea edi, [ebp - 0x31b356c9]
jmp 0x7c5846

Function at 0x7c5a21
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 6]
xchg dword [esp + 2], ebx
xchg ebp, edx
jmp 0x7c5b11
sub esp, 0x16
cpuid
cmc
cmc
rcl bp, cl
push esp
jmp 0x7c5a63
ror ch, 5
btr eax, esp
mov byte [esp + 9], dh
lea esp, [esp + 8]
mov edi, esi
jmp 0x7c5a7a
pop dx
setle ah
push word [esp + 9]
mov ch, byte [esp + 7]
rdtsc
xchg dword [esp + 3], edi
jmp 0x7c5acf
push word [esp + 0xb]
mov cl, ch
xchg bh, cl
mov ax, 0x1ecf
btr esi, edx
not bx
jmp 0x7c5ae6
Function at 0x7c5d14
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edx
xchg dword [esp + 2], ebx
bswap esi
pop dx
mov ecx, 0x8273fd9c
not dx
jmp 0x7c5c77
bsr di, bp
mov cx, sp
mov eax, ebp
cmc
setae bh
xchg bx, bp
jmp 0x7c5c1b
pushal
stc
xchg dword [esp + 0x25], edi
xchg word [esp + 0x22], cx
mov bp, 0xc7b9
xchg bh, cl
jmp 0x7c5ca7
inc dl
mov bp, sp
neg bp
rdtsc
mov ebp, ecx
inc esi
jmp 0x7c5c8f
pop dword [esp + 0xd]
xchg dword [esp + 1], edi
mov edi, ebp
lea eax, [ecx + edx]
mov di, word [esp + 0xc]
mov ah, byte [esp + 3]
jmp 0x7c5c4c
mov bl, 0x10
xchg si, di
pop ax
setg bh
lea esp, [esp + 0x32]
mov ah, byte [esp + 1]
jmp 0x7c5cef
mov dh, byte [esp + 0x3b]
mov ebp, dword [esp + 0x1d]
xchg byte [esp + 0x14], cl
lea esi, [ebx + ebp]
pop dword [esp + 0x31]
jmp 0x7c5c5f
lea esi, [ebp - 0x50bd0179]
xchg dh, al
bswap ebx
sub esp, 0x1e
cmc
mov cl, 0x62
jmp 0x7c5c3a
mov ah, byte [esp]
mov bp, word [esp]
bsr si, bp
and cl, bh
lea ecx, [ebx + esi]
lea edx, [ebx + edi]
jmp 0x7c5cfe
rdtsc
xchg edx, edi
ror ebp, 0xd
cpuid
rcr edx, 3
pop esi
jmp 0x7c5cd5
mov edi, 0xbc69503e
push word [esp]
lea esp, [esp + 3]
mov si, sp
jmp 0x7c5d1f
add esp, 1
clc
mov dx, word [esp + 1]
jmp 0x7c5cc0
cld
bsf si, ax
not esi
shr dh, 7
xchg byte [esp], bl
setns ch
jmp 0x7c5d4c

Function at 0x7c5d86
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 0xd
lea esi, [ecx + 0x38d7619b]
jmp 0x7c5e1a

Function at 0x7c618e
Capabilities:
Parse pe header

Disassembly:
call fcn.007c50c4
mov dword [esp + 0x88], edi
lea esp, [esp + 0x88]
mov eax, dword fs:[0x30]
jmp 0x7c6205
mov eax, dword [eax + 8]
push eax
jmp 0x7c50bf
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x7c61e4

Function at 0x7c622b
Capabilities:
Parse pe header

Disassembly:
push dword [esp]
mov word [esp + 0x16], di
call fcn.007c618e
pop eax
leave
pop ecx
cmp bl, cl
and al, ch
or esp, dword [edx + 0x448f66dd]
and al, 0x25
pop word [esp + 0x25]
push word [esp + 0x19]
push word [esp + 0x1f]
mov dword [esp + 0x60], esi
pushal
push dword [esp + 0x18]
jmp 0x7c61b3
pop word [esp + 0x17]
pop dword [esp + 0x12]
jmp 0x7c61ca
Function at 0x40ef50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40ef72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40ef79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40ef68
mov eax, 1
add ebx, ebx
jne 0x40ef8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40ef80
jne 0x40ef9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ef80
xor ecx, ecx
sub eax, 3
jb 0x40efb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f022
mov ebp, eax
add ebx, ebx
jne 0x40efbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40efc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40efec
inc ecx
add ebx, ebx
jne 0x40efd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40efcd
jne 0x40efe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40efcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f00c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40effd
jmp 0x40ef6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f00c
add edi, ecx
jmp 0x40ef6e
pop esi
mov edi, esi
mov ecx, 0x15
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f02a
cmp byte [edi], 3
jne 0x40f02a
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 0x40f02f
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40f09e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13eec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13f6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f05c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13f74]
or eax, eax
je 0x40f098
mov dword [ebx], eax
add ebx, 4
jmp 0x40f079
call dword [esi + 0x13f70]
mov ebp, dword [esi + 0x13f78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x40f0d2
sub esp, 0xffffff80
jmp 0x40129f

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x40e290
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b91b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047e0a7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40e312
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047b83d
mov eax, dword [eax]
push 0x5b1210
push eax
call fcn.0046e2b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047e332
test bl, bl
je 0x40e312
push 0x5b1210
lea ecx, [esp + 0xc]
call fcn.0047e70e
push 0x5b4d8c
lea ecx, [esp + 0xc]
call fcn.0047e70e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40e34e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047e332
jmp 0x40e419
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40e3d2
lea edx, [esp + 0x7c]
push 0x5b4d88
push edx
call fcn.0046e2b4
add esp, 8
test eax, eax
je 0x40e3d2
lea eax, [esp + 0x7c]
push 0x5b4d84
push eax
call fcn.0046e2b4
add esp, 8
test eax, eax
je 0x40e3d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40e362
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047e332
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40f670
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40f6d2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40f6e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ba7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5c199c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40f818
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40f746
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e332
xor eax, eax
jmp 0x40f88f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047e4bb
push esi
lea ecx, [esp + 0xc]
call fcn.0047e74a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40f86d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040f670
test eax, eax
jne 0x40f86d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040f670
test eax, eax
jne 0x40f86d
lea eax, [esp + 0x14]
push 0x5b4da0
push eax
call fcn.0046f390
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f84c
lea ecx, [esp + 0x14]
push 0x5b4d9c
push ecx
call fcn.0046f310
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f84c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40f84f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047e46b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40f75e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e332
xor eax, eax
jmp 0x40f88f
mov byte [esi], 0
push 0x5b4d98
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0047e332
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4