joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61c1a4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x61c1d2
mov eax, ebx
call fcn.0061cc60
cmp dword [ebx + 0x40], 0
je 0x61c1cb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x61c243
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x61c235
cmp dword [ebx + 8], 0
je 0x61c1f4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x61c206
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x61c235
cmp dword [ebx + 8], 0
je 0x61c1e7
cmp eax, 3
je 0x61c219
dec eax
jne 0x61c1e7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x61c1e7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x61c1e7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x61c261
cmp dword [ebx + 0x14], 0xcc
je 0x61c261
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0061c26c
pop ebx
ret

Function at 0x6308cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x8f6530], 0
jne 0x6308e3
call fcn.00630888
mov eax, edi
dec eax
test eax, eax
jl 0x63090b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x8f6130]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6308ed
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x633984
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x6339b5
dec al
je 0x6339f0
dec al
je 0x633a34
dec al
je 0x633aa6
jmp 0x633b41
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x633b41
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x6339c5
jmp 0x633b41
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x633b41
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x633a00
jmp 0x633b41
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x633b41
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x633a67
xor edx, edx
mov dword [esp + 4], edx
jmp 0x633a7c
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x633a94
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x633a44
jmp 0x633b41
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x633b41
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x633b0d
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.00630914
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x633ac2
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x638f34
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x638f92
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 4]
mov cx, 0x50
mov edx, 0x638fac
call fcn.0063b698
mov eax, dword [ebp - 4]
call fcn.0040c824
push eax
push 0x638fb8
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x638f99
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax

Function at 0x63b96c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], ecx
mov dword [esp + 4], edx
mov edi, eax
mov cl, 8
mov eax, edi
mov ebx, dword [esp + 4]
mov esi, dword [esp]
movzx edx, word [eax]
xor dx, word [ebx]
mov word [esi], dx
add esi, 2
add ebx, 2
add eax, 2
dec cl
jne 0x63b986
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x63c0fc
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x63c1dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, esi
call fcn.0040b8b4
push 0x40
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x63c1c1
mov edi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x63c193
push dword [esi]
cmp ebx, 0xff
jbe 0x63c166
call fcn.004096a8
mov eax, dword [edi + ebx*4]
mov eax, dword [eax]
call fcn.0063a3cc
lea edx, [ebp - 0x1d4]
call fcn.0063a7c8
push dword [ebp - 0x1d4]
push 0x63c1f8
mov eax, esi
mov edx, 3
call fcn.0040cb14
inc ebx
cmp ebx, 0xff
jbe 0x63c1a0
call fcn.004096a8
cmp dword [edi + ebx*4], 0
jne 0x63c157
mov eax, dword [esi]
test eax, eax
je 0x63c1af
mov eax, dword [eax - 4]
mov edx, esi
mov ecx, 1
xchg edx, eax
call fcn.0040cca4
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63c1e3
lea eax, [ebp - 0x1d4]
call fcn.0040b8b4
pop eax
jmp eax
Function at 0x64558c
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6455d2
push dword fs:[eax]
mov dword fs:[eax], esp
push eax
push ebx
push ecx
push edx
mov eax, 0x564d5868
mov ecx, 0xa
mov dx, 0x5658
in eax, dx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
pop edx
pop ecx
pop ebx
pop eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6455dc
cmp dword [ebp - 4], 0x564d5868
jne 0x645620
mov bl, 1
mov eax, dword [ebp - 8]
dec eax
je 0x6455f8
dec eax
je 0x645600
dec eax
je 0x645608
dec eax
je 0x645610
jmp 0x645618
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
jmp 0x645628
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
jmp 0x645628
mov eax, dword [ebp - 0xc]
mov byte [eax], 2
jmp 0x645628
mov eax, dword [ebp - 0xc]
mov byte [eax], 3
jmp 0x645628
mov eax, dword [ebp - 0xc]
mov byte [eax], 4
jmp 0x645628
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov byte [eax], 5
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6457b8
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x645802
push ebx
push ecx
push dword fs:[0]
mov dword fs:[0], esp
mov ebx, 0
mov eax, 1
invalid

Function at 0x6483e4
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00648f94
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x648e90
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x648ed5
lea eax, [ebp - 0x60]
call fcn.006483e4
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.0064840c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.006484dc
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x648ed7
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x648f00
movzx ebx, byte [esi]
xor bl, 0x36
mov byte [eax], bl
movzx ebx, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x648f06
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x648ee5
lea eax, [ebp - 0x60]
call fcn.006483e4
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.0064840c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.00648d80
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.006484dc
lea eax, [ebp - 0x60]
call fcn.006483e4
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.0064840c
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.0064840c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.006484dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x64a510
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov dword [esp + 4], edx
mov dword [esp], eax
xor esi, esi
mov ebx, dword [esp + 4]
jmp 0x64a528
inc ebx
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea edx, [edx + edx*2]
mov eax, ebx
sub eax, edx
test eax, eax
jg 0x64a527
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.0040c438
xor ebx, ebx
cmp esi, dword [esp + 4]
jge 0x64a6b1
inc ebx
mov eax, edi
call fcn.0040be88
mov edx, dword [esp]
movzx edx, byte [edx + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + 0x8d1a10]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp + 4]
jge 0x64a667
inc ebx
mov eax, edi
call fcn.0040be88
mov edx, dword [esp]
movzx edx, byte [edx + esi]
and dl, 3
movzx edx, dl
shl edx, 4
mov ecx, dword [esp]
movzx ecx, byte [ecx + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + 0x8d1a10]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp + 4]
jge 0x64a634
inc ebx
mov eax, edi
call fcn.0040be88
mov edx, dword [esp]
movzx edx, byte [edx + esi + 1]
and dl, 0xf
movzx edx, dl
shl edx, 2
mov ecx, dword [esp]
movzx ecx, byte [ecx + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + 0x8d1a10]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040be88
mov edx, dword [esp]
movzx edx, byte [edx + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + 0x8d1a10]
mov byte [eax + ebx - 1], dl
jmp 0x64a6a4
inc ebx
mov eax, edi
call fcn.0040be88
mov edx, dword [esp]
movzx edx, byte [edx + esi + 1]
and dl, 0xf
movzx edx, dl
shl edx, 2
movzx edx, byte [edx + 0x8d1a10]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040be88
mov byte [eax + ebx - 1], 0x3d
jmp 0x64a6a4
inc ebx
mov eax, edi
call fcn.0040be88
mov edx, dword [esp]
movzx edx, byte [edx + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + 0x8d1a10]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040be88
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.0040be88
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp + 4]
jl 0x64a56b
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x64c9f4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov byte [0x8f67ec], 3
cmp bl, 3
je 0x64cae9
sub bl, 2
jae 0x64ca33
call fcn.00439d68
cmp eax, 6
jl 0x64ca33
call fcn.0064c960
cmp dword [0x8f67f0], 0
je 0x64ca33
mov byte [0x8f67ec], 1
jmp 0x64cae9
call fcn.0064c9b8
cmp edx, 0
jne 0x64ca40
cmp eax, 0
je 0x64cae9
push esp
call sub.kernel32.dll_QueryPerformanceCounter
cmp dword [esp + 4], 0
jne 0x64ca57
cmp dword [esp], 0
je 0x64cae9
mov byte [0x8f67ec], 2
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
push 0
push 0x3e8
call fcn.0064c9b8
call fcn.0040e75c
push edx
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
call fcn.0040e75c
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
push eax
call sub.kernel32.dll_GetTickCount
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [0x8f6800], eax
mov dword [0x8f6804], edx
cmp dword [0x8f6804], 0
jne 0x64cad3
cmp dword [0x8f6800], 0xdbba0
jbe 0x64cae9
jmp 0x64cad5
jle 0x64cae9
mov dword [0x8f6800], 0
mov dword [0x8f6804], 0
add esp, 0x10
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x8d1ba4
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x64e7f3
mov esi, 1
mov edx, 0x8d1cac

Function at 0x64e948
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x8d1c5b]
test bl, bl
jbe 0x64e979
lea eax, [esi + 0x3e0]
call fcn.0064e924
lea eax, [esi + 0x3fc]
call fcn.0064e924
dec bl
jne 0x64e95f
mov cl, 0x30
mov edi, 0x8d1c2c
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x64e99a
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x64e9a7
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x64e983
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x64e9b4
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
lea esi, [ebp - 0x425]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0064e76c
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x64e9d1
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x45]
movzx edx, byte [esi]
mov eax, dword [ebp - 0xc]
call fcn.0064e76c
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0064e76c
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x64e9ee
mov bl, 1
lea esi, [ebp - 0x3a5]
mov ecx, esi
lea eax, [ebp - 0x425]
mov edx, ebx
call fcn.0064e948
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x64ea18
mov bl, 1
mov eax, 0x8d1b24
lea edx, [ebp - 0xa5]
cmp bl, 0x20
ja 0x64ea51
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x426]
mov byte [edx], cl
jmp 0x64ea5e
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x426]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x64ea3d
mov byte [ebp - 0xd], 1
lea esi, [ebp - 0x3a5]
cmp byte [ebp + 8], 0
je 0x64ea88
lea ecx, [ebp - 0x65]
mov edx, esi
lea eax, [ebp - 0x85]
call fcn.0064e7d4
jmp 0x64eaaf
movzx eax, byte [ebp - 0xd]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d5]
lea ecx, [ebp - 0x65]
lea eax, [ebp - 0x85]
call fcn.0064e7d4
mov bl, 0x20
lea eax, [ebp - 0xa5]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x64eab7
push esi
lea esi, [ebp - 0x85]
lea edi, [ebp - 0xa5]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x65]
lea edi, [ebp - 0x85]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 0xd]
add esi, 0x30
cmp byte [ebp - 0xd], 0x11
jne 0x64ea70
mov bl, 0x40
mov esi, 0x8d1b64
lea eax, [ebp - 0x3e5]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x64eb1d
movzx edx, dl
movzx edx, byte [ebp + edx - 0x86]
mov byte [eax], dl
jmp 0x64eb2a
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc6]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x64eb06
mov bl, 1
lea esi, [ebp - 0x3e5]
movzx ecx, byte [esi]
mov eax, dword [ebp - 8]
mov edx, ebx
call fcn.0064e794
inc ebx
inc esi
cmp bl, 0x41
jne 0x64eb38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x652d08
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [esp + 8], al
shl edx, 3
and dl, 0xff
movzx eax, byte [esi + 5]
shr eax, 5
or dl, al
mov byte [esp + 9], dl
movzx eax, byte [esi + 5]
shl eax, 2
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor esi, ecx
and esi, 1
inc edx
cmp edx, 8
jne 0x652db5
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x652db0
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.0040c438
push 1
mov eax, edi
call fcn.0040be88
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.0064e9b4
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x66d29c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004ba080
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
call fcn.0040712c
mov dword [ebp - 0x10], eax
xor ebx, ebx
push ebp
push 0x66d33b
push dword fs:[ebx]
mov dword fs:[ebx], esp
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x18]
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, ecx
test eax, eax
jbe 0x66d313
movzx ebx, byte [edx]
mov esi, dword [ebp - 0xc]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x8d1f00]
mov esi, dword [ebp - 0xc]
shr esi, 8
xor ebx, esi
mov dword [ebp - 0xc], ebx
inc edx
dec eax
jne 0x66d2ef
test ecx, ecx
jne 0x66d2d6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66d342
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004ba080
mov eax, dword [ebp - 0x10]
call fcn.0040717c
pop eax
jmp eax

Function at 0x6b0f88
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.0040b8b4
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x6b0fb9
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.0040ba4c
add esp, 0x24
pop ebx
ret
Function at 0x6d7848
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x6d7850
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6d79ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x6d7a18
call fcn.0040ca8c
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.006d5a58
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x6d7a2c
call fcn.00683614
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6d78c9
mov eax, dword [eax - 4]
test eax, eax
jle 0x6d790a
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.006d5a58
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6d7a94
call fcn.00683614
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040ca34
mov eax, esi
mov edx, 0x6d7ac0
call fcn.0040ca34
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6d7920
mov eax, dword [eax - 4]
test eax, eax
jle 0x6d798c
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6d7ad4
call fcn.00683614
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040ca34
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x6d7955
mov eax, dword [eax - 4]
test eax, eax
jle 0x6d7980
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6d7b04
call fcn.00683614
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040ca34
mov eax, esi
mov edx, 0x6d7ac0
call fcn.0040ca34
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x6d7996
mov eax, dword [eax - 4]
test eax, eax
jle 0x6d79c1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6d7b30
call fcn.00683614
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040ca34
mov eax, esi
mov edx, 0x6d7ac0
call fcn.0040ca34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d7a06
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.0040b914
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040b914
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax