joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dbb10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov edi, dword [edi + 8]
test edx, edx
je 0x4dbc11
nop dword [eax]
mov ecx, dword [ecx + edi*4 + 0x1ec]
dec edx
je 0x4dbb5b
movzx edi, word [ecx + 0x1ea]
mov ecx, dword [ecx + edi*4 + 0x1ec]
dec edx
jne 0x4dbb4a
movzx edx, word [ecx + 0x1ea]
mov dword [esp + 0x44], ecx
mov ecx, esp
mov dword [esp + 0x48], 0
dec edx
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x44]
push eax
call fcn.004db320
add esp, 4
movsd xmm2, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x10]
mov eax, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
movsd qword [esp + 0x68], xmm2
movsd qword [esp + 0x60], xmm1
movsd xmm2, qword [esp]
movsd xmm1, qword [esp + 8]
mov dword [esp + 0x78], eax
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
movzx eax, word [ebx + 0x1ea]
cmp ecx, eax
jae 0x4dbbf0
mov eax, ebx
mov edx, edi
jmp 0x4dbc3b
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x4dbc35
movzx ecx, word [ebx + 0x1e8]
inc edi
mov ebx, eax
mov edx, edi
cmp cx, word [eax + 0x1ea]
jae 0x4dbbf0
jmp 0x4dbc3b
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], edi
lea edx, [esp + 0x38]
mov ecx, esi
push eax
call fcn.004db320
add esp, 4
jmp 0x4dbd55
xor eax, eax
mov edx, ebx
mov ecx, edi
lea edi, [ecx + ecx*8]
lea ebx, [edi + edi*2]
mov edi, ecx
add ebx, ecx
shl edi, 4
test edx, edx
mov ebp, dword [eax + ebx + 0xcc]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x68]
movsd xmm0, qword [eax + ebx + 0xc4]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [eax + ebx + 0xb4]
movsd xmm1, qword [eax + ebx + 0xbc]
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
mov dword [eax + ebx + 0xcc], ebp
movsd xmm0, qword [esp + 0x60]
movsd qword [eax + ebx + 0xc4], xmm0
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x58]
movsd qword [eax + ebx + 0xbc], xmm1
movsd qword [eax + ebx + 0xb4], xmm0
movsd xmm0, qword [eax + edi]
movsd xmm1, qword [eax + edi + 8]
movsd xmm2, qword [esp + 0x74]
movsd qword [esp + 0x1c], xmm0
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp + 0x24], xmm1
movsd qword [eax + edi + 8], xmm2
movsd qword [eax + edi], xmm0
je 0x4dbd0b
mov eax, dword [eax + ecx*4 + 0x1f0]
xor ecx, ecx
dec edx
je 0x4dbd0c
nop word cs:[eax + eax]
nop
mov eax, dword [eax + 0x1ec]
dec edx
jne 0x4dbd00
jmp 0x4dbd0c
inc ecx
movsd xmm2, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x10]
mov edx, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x20]
movsd qword [esi + 0x18], xmm2
movsd qword [esi + 0x10], xmm1
movsd xmm2, qword [esp]
movsd xmm1, qword [esp + 8]
mov dword [esi + 0x28], edx
movsd qword [esi + 0x20], xmm0
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm2
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], ecx
mov eax, esi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4e7cd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e7d28
mov esi, dword [esp + 0x18]
lea edi, [edx + eax*2]
xor ebx, ebx
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea ebp, [ebx + eax]
jne 0x4e7d20
cmp ebx, ebp
ja 0x4e7d95
cmp ebp, dword [esp + 0x1c]
ja 0x4e7da1
add ebx, esi
nop word [eax + eax]
test eax, eax
je 0x4e7d22
dec eax
cmp byte [ebx], cl
lea ebx, [ebx + 1]
jne 0x4e7d10
jmp 0x4e7d7e
ja 0x4e7d28
cmp edx, edi
mov ebx, ebp
jne 0x4e7ce5
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e7d82
mov esi, dword [esp + 0x20]
cmp eax, 1
movzx ecx, cx
mov ebx, esi
lea edi, [esi + eax]
mov al, 1
sbb ebx, 0xffffffff
nop word cs:[eax + eax]
nop
movzx edx, byte [esi]
test dl, dl
jns 0x4e7d67
cmp ebx, edi
je 0x4e7d8b
movzx esi, byte [ebx]
and edx, 0x7f
inc ebx
shl edx, 8
or edx, esi
mov esi, ebx
sub ecx, edx
js 0x4e7d84
xor al, 1
xor ebx, ebx
cmp esi, edi
setne bl
add ebx, esi
cmp esi, edi
jne 0x4e7d50
jmp 0x4e7d84
xor eax, eax
jmp 0x4e7d84
mov al, 1
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x56a548
call fcn.00500310
push 0x56a558
push ebp
push ebx
call fcn.00500450
push 0x56a558
push dword [esp + 0x20]
push ebp
call fcn.00500430
Function at 0x4eb060
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
xor ecx, ecx
push ebx
xor bl, bl
push ebp
mov ebp, dword [esp + 0x10]
test edx, edx
je 0x4eb117
mov eax, dword [esp + 0xc]
push esi
mov esi, ebp
sub esi, eax
cmp edx, 0x20
jb 0x4eb0f6
push edi
mov edi, edx
xorps xmm3, xmm3
and edi, 0xffffffe0
xorps xmm2, xmm2
add eax, 0x10
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ecx + ebp]
add ecx, 0x20
xorps xmm1, xmm0
orps xmm3, xmm1
movups xmm1, xmmword [esi + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
xorps xmm1, xmm0
orps xmm2, xmm1
cmp ecx, edi
jb 0x4eb093
orps xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
orps xmm2, xmm0
movd ebx, xmm2
pop edi
cmp ecx, edx
jae 0x4eb110
mov eax, dword [esp + 0x10]
add eax, ecx
sub edx, ecx
nop word [eax + eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or bl, cl
sub edx, 1
jne 0x4eb100
pop esi
pop ebp
movzx eax, bl
pop ebx
ret
pop ebp
movzx eax, bl
pop ebx
ret

Function at 0x4eb410
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
or eax, 0xffffffff
test edi, edi
je 0x4eb451
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
sub ebx, esi
nop dword [eax + eax]
mov edx, dword [ebx + esi]
lea esi, [esi + 4]
xor edx, dword [esi - 4]
lea ecx, [edx - 1]
not edx
shr ecx, 0x1f
shr edx, 0x1f
and ecx, edx
neg ecx
and eax, ecx
sub edi, 1
jne 0x4eb430
pop esi
pop ebx
pop edi
ret
Function at 0x4ee990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0xc], 0x52a848
jmp fcn.004f5740

Function at 0x4eeab0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov ecx, dword [esp + 4]
mov al, byte [ecx + 0x1f]
and byte [ecx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ecx + 0x1f], al
ret
Function at 0x4f6950
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x578140]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push edi
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xc], xmm0
movups xmm0, xmmword [eax + 0x10]
lea eax, [esp + 0xc]
push eax
movups xmmword [esp + 0x20], xmm0
call fcn.004f7560
xor edi, edi
add esp, 4
mov dword [esp + 4], edi
cmp dword [esp + 0x38], edi
jbe 0x4f6b6f
push ebx
lea eax, [ecx + 8]
push ebp
push esi
mov dword [esp + 0x14], eax
lea esi, [esp + 0x18]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
nop dword [eax + eax]
mov eax, dword [eax + edi*4]
mov ecx, dword [ecx + edi*4]
movzx eax, al
mov ebx, dword [esp + edi*4 + 0x20]
movzx edx, cl
shl edx, 8
or edx, eax
movzx eax, bl
shl edx, 8
or edx, eax
mov eax, dword [esi + edi*4]
movzx eax, al
shl edx, 8
or edx, eax
mov ecx, edx
shr ecx, 0xc
xor ecx, edx
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
xor edx, eax
mov eax, edx
shr eax, 6
xor eax, edx
and eax, 0xcc00cc
mov ebp, eax
shl ebp, 6
xor ebp, eax
lea eax, [esp + 0x30]
mov eax, dword [eax + edi*4]
xor ebp, edx
shr eax, 8
movzx edx, al
lea eax, [esp + 0x28]
mov esi, dword [eax + edi*4]
mov eax, esi
shr eax, 8
movzx eax, al
shl edx, 8
or edx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl edx, 8
or edx, eax
lea eax, [esp + 0x18]
mov eax, dword [eax + edi*4]
shr eax, 8
movzx eax, al
shl edx, 8
or edx, eax
mov ecx, edx
shr ecx, 0xc
xor ecx, edx
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
mov ecx, dword [esp + 0x10]
xor edx, eax
mov eax, edx
shr eax, 6
xor eax, edx
and eax, 0xcc00cc
mov edi, eax
shl edi, 6
xor edi, eax
lea eax, [esp + 0x30]
mov eax, dword [eax + ecx*4]
xor edi, edx
shr eax, 0x10
movzx edx, al
mov eax, esi
shr eax, 0x10
shl edx, 8
movzx eax, al
or edx, eax
mov eax, ebx
shl edx, 8
shr eax, 0x10
movzx eax, al
and ebx, 0xff00ffff
or edx, eax
lea eax, [esp + 0x18]
mov eax, dword [eax + ecx*4]
shr eax, 0x10
movzx eax, al
shl edx, 8
or edx, eax
mov ecx, edx
shr ecx, 0xc
xor ecx, edx
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
mov ecx, dword [esp + 0x10]
xor edx, eax
mov eax, edx
shr eax, 6
xor eax, edx
and eax, 0xcc00cc
mov esi, eax
shl esi, 6
xor esi, eax
lea eax, [esp + 0x18]
xor esi, edx
mov edx, dword [eax + ecx*4]
shr edx, 8
or edx, ebx
lea ebx, [esp + 0x28]
mov eax, dword [ebx + ecx*4]
lea ebx, [esp + 0x30]
and eax, 0xff0000ff
shr edx, 8
or edx, eax
mov eax, dword [ebx + ecx*4]
and eax, 0xff000000
shr edx, 8
or edx, eax
mov ecx, edx
shr ecx, 0xc
xor ecx, edx
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
xor edx, eax
mov eax, edx
shr eax, 6
xor eax, edx
and eax, 0xcc00cc
mov ecx, eax
shl ecx, 6
xor ecx, eax
mov eax, dword [esp + 0x14]
xor ecx, edx
mov dword [eax - 8], ebp
mov dword [eax - 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax], esi
inc edi
mov dword [eax + 4], ecx
lea esi, [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x10], edi
mov ecx, ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
cmp edi, dword [esp + 0x44]
jb 0x4f69b0
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
pop edi
xor ecx, esp
call fcn.004fcfc5
add esp, 0x2c
ret
Function at 0x4f6de0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [0x578140]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
lea eax, [esp + 0x3c]
push edi
mov edi, dword [esp + 0x58]
push esi
push eax
mov dword [edi + 0xf0], 0xe
call fcn.004f64e0
movups xmm0, xmmword [esp + 0x48]
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
movups xmmword [edi], xmm0
call fcn.004f64e0
movups xmm2, xmmword [esp + 0x40]
add esp, 0x10
lea ebp, [edi + 0x20]
mov ebx, 2
movups xmmword [edi + 0x10], xmm2
nop dword [eax]
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movups xmmword [esp + 0x10], xmm0
push eax
movups xmmword [esp + 0x24], xmm0
movaps xmm0, xmm2
movd dword [esp + 0x14], xmm2
psrldq xmm0, 4
movd dword [esp + 0x1c], xmm0
movaps xmm0, xmm2
psrldq xmm0, 8
movd dword [esp + 0x24], xmm0
movaps xmm0, xmm2
psrldq xmm0, 0xc
movd dword [esp + 0x2c], xmm0
call fcn.004f7560
lea eax, [esp + 0x14]
push eax
call fcn.004f6ff0
lea eax, [esp + 0x18]
push eax
call fcn.004f7560
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov eax, ebx
shr eax, 1
mov cl, byte [eax + 0x52afe7]
xor eax, eax
movzx edi, cl
nop dword [eax]
mov ecx, dword [esp + eax*4 + 0x30]
mov edx, edi
mov esi, ecx
shr ecx, 8
and esi, 0x3000000
or esi, ecx
mov cl, al
add cl, cl
shr esi, 0x12
shr edx, cl
and edx, 3
xor esi, edx
xor esi, dword [esp + eax*4 + 0x40]
mov ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
mov dword [esp + eax*4 + 0x40], ecx
inc eax
cmp eax, 4
jb 0x4f6ed0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [ebp], xmm0
cmp ebx, 0xe
je 0x4f6fce
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
call fcn.004f7560
lea eax, [esp + 0x14]
push eax
call fcn.004f6ff0
lea eax, [esp + 0x18]
push eax
call fcn.004f7560
mov eax, dword [esp + 0x1c]
add ebx, 2
mov dword [esp + 0x3c], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
movups xmm1, xmmword [esp + 0x30]
psrld xmm1, 0x18
xorps xmm1, xmm2
movaps xmm2, xmm1
movaps xmm0, xmm1
pslld xmm2, 8
pslld xmm0, 0x10
xorps xmm2, xmm1
pslld xmm1, 0x18
xorps xmm2, xmm0
xorps xmm2, xmm1
movups xmmword [ebp + 0x10], xmm2
add ebp, 0x20
cmp ebx, 0xe
jbe 0x4f6e40
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004fcfc5
add esp, 0x44
ret
Function at 0x4f75e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x254
mov eax, dword [0x578140]
xor eax, esp
mov dword [esp + 0x250], eax
cmp dword [esp + 0x260], 0
mov eax, dword [esp + 0x25c]
mov ecx, dword [esp + 0x268]
push esi
mov esi, dword [esp + 0x25c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x268]
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
je 0x4f7745
push ebp
push edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004f6860
movups xmm0, xmmword [ecx]
lea edx, [esp + 0x224]
add esp, 8
lea edi, [esp + 0x23c]
movups xmmword [edx], xmm0
mov eax, dword [edx]
sub edi, esi
mov dword [edx + 0x10], eax
mov eax, dword [edx + 4]
mov dword [edx + 0x14], eax
mov eax, dword [edx + 8]
mov dword [edx + 0x18], eax
mov eax, dword [edx + 0xc]
mov dword [edx + 0x1c], eax
mov ebp, dword [esp + 0x228]
bswap ebp
push ebx
xor ecx, ecx
lea edx, [esp + 0x22c]
nop dword [eax + eax]
lea eax, [ecx + ebp]
inc ecx
lea edx, [edx + 0x10]
bswap eax
mov dword [edx - 0x10], eax
cmp ecx, 2
jb 0x4f7680
mov ebx, dword [esp + 0x270]
mov eax, 2
cmp ebx, 2
cmovae ebx, eax
lea eax, [esp + 0x220]
push ebx
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], ebx
push eax
call fcn.004f72e0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push dword [eax + 0xf0]
lea eax, [esp + 0x54]
push eax
call fcn.004f6680
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x25c]
push ebx
push eax
call fcn.004f6950
add esp, 0x24
test ebx, ebx
je 0x4f7722
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub esi, eax
nop word [eax + eax]
mov edx, 4
mov ecx, dword [eax]
xor ecx, dword [edi + eax]
mov dword [esi + eax], ecx
add eax, 4
sub edx, 1
jne 0x4f7705
sub ebx, 1
jne 0x4f7700
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
sub dword [esp + 0x270], ebx
je 0x4f7742
add dword [esp + 0x14], 0x20
add esi, 0x20
sub edi, 0x20
mov dword [esp + 0x10], esi
add ebp, 2
jmp 0x4f7672
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x254]
pop esi
xor ecx, esp
call fcn.004fcfc5
add esp, 0x254
ret
Function at 0x4f77e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [0x578140]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x54]
cmp eax, 0x80
je 0x4f783a
cmp eax, 0x100
je 0x4f781e
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004fcfc5
add esp, 0x44
ret
push ecx
push ebx
call fcn.004f6de0
add esp, 8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004fcfc5
add esp, 0x44
ret
push ebp
push esi
push edi
push ecx
lea eax, [esp + 0x34]
mov dword [ebx + 0xf0], 0xa
push eax
call fcn.004f64e0
movups xmm0, xmmword [esp + 0x38]
add esp, 8
mov edi, 1
movups xmmword [ebx], xmm0
add ebx, 0x10
nop word [eax + eax]
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
call fcn.004f7560
lea eax, [esp + 0x14]
push eax
call fcn.004f6ff0
lea eax, [esp + 0x18]
push eax
call fcn.004f7560
mov eax, dword [esp + 0x1c]
add esp, 0xc
movzx ebp, byte [edi + 0x52afe7]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
xor eax, eax
mov edx, dword [esp + eax*4 + 0x40]
mov cl, al
add cl, cl
mov esi, ebp
shr esi, cl
mov ecx, edx
and ecx, 0x3000000
shr edx, 8
or ecx, edx
and esi, 3
shr ecx, 0x12
xor esi, ecx
xor esi, dword [esp + eax*4 + 0x30]
mov ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
mov dword [esp + eax*4 + 0x30], ecx
inc eax
cmp eax, 4
jb 0x4f78e7
movups xmm0, xmmword [esp + 0x30]
inc edi
movups xmmword [ebx], xmm0
add ebx, 0x10
cmp edi, 0xa
jbe 0x4f7870
mov ecx, dword [esp + 0x50]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004fcfc5
add esp, 0x44
ret
Function at 0x4f9960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0x14]
push edi
push 0x60
push 0
push ebp
call sub.VCRUNTIME140.dll_memset
xor edi, edi
add esp, 0xc
cmp dword [esp + 0x10], edi
jbe 0x4f99bf
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
dec ecx
push esi
mov dword [esp + 0x20], ecx
nop word [eax + eax]
push ebp
mov esi, ecx
push ebx
xor esi, edi
push esi
push ebp
call fcn.004f7bd0
lea ecx, [ebp + 0x20]
push ecx
lea eax, [ebx + 0x20]
push eax
push esi
push ecx
call fcn.004f7bd0
mov ecx, dword [esp + 0x40]
inc edi
add esp, 0x20
add ebx, 0x40
cmp edi, dword [esp + 0x18]
jb 0x4f9990
pop esi
pop ebx
lea eax, [ebp + 0x40]
push 0x52b068
push eax
push dword [esp + 0x14]
push eax
call fcn.004f7bd0
add esp, 0x10
pop edi
pop ebp
ret
Function at 0x4fbb00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebp
push ebx
xorps xmm0, xmm0
mov dword [esp + 8], 0
movlpd qword [esp + 0x14], xmm0
mov eax, 1
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x40
push edi
mov edi, eax
xor ebx, ebx
and edi, 1
neg edi
adc ebx, ebx
and edi, dword [esp + 0x28]
neg ebx
mov ecx, edi
and edi, dword [esp + 0x14]
xor ecx, eax
mov esi, ebx
and esi, dword [esp + 0x2c]
mov eax, esi
and esi, dword [esp + 0x10]
xor eax, dword [esp + 0x10]
shrd ecx, eax, 1
shr eax, 1
add ecx, edi
mov dword [esp + 0x14], ecx
adc eax, esi
and ebx, 0x80000000
shrd ebp, edx, 1
mov dword [esp + 0x10], eax
xor eax, eax
shr edx, 1
add ebp, eax
mov eax, ecx
adc edx, ebx
sub dword [esp + 0x18], 1
jne 0x4fbb31
pop edi
pop esi
pop ebx
mov eax, ebp
pop ebp
add esp, 0x14
ret

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

Disassembly:
sub esp, 0x9c
mov eax, dword [0x578140]
xor eax, esp
mov dword [esp + 0x98], eax
mov edx, dword [esp + 0xa4]
xorps xmm0, xmm0
push ebp
mov ebp, dword [esp + 0xa4]
xor ecx, ecx
push ebx
add edx, 0x60
push esi
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x24], xmm0
push edi
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
movups xmmword [esp + 0x58], xmm0
movups xmmword [esp + 0x68], xmm0
movups xmmword [esp + 0x78], xmm0
movups xmmword [esp + 0x88], xmm0
movups xmmword [esp + 0x98], xmm0
inc ecx
mov edi, edx
mov dword [esp + 0x14], ecx
xor ecx, dword [esp + 0xb8]
lea eax, [ecx - 1]
not ecx
shr eax, 0x1f
shr ecx, 0x1f
and eax, ecx
neg eax
xor esi, esi
mov ebx, eax
not ebx
mov edx, dword [edi - 0x60]
lea edi, [edi + 4]
and edx, eax
mov ecx, ebx
and ecx, dword [esp + esi + 0x18]
or edx, ecx
mov ecx, dword [esp + esi + 0x48]
mov dword [esp + esi + 0x18], edx
and ecx, ebx
mov edx, dword [edi - 0x34]
and edx, eax
or edx, ecx
mov ecx, dword [edi - 4]
mov dword [esp + esi + 0x48], edx
and ecx, eax
mov edx, ebx
and edx, dword [esp + esi + 0x78]
or edx, ecx
mov dword [esp + esi + 0x78], edx
add esi, 4
cmp esi, 0x30
jb 0x4fc878
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add edx, 0x90
mov dword [esp + 0x10], edx
cmp ecx, 0x10
jb 0x4fc855
pop edi
lea ecx, [esp + 0x40]
lea eax, [ebp + 0x2c]
pop esi
pop ebx
cmp ebp, ecx
ja 0x4fc8df
lea ecx, [esp + 0xc]
movups xmm0, xmmword [esp + 0xc]
mov ecx, dword [esp + 0x9c]
movups xmmword [ebp], xmm0
movups xmm0, xmmword [esp + 0x1c]
movups xmmword [ebp + 0x10], xmm0
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [ebp + 0x20], xmm0
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [ebp + 0x30], xmm0
movups xmm0, xmmword [esp + 0x4c]
movups xmmword [ebp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [ebp + 0x50], xmm0
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [ebp + 0x60], xmm0
movups xmm0, xmmword [esp + 0x7c]
movups xmmword [ebp + 0x70], xmm0
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [ebp + 0x80], xmm0
pop ebp
xor ecx, esp
call fcn.004fcfc5
add esp, 0x9c
ret
Function at 0x4fd498
Capabilities:
Parse pe header

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

Function at 0x4ff550
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [esp + 0x30]
cmp dword [esi + 4], 0
je 0x4ff5d3
lea edi, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x4ff60e
cmp dword [esp + 4], 0
je 0x4ff5f5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4ff62f
mov ebx, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x5781c4]
nop word [eax + eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x5781c4], esi
jne 0x4ff5b0
mov byte [0x5781c0], 1
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
mov eax, ebx
jmp 0x4ff607
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x4ff671
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x4ff5f9
mov eax, dword [esp]
jmp 0x4ff607
mov eax, dword [esi]
jmp 0x4ff606
push dword [esp]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, esi
dec eax
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
push 0x564c00
push eax
push 0x564bfc
push ecx
push 0
call fcn.004ff520
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
mov dword [esp + 8], 0x564b58
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x564870
mov dword [esp + 0x14], 0
lea eax, [esp + 8]
push 0x564bec
push eax
call fcn.00500510
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x564b58
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x564870
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004ff4f0
int3
Function at 0x4ffd30
Capabilities:
Resolve dns

Disassembly:
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [esp + 4]
push dword [esp + 0x44]
push edx
push eax
call fcn.004e26f0
add esp, 0xc
mov eax, dword [esp + 4]
cmp eax, 0x80000000
jne 0x4ffdae
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, esp
mov dword [esp], 0
lea ecx, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x1c], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x4ffddd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, 1
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x4ffdfe
jmp 0x4ffe0a
mov ecx, dword [0x568180]
mov edx, dword [0x568184]
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
je 0x4ffe0a
push 1
push eax
push dword [esp + 0x10]
call fcn.00402cf0
add esp, 0x40
pop esi
pop edi
pop ebx
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [esp]
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x4ffe0a
push 1
push ebx
push edi
call fcn.00402cf0
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
ret