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

Disassembly:
push edi
push esi
mov byte [0x80c4c8], 0x2a
mov eax, 1
mov esi, 0x84210843
nop word cs:[eax + eax]
mov edi, eax
call fcn.0049ad20
mov ecx, eax
shr eax, 1
mul esi
shr edx, 4
imul eax, edx, 0x3e
neg eax
mov al, byte [ecx + eax + str.1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM]
mov byte [edi + 0x80c4c8], al
mov eax, 3
sub eax, edi
xor eax, edi
setne al
movzx eax, al
add eax, edi
mov ecx, 3
sub ecx, eax
xor ecx, eax
cmp eax, 0x28
jne 0x4465d0
test ecx, ecx
je 0x4465d0
mov byte [0x80c4f0], 0
pop esi
pop edi
ret
Function at 0x44ab20
Capabilities:
Hash data using fnv

Disassembly:
push esi
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
je 0x44ab48
mov edx, dword [esp + 8]
nop
dec ecx
movzx esi, byte [edx]
cmp esi, 0x21
jb 0x44ab43
imul eax, eax, 0x1000193
xor esi, eax
mov eax, esi
inc edx
test ecx, ecx
jne 0x44ab30
pop esi
ret

Function at 0x44c140
Capabilities:
Query environment variable

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], ebx
mov dword [esp], edi
mov dword [esp + 4], 0
call fcn.007c51a0
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sub.KERNEL32.dll_GetEnvironmentVariableA
sub esp, 0xc
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp eax, ebx
setae dl
cmp ecx, 2
sete cl
movzx ecx, cl
sbb dh, dh
and dh, dl
movzx edx, dh
shl edx, 0x1f
sar edx, 0x1f
cmp eax, ecx
mov eax, 0xffffffff
cmovne eax, edx
add esp, 0xc
pop esi
pop edi
pop ebx
ret
Function at 0x4544c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push edi
push esi
sub esp, 0x40c
mov edi, dword [esp + 0x420]
mov esi, 0xe
mov dword [esp + 8], edi
lea ebx, [esp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], 0x400
call fcn.00401e10
mov dword [esp], ebx
mov dword [esp + 4], str.disk
call fcn.007c58b0
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete cl
movzx ecx, cl
cmp eax, ecx
je 0x454560
mov esi, 4
mov dword [esp], ebx
mov dword [esp + 4], str.kernel
call fcn.007c58b0
test eax, eax
je 0x4545a2
mov eax, dword [esp + 0x41c]
mov esi, 1
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.00403f60
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x4545c9
cmp esi, 1
je 0x454591
imul esi, esi
and esi, 3
cmp esi, 3
je 0x454591
mov al, 0x2f
movzx eax, al
cmp eax, 0x2f
je 0x45463b
mov esi, 0xd
cmp eax, 0x54
je 0x45463b
jmp 0x45462b
mov esi, 2
mov dword [esp], 0
call fcn.0066d180
cmp esi, 2
jne 0x4545b6
mov eax, esi
not eax
and eax, 1
add eax, esi
jne 0x454647
mov esi, 0xd
mov dword [esp], 1
call fcn.0066d180
jmp 0x4545d8
mov al, 0xd
mov esi, 0x17
movzx eax, al
cmp eax, 0xd
jne 0x4545ea
cmp esi, 0xd
jne 0x45463b
mov eax, esi
not eax
and eax, 1
add eax, esi
jne 0x454647
jmp 0x45463b
xor edi, edi
mov esi, 0x43
add esi, 0xffffffc6
jmp 0x454616
add eax, edi
setne al
movzx eax, al
add edi, eax
mov dword [esp], 2
call fcn.0066d180
mov eax, edi
not eax
and eax, 1
mov ecx, edi
add ecx, eax
setne cl
movzx ecx, cl
cmp edi, ecx
jb 0x454600
cmp esi, 9
jne 0x45463b
mov eax, 3
sub eax, esi
xor eax, esi
jne 0x454647
mov dword [esp], 2
call fcn.0066d180
add esp, 0x40c
pop esi
pop edi
pop ebx
ret
Function at 0x49af60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x80dbd8]
mov dword [esp], eax
call fcn.007c74c0
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x49afd1
mov al, 0x47
movzx eax, al
cmp eax, 0x47
jne 0x49af9d
mov ebp, 9
jmp 0x49b067
call sub.KERNEL32.dll_GetTickCount
mov esi, eax
add esi, 0xfffd40e0
sub esi, dword [0x80dbdc]
cmp esi, dword [0x80dbf0]
mov ebx, dword [0x80dbfc]
mov edi, dword [0x80dbf8]
jb 0x49b03a
mov ebp, 0x11
mov al, 1
test al, al
jne 0x49b028
jmp 0x49b03a
call fcn.007c4fd0
mov esi, eax
call fcn.007c4bf0
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_lock_interlocked__syserr__d__s__n
call fcn.00441610
call fcn.0044c0d0
mov ebp, 6
call sub.KERNEL32.dll_GetTickCount
mov esi, eax
add esi, 0xfffd40e0
sub esi, dword [0x80dbdc]
cmp esi, dword [0x80dbf0]
mov ebx, dword [0x80dbfc]
mov edi, dword [0x80dbf8]
jb 0x49b028
xor eax, eax
test al, al
je 0x49b07d
cmp ebp, 6
jne 0x49b07d
mov eax, ebp
and eax, 1
xor eax, ebp
not eax
test eax, eax
je 0x49b07d
xor ecx, ecx
mov ebp, 0x83
add ebp, 0xffffff7e
mov edx, ebx
inc edx
mov al, 1
jmp 0x49b05f
inc ecx
mov dword [0x80dbf8], edi
mov dword [0x80dbfc], edx
mov ebx, edx
test ecx, ecx
je 0x49b050
test al, al
je 0x49b050
cmp ebp, 1
jne 0x49aff6
mov eax, ebp
and eax, 1
xor eax, ebp
not eax
test eax, eax
je 0x49aff6
mov dword [0x80dbf0], esi
mov eax, dword [0x80dbd8]
mov dword [esp], eax
call fcn.007c74e0
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x49b0b3
add edi, esi
adc ebx, 0
mov eax, edi
mov edx, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.007c4fd0
mov esi, eax
call fcn.007c4bf0
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_unlock_interlocked__syserr__d__s__n
call fcn.00441610
call fcn.0044c0d0
int3
Function at 0x5a9b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
je 0x5a9cb8
imul eax, eax
and eax, 3
cmp eax, 2
je 0x5a9cb8
mov dword [esp + 0x10], 0
mov eax, 0x12
mov ecx, 0xd4
add ecx, 0xffffff34
mov dword [esp + 0x14], ecx
mov ebp, 0x9060001
jmp 0x5a9b85
mov eax, 3
cmp eax, 3
je 0x5a9bc1
xor eax, eax
test al, al
jne 0x5a9bc1
mov ebx, 0x16
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], 0x5a9cd0
call fcn.0042b040
mov edi, eax
mov dword [esp], edi
call fcn.004353d0
xor esi, esi
test eax, eax
je 0x5a9c08
xor ebp, ebp
mov ecx, dword [esp + 0x10]
jmp 0x5a9bec
mov eax, ebp
imul eax, eax
and eax, 3
cmp eax, 2
adc ebp, 0
mov dword [esp], edi
call fcn.00429a50
mov ecx, esi
mov ebx, dword [esp + 0x14]
mov eax, 3
sub eax, ebp
xor eax, ebp
setne al
movzx eax, al
cmp ebp, eax
jb 0x5a9bd0
mov dword [esp + 0x10], ecx
mov ebp, 0x9060001
cmp ebx, 8
je 0x5a9cb4
nop word cs:[eax + eax]
mov dword [esp], edi
call fcn.004299f0
mov ebx, eax
mov eax, dword [ebx + 0x318]
mov ecx, dword [ebx + 0x31c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0040b580
test eax, eax
mov eax, 0x9060015
cmove eax, ebp
add ebx, 0x90
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
call fcn.005ac190
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete cl
movzx ecx, cl
cmp eax, ecx
sete al
movzx eax, al
add esi, eax
mov dword [esp], edi
call fcn.00429a20
mov dword [esp], edi
call fcn.004353d0
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
cmp eax, ecx
je 0x5a9c20
jmp 0x5a9b80
mov ecx, dword [esp + 0x10]
mov eax, ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x61b0f0
Capabilities:
Print debug messages

Disassembly:
push ebx
push edi
push esi
push eax
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov edi, 0xc
mov dword [esp], esi
call sub.KERNEL32.dll_OutputDebugStringA
sub esp, 4
mov eax, ebx
or eax, 2
mov ecx, ebx
xor ecx, 2
add ecx, eax
setne al
movzx eax, al
cmp ebx, eax
jne 0x61b131
mov al, 0x18
mov edi, 0x14
movzx eax, al
cmp eax, 0x4c
jne 0x61b143
cmp edi, 0xc
jne 0x61b143
mov eax, edi
and eax, 1
xor eax, edi
not eax
test eax, eax
jne 0x61b14b
mov dword [esp], esi
call fcn.007cb940
add esp, 4
pop esi
pop edi
pop ebx
ret
Function at 0x61d650
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x864
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x400
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleFileNameW
sub esp, 0xc
mov ecx, eax
xor eax, eax
test ecx, ecx
je 0x61d8f2
add ecx, 0x20
cmp ecx, 0x3ff
ja 0x61d8f2
xor ebx, ebx
test bl, bl
jne 0x61d8f2
mov esi, dword [esp + 0x878]
movaps xmm0, xmmword [str.haspvlib]
mov eax, 0x79
xor eax, 0x6a
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
mov edi, eax
mov dword [esp + 0x1c], eax
nop word cs:[eax + eax]
mov ax, word [edi]
test ax, ax
je 0x61d6f0
mov ecx, 0x13
movzx eax, ax
cmp eax, 0x5c
je 0x61d734
jmp 0x61d73d
mov eax, ebx
imul eax, eax
and eax, 3
lea ecx, [ebx + 2]
cmp eax, 2
lea eax, [esp + 0x24]
cmove ecx, eax
test ebx, ebx
cmove ecx, eax
mov dword [esp + 0x1c], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0x5f
test esi, esi
je 0x61d886
mov al, 1
test al, al
je 0x61d886
mov ecx, 0xa
add dword [esp + 0x1c], 0x12
xor eax, eax
cmp ecx, 0xa
je 0x61d798
mov ebx, edi
xor eax, eax
mov ecx, edi
jmp 0x61d767
mov ecx, eax
or ecx, 2
mov edx, eax
xor edx, 2
add edx, ecx
setne cl
movzx ecx, cl
add eax, ecx
lea ecx, [edi + 2]
test eax, eax
je 0x61d750
mov dl, 1
test dl, dl
je 0x61d750
mov edi, ecx
mov eax, dword [esp + 0x18]
jmp 0x61d86a
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
adc eax, 0
mov word [esp + 0x862], 0
mov ecx, eax
not ecx
and ecx, 1
add ecx, eax
setne cl
movzx ecx, cl
mov ebp, 0x1f
cmp eax, ecx
jb 0x61d780
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov edx, esi
nop word [eax + eax]
mov ecx, edx
mov ebx, ebp
mov dword [esp + 0x20], ebx
mov eax, ecx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
mov edi, ecx
sub edi, eax
imul ebx, ebx
and ebx, 3
cmp ebx, 2
sbb ebp, 0
mov esi, 3
sub esi, ecx
xor esi, ecx
cmp ecx, 9
mov ax, word [edi + edi + str.0123456789abcdef]
mov word [esp + ebp*2 + 0x824], ax
ja 0x61d7c0
test esi, esi
je 0x61d7c0
cmp ebx, 2
mov edx, dword [esp + 0x20]
sbb edx, 0
lea ecx, [esp + 0x826]
lea edx, [ecx + edx*2]
xor ecx, ecx
mov edi, dword [esp + 0x1c]
nop word cs:[eax + eax]
mov word [edi + ecx], ax
movzx eax, word [edx + ecx]
mov esi, eax
and esi, 1
inc esi
xor esi, eax
sete bl
add ecx, 2
movzx esi, bl
cmp eax, esi
jne 0x61d830
mov eax, 9
lea ebp, [edi + ecx]
mov word [edi + ecx], 0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x878]
mov edi, dword [esp + 0x10]
cmp eax, 9
jne 0x61d6d0
mov ecx, eax
and ecx, 1
xor ecx, eax
not ecx
test ecx, ecx
je 0x61d6d0
jmp 0x61d894
mov ebp, dword [esp + 0x1c]
mov dword [ebp + 0x12], 0x30
add ebp, 0x14
xor esi, esi
mov edi, 0xffffffff
lea ebx, [esp + 0x24]
jmp 0x61d8e1
inc esi
mov dword [ebp], 0x64002e
mov dword [ebp + 4], 0x6c006c
mov word [ebp + 8], 0
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call sub.KERNEL32.dll_LoadLibraryExW
sub esp, 0xc
dec edi
mov ecx, esi
and ecx, 1
xor ecx, edi
setne cl
movzx ecx, cl
cmp esi, ecx
jb 0x61d8b0
add esp, 0x864
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x621c50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax]
shl ecx, 0x18
movzx edx, byte [eax + 1]
shl edx, 0x10
or edx, ecx
movzx esi, byte [eax + 2]
shl esi, 8
or esi, edx
movzx ecx, byte [eax + 3]
or ecx, esi
cmp ecx, 0x54534421
jne 0x621ca2
movzx edx, byte [eax + 4]
shl edx, 0x18
movzx esi, byte [eax + 5]
shl esi, 0x10
or esi, edx
movzx edi, byte [eax + 6]
shl edi, 8
or edi, esi
movzx edx, byte [eax + 7]
or edx, edi
jmp 0x621cb6
mov esi, 0xd8
cmp dword [eax], 0x54534421
jne 0x621e30
mov edx, dword [eax + 4]
mov esi, 0xdf
cmp edx, 2
jne 0x621e30
cmp ecx, 0x54534421
jne 0x621ced
movzx ecx, byte [eax + 0x14]
shl ecx, 0x18
movzx edx, byte [eax + 0x15]
shl edx, 0x10
or edx, ecx
movzx esi, byte [eax + 0x16]
shl esi, 8
or esi, edx
movzx ecx, byte [eax + 0x17]
or ecx, esi
jmp 0x621cf0
mov ecx, dword [eax + 0x14]
add ecx, 0x20
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.007cbaf0
mov edi, eax
mov esi, 0xc
test edi, edi
je 0x621e30
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00624a10
mov esi, eax
mov dword [esp], edi
call fcn.007cbb10
test esi, esi
jne 0x621e30
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
xor edi, edi
cmp dword [eax + 8], 0
je 0x621e0a
nop word cs:[eax + eax]
mov dword [esp + 0xc], edi
mov ebp, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
shl edi, 4
mov ecx, dword [ebp + edi]
mov ebx, dword [eax + ecx*8]
lea eax, [ebx + 1]
mov dword [esp], eax
call fcn.00492770
mov esi, eax
test esi, esi
je 0x621e0e
lea eax, [ebp + edi]
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov eax, dword [ecx + eax*8 + 4]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.007c51d0
mov byte [esi + ebx], 0
xor ebx, ebx
cmp dword [0x80edfc], 0
mov eax, 0
je 0x621ddf
mov eax, dword [0x80ee00]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.007c58b0
test eax, eax
je 0x621dd7
inc ebx
xor eax, eax
cmp ebx, dword [0x80edfc]
jb 0x621db0
jmp 0x621ddf
mov eax, dword [0x80ee00]
mov eax, dword [eax + ebx*4]
mov dword [ebp + edi + 0xc], eax
mov dword [esp], esi
call fcn.004936c0
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
cmp dword [ebp + edi + 0xc], 0
je 0x621e23
mov edi, dword [esp + 0xc]
inc edi
xor esi, esi
cmp edi, dword [eax + 8]
jb 0x621d50
jmp 0x621e30
xor esi, esi
jmp 0x621e30
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.006242f0
mov esi, 0xc
jmp 0x621e30
mov dword [esp], eax
call fcn.006242f0
mov esi, 0x7d1
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x63b600
Capabilities:
Get hostname

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
jmp 0x63b610

Function at 0x63b770
Capabilities:
Get hostname

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x420
mov esi, ecx
mov dword [esp + 0x418], 0
mov dword [esp + 0x414], 0
mov byte [esi], 0
test edx, edx
setne al
movzx eax, al
lea eax, [eax + eax + 5]
mov dword [esp + 0x41c], 0x200
lea ecx, [esp + 0x41c]
mov dword [esp + 8], ecx
lea ebp, [esp + 0x14]
mov dword [esp + 4], ebp
mov dword [esp], eax
call sub.KERNEL32.dll_GetComputerNameExW
sub esp, 0xc
mov edx, 0x70005
test eax, eax
je 0x63b75f
mov edi, 0x13
nop dword [eax]
cmp edi, 9
je 0x63b74b
mov dword [esp + 0x418], ebp
inc dword [esp + 0x41c]
mov dword [esp + 4], 0x200
mov dword [esp], 1
call fcn.00493840
mov ebx, eax
test ebx, ebx
je 0x63b75a
mov edi, 9
mov dword [esp + 0x414], ebx
mov eax, ebx
add eax, 0x200
mov ecx, dword [esp + 0x41c]
lea ecx, [esp + ecx*2 + 0x14]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x414]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x418]
mov dword [esp], eax
mov dword [esp + 0x10], 0
call fcn.007c59b0
test eax, eax
jne 0x63b680
mov dword [esp], ebx
call fcn.007c3e70
inc eax
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.007c51d0
mov dword [esp], ebx
call fcn.004936c0
mov al, byte [esi]
xor edx, edx
test al, al
je 0x63b75f
inc esi
nop
mov cl, al
add cl, 0xbf
movzx ecx, cl
cmp ecx, 0x19
ja 0x63b742
add al, 0x20
mov byte [esi - 1], al
mov al, byte [esi]
inc esi
test al, al
jne 0x63b730
jmp 0x63b75f
mov dword [esp], ebx
call fcn.004936c0
mov edx, 0x70005
jmp 0x63b75f
mov edx, 0x70005
mov eax, edx
add esp, 0x420
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 4]
mov edx, 1
jmp 0x63b610
Function at 0x63d7c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
cmp dword [0x80ee90], 0
je 0x63da10
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
mov dword [esp], eax
call fcn.006434b0
test eax, eax
jne 0x63da10
mov dword [esp + 8], 0
mov eax, dword [esp + 0xc]
lea esi, [esp + 8]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.006434c0
mov eax, dword [esp + 8]
test eax, eax
je 0x63da04
mov edi, dword [esp + 0xa4]
lea ebx, [esp + 0x10]
mov ebp, 0x125
nop dword [eax + eax]
mov dword [esp + 0x10], 0x61774d56
mov word [esp + 0x14], 0x6572
mov byte [esp + 0x16], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.007c5e20
test eax, eax
je 0x63d876
mov eax, dword [edi]
cmp eax, 8
ja 0x63d863
bt ebp, eax
jb 0x63d870
cmp eax, 0x63
jne 0x63d876
nop dword [eax + eax]
mov dword [edi], 1
mov dword [esp + 0x10], 0x74726956
mov dword [esp + 0x14], 0x206c6175
mov dword [esp + 0x18], 0x44444820
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.007c5e20
test eax, eax
je 0x63d8c6
mov eax, dword [edi]
cmp eax, 8
ja 0x63d8b6
bt ebp, eax
jb 0x63d8c0
cmp eax, 0x63
jne 0x63d8c6
nop dword [eax + eax]
mov dword [edi], 3
mov dword [esp + 0x10], 0x2063614d
mov dword [esp + 0x14], 0x5820534f
mov byte [esp + 0x18], 0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.007c5e20
test eax, eax
je 0x63d916
call fcn.0063da20
test eax, eax
je 0x63d916
mov eax, dword [edi]
cmp eax, 8
ja 0x63d907
bt ebp, eax
jb 0x63d910
cmp eax, 0x63
jne 0x63d916
nop dword [eax]
mov dword [edi], 3
movaps xmm0, xmmword [str.Virtual_DVD_ROM]
movups xmmword [esp + 0x10], xmm0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.007c5e20
test eax, eax
je 0x63d966
call fcn.0063da20
test eax, eax
je 0x63d966
mov eax, dword [edi]
cmp eax, 8
ja 0x63d94e
bt ebp, eax
jb 0x63d960
cmp eax, 0x63
jne 0x63d966
nop word cs:[eax + eax]
mov dword [edi], 3
mov dword [esp + 0x10], 0x584f4256
mov byte [esp + 0x14], 0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.007c5e20
test eax, eax
je 0x63d9a6
mov eax, dword [edi]
cmp eax, 8
ja 0x63d996
bt ebp, eax
jb 0x63d9a0
cmp eax, 0x63
jne 0x63d9a6
nop dword [eax + eax]
mov dword [edi], 4
mov dword [esp + 0x10], 0x554d4551
mov byte [esp + 0x14], 0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.007c5e20
test eax, eax
je 0x63d9e0
mov eax, dword [edi]
test eax, eax
je 0x63d9da
cmp eax, 0x63
je 0x63d9da
cmp eax, 2
jne 0x63d9e0
mov dword [edi], 5
mov dword [esp + 8], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.006434c0
mov eax, dword [esp + 8]
test eax, eax
jne 0x63d830
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.00644400
xor eax, eax
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6422a0
Capabilities:
Get hostname

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0x10
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
lea ebp, [esp + 0x30]
mov dword [esp], ebp
call sub.KERNEL32.dll_GetComputerNameW
sub esp, 8
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
mov ebx, 0xffff
xor esi, esi
cmp eax, ecx
jne 0x642136
xor edi, edi
jmp 0x642273
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp], 0
call dword [0x80f2b4]
sub esp, 0x1c
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00492770
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, eax
mov dword [esp], eax
call fcn.00492770
mov edi, eax
mov ebx, 0xc
test esi, esi
je 0x642273
test edi, edi
je 0x642273
lea eax, [esp + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], 0
call dword [0x80f2b4]
sub esp, 0x1c
test eax, eax
jne 0x642200
mov ecx, eax
or ecx, 2
xor eax, 2
add eax, ecx
je 0x642200
mov ebx, 0xffff
jmp 0x642273
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [0x80f2b0]
sub esp, 8
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
mov ebx, 0xffff
cmp eax, ecx
je 0x642273
xor ebp, ebp
jmp 0x64225f
inc ebp
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.007c3e70
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0063c0d0
mov ebx, eax
mov eax, ebp
imul eax, eax
and eax, 3
cmp eax, 2
sbb eax, eax
and eax, 1
cmp ebp, eax
jb 0x642230
mov dword [esp], esi
call fcn.004936c0
mov dword [esp], edi
call fcn.004936c0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x642296
mov dword [esp], eax
call sub.KERNEL32.dll_LocalFree
sub esp, 4
mov eax, ebx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x6420e0
Function at 0x643830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, ecx
and edx, 1
inc edx
xor edx, ecx
sete dl
movzx edx, dl
cmp ecx, edx
je 0x6438cc
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
nop word [eax + eax]
mov edi, dword [edx]
movzx ebx, byte [esi + edi]
test byte [ebx + ebx + str.________________________________H], 8
je 0x64388f
inc edi
mov dword [edx], edi
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
mov edi, ecx
imul edi, edi
and edi, 3
cmp edi, 3
sete bl
movzx edi, bl
cmp ecx, edi
jne 0x643860
jmp 0x6438cc
dec ecx
mov edi, dword [edx]
add edi, esi
movzx edi, byte [ecx + edi]
movzx edi, word [edi + edi + str.________________________________H]
and edi, 8
mov ebx, edi
or ebx, 1
sete bl
movzx ebx, bl
cmp edi, ebx
je 0x6438cc
mov dword [eax], ecx
mov edi, ecx
imul edi, edi
and edi, 3
cmp edi, 2
sete bl
movzx edi, bl
cmp ecx, edi
lea ecx, [ecx - 1]
jne 0x643890
pop esi
pop edi
pop ebx
ret