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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
lea ecx, [edx + 0x3f8]
lea esi, [eax + 0x3f8]
cmp eax, ecx
ja 0x42526d
cmp esi, edx
jb 0x42526d
sub edx, eax
mov esi, 0x80
mov ecx, dword [eax + edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + edx - 4]
xor dword [eax - 4], ecx
sub esi, 1
jne 0x425255
pop esi
pop ebp
ret
lea esi, [edx + 0x30]
sub edx, eax
lea ecx, [eax + 0x10]
mov eax, 0x10
nop word [eax + eax]
lea ecx, [ecx + 0x40]
lea esi, [esi + 0x40]
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [esi - 0x70]
pxor xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edx + ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [esi - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm0, xmmword [ecx - 0x20]
movups xmm1, xmmword [esi - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
sub eax, 1
jne 0x425280
pop esi
pop ebp
ret
Function at 0x427eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4fa054]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
xor eax, eax
mov cl, dl
mov dword [ebp - 0xc], edx
mov byte [ebp - 0x10], cl
mov cl, byte [ebp - 9]
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 0xa]
push ebx
mov byte [ebp - 0xe], cl
mov bl, dl
mov cl, byte [ebp - 0xb]
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 8], dx
mov ch, byte [ebp - 7]
mov byte [ebp - 0xd], cl
nop dword [eax]
mov cl, byte [esi + eax]
mov bh, byte [eax + 0x4d7e40]
xor bh, cl
or bh, bl
mov bl, byte [eax + 0x4d7e60]
xor bl, cl
mov byte [ebp - 0x11], bh
or bl, byte [ebp - 0xd]
mov byte [ebp - 0x17], bl
mov byte [ebp - 0xd], bl
mov bl, byte [eax + 0x4d7e80]
xor bl, cl
or bl, byte [ebp - 0xe]
mov byte [ebp - 0x16], bl
mov byte [ebp - 0xe], bl
mov bl, byte [eax + 0x4d7ea0]
xor bl, cl
or bl, byte [ebp - 0xf]
mov byte [ebp - 0x15], bl
mov byte [ebp - 0xf], bl
mov bl, byte [eax + 0x4d7ec0]
xor bl, cl
or bl, byte [ebp - 0x10]
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x10], bl
mov bl, byte [eax + 0x4d7ee0]
xor bl, cl
or bl, ch
mov byte [ebp - 0x13], bl
mov ch, bl
mov bl, byte [eax + 0x4d7f00]
inc eax
xor bl, cl
or bl, dl
mov byte [ebp - 0x12], bl
mov dl, bl
mov bl, bh
cmp eax, 0x1f
jb 0x427ef0
mov bl, byte [eax + esi]
movzx esi, byte [eax + 0x4d7f00]
and bl, 0x7f
movzx ecx, bl
xor esi, ecx
movzx ecx, dl
movzx edx, byte [eax + 0x4d7ee0]
or esi, ecx
movzx ecx, bl
dec esi
xor edx, ecx
movzx ecx, byte [ebp - 0x13]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x4d7ec0]
xor edx, ecx
movzx ecx, byte [ebp - 0x14]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x4d7ea0]
xor edx, ecx
movzx ecx, byte [ebp - 0x15]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x4d7e80]
xor edx, ecx
movzx ecx, byte [ebp - 0x16]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x4d7e60]
movzx eax, byte [eax + 0x4d7e40]
xor edx, ecx
movzx ecx, byte [ebp - 0x17]
or edx, ecx
movzx ecx, bl
xor eax, ecx
dec edx
movzx ecx, bh
or esi, edx
or eax, ecx
mov ecx, dword [ebp - 4]
dec eax
xor ecx, ebp
or eax, esi
shr eax, 8
pop esi
and eax, 1
pop ebx
call fcn.0041e47d
mov esp, ebp
pop ebp
ret

Function at 0x428810
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x2c], eax
pop ebp
ret
Function at 0x42b0e0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x3c], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x38], eax
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
pop ebp
ret

Function at 0x437090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
imul eax, dword [ebp + 0xc], 0x3c0
add eax, 0x4d8180
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00436f00
Function at 0x445cd4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x4d6278]
test eax, eax
je 0x445d13
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x445d13
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x445d13
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x445d13
cmp dword [ecx + 0x74], 0xe
jbe 0x445d13
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x45b8bb
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov esi, ebx
test eax, eax
je 0x45ba37
push edi
push 3
pop edi
jmp 0x45b8ec
mov edx, dword [ebp - 0x14]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 8], al
inc esi
mov ch, byte [ebp - 6]
mov cl, byte [ebp - 8]
mov dword [ebp - 0x14], edx
mov dl, byte [ebp - 7]
mov byte [ebp - 3], ch
mov byte [ebp - 1], dl
mov byte [ebp - 2], cl
cmp esi, edi
jne 0x45b97e
mov edi, dword [ebp - 0x10]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0xc], al
mov esi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0xb], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
and ch, 0x3f
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], ch
cmp dword [0x4fb220], 0x10
mov ecx, 0x4fb20c
movzx eax, byte [ebp + esi - 0xc]
cmovae ecx, dword [0x4fb20c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.004077f4
inc esi
cmp esi, 4
jl 0x45b946
mov dl, byte [ebp - 1]
mov esi, ebx
mov cl, byte [ebp - 2]
mov ch, byte [ebp - 3]
push 3
pop edi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x45b8e9
mov dword [ebp + 8], esi
test esi, esi
je 0x45ba36
cmp esi, edi
jge 0x45b9b5
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp - 8]
add eax, esi
push ebx
push eax
call fcn.00438880
mov ch, byte [ebp - 6]
add esp, 0xc
mov dl, byte [ebp - 7]
mov cl, byte [ebp - 8]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0xc], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0xb], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 9], ch
lea eax, [esi + 1]
mov byte [ebp - 0xa], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x45ba21
mov edi, dword [ebp - 0x10]
mov esi, eax
cmp dword [0x4fb220], 0x10
mov ecx, 0x4fb20c
movzx eax, byte [ebp + ebx - 0xc]
cmovae ecx, dword [0x4fb20c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.004077f4
inc ebx
cmp ebx, esi
jl 0x45b9f2
mov esi, dword [ebp + 8]
push 3
pop edi
cmp esi, edi
jge 0x45ba36
sub edi, esi
mov ecx, dword [ebp - 0x10]
push 0x3d
call fcn.004077f4
sub edi, 1
jne 0x45ba27
pop edi
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
leave
ret
Function at 0x494492
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
push ebx
mov al, byte [eax + 2]
test al, al
setne bl
call dword [0x4d60e4]
xor edx, edx
movzx ecx, bl
inc edx
test eax, eax
cmovne ecx, edx
pushfd
pop eax
mov dword [ebp - 4], eax
test dword [ebp - 4], 0x100
movzx eax, cl
cmovne eax, edx
pop ebx
leave
ret
Function at 0x49bff1
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
mov esi, ecx
xor eax, eax
push edi
push eax
push 0x4ea53b
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
call fcn.00407850
cmp dword [ebx + 0x1c], 0x10
mov ecx, 0xa5620fee
mov eax, 0xffb2cff4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov edx, 0x3485ac91
mov dword [ebp - 0x24], eax
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0xee5bd2b3
mov dword [ebp - 0x1c], edx
movaps xmm1, xmmword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], 0xee5bb0c1
pxor xmm1, xmmword [ebp - 0x30]
push ecx
push eax
movaps xmmword [ebp - 0x20], xmm1
call fcn.0043c06a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c0ce
push 2
push 0
push edi
call fcn.0043ffc6
add esp, 0xc
push edi
call fcn.0043bafb
pop ecx
push 0
push 0
push edi
mov dword [ebp - 4], eax
call fcn.0043ffc6
add esp, 0xc
mov ecx, esi
push 0
push dword [ebp - 4]
call fcn.0040c8ab
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x49c0b9
mov eax, dword [esi]
push edi
push dword [ebp - 4]
push 1
push eax
call fcn.0044489d
push edi
call fcn.0043fa78
add esp, 0x14
lea ecx, [ebx + 8]
call fcn.004077ce
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x49f3d6
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov byte [ecx + 0x9c], al
ret
Function at 0x4a617b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x100ac], ebx
je 0x4a61db
cmp dword [edi + 0x7c], ebx
jbe 0x4a61db
mov eax, 0xffffff5c
lea ecx, [edi + 0x100d0]
sub eax, edi
lea esi, [edi + 0xa4]
mov dword [ebp - 4], eax
call fcn.004a76e9
movzx ecx, byte [esi]
mov ebx, eax
mov edx, dword [edi + 0x100dc]
push ecx
lea ecx, [edi + 0x100d0]
call fcn.004a76a3
xor byte [esi], bl
inc esi
mov eax, dword [ebp - 4]
add eax, esi
pop ecx
lea ecx, [edi + 0x100d0]
cmp eax, dword [edi + 0x7c]
jb 0x4a61a9
xor ebx, ebx
mov esi, dword [edi + 0x7c]
lea eax, [edi + 0xa4]
push esi
push eax
push dword [edi + 0x2c]
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x10
mov dword [edi + 0x7c], ebx
or ecx, 0xffffffff
mov edx, ebx
cmp eax, esi
cmovne edx, ecx
add dword [edi + 0x100c0], esi
mov ecx, dword [edi + 0x48]
mov eax, edx
adc dword [edi + 0x100c4], ebx
add dword [edi + 0x100c8], ecx
mov dword [edi + 0x48], ebx
adc dword [edi + 0x100cc], ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4a76a3
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, dword [edi]
mov eax, ecx
xor eax, dword [ebp + 8]
mov edx, dword [edi + 8]
movzx eax, al
shr ecx, 8
xor ecx, dword [esi + eax*4]
movzx eax, cl
add eax, dword [edi + 4]
mov dword [edi], ecx
imul ecx, eax, 0x8088405
mov eax, dword [ebp + 8]
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [esi + ecx*4]
mov dword [edi + 8], edx
pop edi
pop esi
pop ebp
ret
Function at 0x4bf9f8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, edx
mov eax, ecx
mov dword [esp + 4], eax
push esi
push edi
test ebx, ebx
je 0x4bfafa
push 0x44
pop edx
call fcn.004d4b0f
mov edi, eax
test edi, edi
je 0x4bfafa
mov esi, dword [ebp + 8]
mov edx, dword [ebx]
mov ecx, dword [esp + 0xc]
push esi
call fcn.004bfcd0
pop ecx
mov ecx, dword [esp + 0xc]
mov dword [edi], eax
mov edx, dword [ebx + 8]
push esi
call fcn.004bfb8e
pop ecx
mov ecx, dword [esp + 0xc]
mov dword [edi + 8], eax
mov edx, dword [ebx + 0xc]
push 0
push esi
call fcn.004bfde5
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xc], eax
mov edx, dword [ebx + 0x10]
push esi
call fcn.004bfcd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [edi + 0x10], eax
mov edx, dword [ebx + 0x14]
push 0
push esi
call fcn.004bfde5
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x14], eax
mov edx, dword [ebx + 0x18]
push esi
call fcn.004bfcd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [edi + 0x18], eax
mov al, byte [ebx + 4]
mov byte [edi + 4], al
mov edx, dword [ebx + 0x1c]
push esi
call fcn.004bf9f8
pop ecx
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x1c], eax
mov edx, dword [ebx + 0x28]
push 0
push esi
call fcn.004bfde5
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x28], eax
mov edx, dword [ebx + 0x2c]
push 0
push esi
call fcn.004bfde5
mov dword [edi + 0x2c], eax
xor edx, edx
mov dword [edi + 0x30], edx
mov ecx, 0xfff7
mov dword [edi + 0x34], edx
add esp, 0x10
mov ax, word [ebx + 6]
or dword [edi + 0x38], 0xffffffff
and ax, cx
or dword [edi + 0x3c], 0xffffffff
or dword [edi + 0x40], 0xffffffff
mov word [edi + 6], ax
mov eax, edi
mov dword [edi + 0x24], edx
jmp 0x4bfafc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401010
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call 0x401080
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.004010d0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]

Function at 0x4010d0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
call fcn.004010c0
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x40115f
cmp al, 9
je 0x401150
cmp al, 0x20
je 0x401150
xor esi, esi
mov dword [ebp - 0x6c], 0
lea esi, [esi]
cmp al, 0x5c
je 0x4011b8
cmp al, 0x22
je 0x4011c8
mov dword [ebp - 0x6c], 0
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x40115f
cmp al, 9
sete dl
cmp al, 0x20
sete cl
or dl, cl
je 0x401110
test esi, 1
jne 0x401110
lea esi, [esi]
nop
movzx eax, byte [ebx + 1]
add ebx, 1
cmp al, 9
je 0x401150
cmp al, 0x20
je 0x401150
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x30], 1
jne 0x40117a
mov word [ebp - 0x2c], 1
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401000
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
add dword [ebp - 0x6c], 1
jmp 0x401127
and dword [ebp - 0x6c], 1
jne 0x401120
xor esi, 1
jmp 0x401127
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x798219a6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x47f46d76
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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 0x40ffa3
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x51b616
jmp dword [0x40ffc2]
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x51b612
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret

Function at 0x41cf2e
Capabilities:
Encode data using xor

Disassembly:
push 0
push 0x18
push edi
push 0
push esi
call dword [0x689a88]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004453cd
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x689a8c], cl
jne 0x412977
or dword [0x689a8c], ecx
xor eax, eax
jmp 0x53e486
lea edx, [eax + 1]
imul edx, edx, 0xe1e
xor dx, word [eax*2 + 0x57c598]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x53e486
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5f04
xor dx, word [eax*2 + 0x57c5b4]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x53e4ac
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
jmp dword [0x53e4e3]

Function at 0x45202e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
test edi, edi
jle 0x452060
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov edx, eax
sub esi, eax
lea ebx, [ecx + 1]
imul ebx, dword [ebp + 8]
xor bx, word [esi + edx]
inc ecx
mov word [edx], bx
add edx, 2
cmp ecx, edi
jl 0x452044
pop esi
pop ebx
pop ebp
ret 8

Function at 0x458f41
Capabilities:
Create tcp socket
Create udp socket
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
jmp 0x492e26
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x68553c], eax
cmp eax, 0xffffffff
jne 0x52e676
xor eax, eax
nop
lea ecx, [eax + 1]
imul ecx, ecx, 0x3295
xor cx, word [eax*2 + 0x57caa8]
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 9
jl 0x492e45
jmp dword [0x492e72]
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x973
xor cx, word [eax*2 + 0x57cabc]
jmp dword [0x52e696]
Function at 0x478e48
Capabilities:
Terminate process

Disassembly:
push 0x40100a
call fcn.00401000
call fcn.0042a7e6
jmp 0x4ba506
jne 0x485826
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x640068]
call fcn.0055579c
ret
mov eax, dword [0x8536d8]
test eax, eax
jne 0x497ba9
mov dword [0x8536d8], esi
push 0x57c174
push 0x57c168
call fcn.004453e1
pop ecx
pop ecx
test eax, eax
je 0x497baf
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x485832
mov dword [0x64006c], esi
mov eax, dword [0x8536d8]
cmp eax, esi
jne 0x4ec4fd
jmp 0x4ec4e2
jmp 0x4fc006
push 0x57c164
push 0x57c15c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x8536d8], 2
cmp dword [ebp - 0x1c], ebx
jne 0x4ec50e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x8536e0], ebx
je 0x4ec537
push 0x8536e0
call fcn.004fd5da
pop ecx
test eax, eax
je 0x4ec537
push ebx
push 2
push ebx
call dword [0x8536e0]
push dword [0x640054]
push dword [0x640058]
jmp 0x52e16a
push 0x10
push 0x57cc68
call fcn.005577d0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x8536dc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x5109ff
cmp eax, esi
jmp 0x5109de
jne 0x5109ef
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x510a02
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4fc028
xor esi, esi
inc esi
mov eax, dword [0x8536d8]
cmp eax, esi
jne 0x497b6c
push 0x1f
call sub.msvcrt.dll__amsg_exit
jmp dword [0x510a1d]
push dword [0x640050]
call 0x46beae
add esp, 0xc
mov dword [0x640068], eax
cmp dword [0x64005c], ebx
jne 0x52e1c4
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x64006c], ebx
jmp 0x48581a