joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fcba4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x30]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b9a8
xor eax, eax
push ebp
push 0x5fcc74
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov esi, 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x5fcbe5
mov eax, dword [eax - 4]
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 0xc]
ja 0x5fcc5c
jmp 0x5fcbf0
inc esi
cmp esi, dword [ebp - 0xc]
ja 0x5fcc17
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2 - 2]
mov word [ebp - 0xe], ax
movzx eax, word [ebp - 0xe]
cmp ax, 0xff
ja 0x5fcc12
movzx eax, ax
bt dword [ebp - 0x30], eax
setb dl
jmp 0x5fcc19
xor edx, edx
test dl, dl
jne 0x5fcbef
cmp esi, dword [ebp - 0xc]
ja 0x5fcc28
inc dword [ebp - 8]
jmp 0x5fcc28
inc esi
cmp esi, dword [ebp - 0xc]
ja 0x5fcc51
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2 - 2]
mov word [ebp - 0x10], ax
movzx eax, word [ebp - 0x10]
cmp ax, 0xff
ja 0x5fcc4a
movzx eax, ax
bt dword [ebp - 0x30], eax
setb al
xor al, 1
jmp 0x5fcc53
xor eax, eax
test al, al
jne 0x5fcc27
cmp esi, dword [ebp - 0xc]
jbe 0x5fcbf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fcc7b
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax

Function at 0x5fcc84
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x35]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040b9a8
xor eax, eax
push ebp
push 0x5fcd8f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov esi, 1
mov eax, dword [ebp + 8]
call fcn.0040b8b4
mov eax, dword [ebp - 4]
test eax, eax
je 0x5fccd1
mov eax, dword [eax - 4]
mov dword [ebp - 0x10], eax
cmp esi, dword [ebp - 0x10]
jg 0x5fcd77
jmp 0x5fcce0
inc esi
cmp esi, dword [ebp - 0x10]
jg 0x5fcd07
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2 - 2]
mov word [ebp - 0x12], ax
movzx eax, word [ebp - 0x12]
cmp ax, 0xff
ja 0x5fcd02
movzx eax, ax
bt dword [ebp - 0x35], eax
setb bl
jmp 0x5fcd09
xor ebx, ebx
test bl, bl
jne 0x5fccdf
cmp esi, dword [ebp - 0x10]
jg 0x5fcd15
inc dword [ebp - 0xc]
mov edi, esi
jmp 0x5fcd1a
inc edi
cmp edi, dword [ebp - 0x10]
jg 0x5fcd46
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2 - 2]
mov word [ebp - 0x14], ax
movzx eax, word [ebp - 0x14]
cmp ax, 0xff
ja 0x5fcd3c
movzx eax, ax
bt dword [ebp - 0x35], eax
setb al
xor al, 1
mov byte [ebp - 0x15], al
jmp 0x5fcd4a
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
jne 0x5fcd19
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x5fcd6c
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
sub ecx, esi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0040cc5c
jmp 0x5fcd77
mov esi, edi
cmp esi, dword [ebp - 0x10]
jle 0x5fcce0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fcd96
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax
Function at 0x6046a4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x604775
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
call sub.kernel32.dll_GetEnvironmentStringsW
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0040b8b4
jmp 0x604739
test di, di
je 0x6046f9
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040c844
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.0040ca34
jmp 0x604738
cmp dword [ebp - 4], 0
je 0x60474a
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x604790
call fcn.0040cdb0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x604730
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042f3b4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 4]
call fcn.0040b8b4
inc ebx
movzx edi, word [esi + ebx*2]
test di, di
jne 0x6046dd
cmp word [esi + ebx*2 - 2], 0
jne 0x6046dd
push esi
call sub.kernel32.dll_FreeEnvironmentStringsW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60477c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040b914
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax

Function at 0x604794
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x604827
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x104
mov eax, esi
call fcn.0043122c
mov ebx, eax
push esi
push ebx
call sub.kernel32.dll_GetWindowsDirectoryW
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040c884
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, 0x604844
call fcn.0040ca8c
push esi
push ebx
call sub.kernel32.dll_GetSystemDirectoryW
push dword [edi]
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040c884
push dword [ebp - 8]
push 0x604844
mov eax, edi
mov edx, 3
call fcn.0040cb14
mov eax, ebx
call fcn.0043126c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60482e
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b914
pop eax
jmp eax
Function at 0x604848
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x6048e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b8b4
mov eax, 0x104
call fcn.0043122c
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
test eax, eax
je 0x6048a3
mov eax, esi
mov edx, ebx
call fcn.0040c884
mov eax, ebx
call fcn.0043126c
lea eax, [ebp - 4]
call fcn.00410d80
push eax
call sub.shell32.dll_SHGetMalloc
test eax, 0x80000000
jne 0x6048cc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6048eb
lea eax, [ebp - 4]
call fcn.00410d80
pop eax
jmp eax

Function at 0x604f64
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
mov ebx, eax
test ebx, ebx
jne 0x604f7a
mov byte [ebp - 1], 0
jmp 0x604ff3
mov eax, dword [0x8d2750]
cmp dword [eax], 0
je 0x604f91
lea eax, [ebp - 8]
push eax
mov eax, dword [0x8d2750]
mov eax, dword [eax]
call eax
xor eax, eax
push ebp
push 0x604fec
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x400
push 0x2b4
lea eax, [ebp - 0x2bc]
push eax
push 0
mov eax, ebx
call fcn.0040c824
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x604ff3
mov eax, dword [0x8d14f0]
cmp dword [eax], 0
je 0x604fe9
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x8d14f0]
mov eax, dword [eax]
call eax
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60533c
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b9a8
mov eax, dword [ebp - 8]
call fcn.0040b9a8
xor eax, eax
push ebp
push 0x605413
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040b8b4
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor esi, esi
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.0040c824
push eax
mov eax, dword [ebp - 4]
call fcn.0040c824
mov edi, eax
push edi
call sub.advapi32.dll_LookupAccountNameW
mov eax, dword [ebp - 0x10]
call fcn.0043122c
mov esi, eax
mov eax, dword [ebp - 0x14]
call fcn.0040712c
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.0040c824
push eax
push edi
call sub.advapi32.dll_LookupAccountNameW
test eax, eax
je 0x6053e8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.005fb7e4
mov eax, esi
call fcn.0043126c
mov eax, ebx
call fcn.0040717c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60541a
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b914
pop eax
jmp eax

Function at 0x605b88
Capabilities:
Persist via ginadll registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x605c8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, 0x80000002
call fcn.005fd8d8
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x605c6a
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.004f6d90
mov edx, 0x605cac
mov eax, dword [ebp - 8]
call fcn.004f7020
test al, al
je 0x605c2f
mov edx, 0x605d24
mov eax, dword [ebp - 8]
call fcn.004f7a7c
test al, al
je 0x605c27
lea ecx, [ebp - 0x10]
mov edx, 0x605d24
mov eax, dword [ebp - 8]
call fcn.004f7858
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0042efe0
mov eax, dword [ebp - 0xc]
mov ecx, 1
mov edx, eax
mov eax, 0x605d40
call fcn.0040cdb0
test eax, eax
setg byte [ebp - 1]
mov eax, dword [ebp - 8]
call fcn.004f6d60
cmp byte [ebp - 1], 0
jne 0x605c52
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.004f6d90
mov edx, 0x605d5c
mov eax, dword [ebp - 8]
call fcn.004f7b24
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x605c71
mov eax, dword [ebp - 8]
call fcn.004099cc
pop eax
jmp eax
Function at 0x6062cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x606379
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xff
mov eax, ebx
call fcn.00407160
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x606355
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 8]
push eax
push 1
push 0x400
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040c884
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x606394
call fcn.0040ca8c
mov eax, dword [ebp - 0xc]
call fcn.0042ffb4
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60635c
mov eax, dword [ebp - 8]
call fcn.0040717c
pop eax
jmp eax

Function at 0x606398
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
call fcn.00407160
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x606404
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x6063d0
mov ebx, 0x400
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.0040c884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60640b
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040717c
pop eax
jmp eax
Function at 0x606c68
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x606d3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040b8b4
mov ebx, esi
test ebx, ebx
je 0x606ca7
mov ebx, dword [ebx - 4]
lea eax, [ebp - 0x214]
push eax
mov ecx, ebx
sub ecx, 4
mov edx, 5
mov eax, esi
call fcn.0040cc5c
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 4]
call fcn.00439c3c
push 0x104
lea eax, [ebp - 0x20e]
push eax
lea eax, [ebp - 0x218]
mov edx, dword [ebp - 4]
call fcn.0040c928
mov eax, dword [ebp - 0x218]
call fcn.0040c5ac
push eax
call sub.kernel32.dll_QueryDosDeviceW
test eax, eax
je 0x606d0e
mov eax, edi
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.0040c8d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606d43
lea eax, [ebp - 0x218]
call fcn.0040b8fc
lea eax, [ebp - 0x214]
call fcn.0040b8b4
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax
Function at 0x61b99c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x61b9ca
mov eax, ebx
call fcn.0061c458
cmp dword [ebx + 0x40], 0
je 0x61b9c3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x61ba3b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x61ba2d
cmp dword [ebx + 8], 0
je 0x61b9ec
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 0x61b9fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x61ba2d
cmp dword [ebx + 8], 0
je 0x61b9df
cmp eax, 3
je 0x61ba11
dec eax
jne 0x61b9df
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 0x61b9df
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x61b9df
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x61ba59
cmp dword [ebx + 0x14], 0xcc
je 0x61ba59
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.0061ba64
pop ebx
ret

Function at 0x6300c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x8eb530], 0
jne 0x6300db
call fcn.00630080
mov eax, edi
dec eax
test eax, eax
jl 0x630103
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x8eb130]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6300e5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x63317c
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 0x6331ad
dec al
je 0x6331e8
dec al
je 0x63322c
dec al
je 0x63329e
jmp 0x633339
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x633339
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 0x6331bd
jmp 0x633339
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x633339
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 0x6331f8
jmp 0x633339
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x633339
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 0x63325f
xor edx, edx
mov dword [esp + 4], edx
jmp 0x633274
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 0x63328c
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x63323c
jmp 0x633339
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 0x633339
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 0x633305
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.0063010c
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 0x6332ba
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x63872c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x63878a
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, 0x6387a4
call fcn.0063ae90
mov eax, dword [ebp - 4]
call fcn.0040c824
push eax
push 0x6387b0
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x638791
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax

Function at 0x63b164
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 0x63b17e
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x63b8f4
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 0x63b9d4
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 0x63b9b9
mov edi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x63b98b
push dword [esi]
cmp ebx, 0xff
jbe 0x63b95e
call fcn.004096a8
mov eax, dword [edi + ebx*4]
mov eax, dword [eax]
call fcn.00639bc4
lea edx, [ebp - 0x1d4]
call fcn.00639fc0
push dword [ebp - 0x1d4]
push 0x63b9f0
mov eax, esi
mov edx, 3
call fcn.0040cb14
inc ebx
cmp ebx, 0xff
jbe 0x63b998
call fcn.004096a8
cmp dword [edi + ebx*4], 0
jne 0x63b94f
mov eax, dword [esi]
test eax, eax
je 0x63b9a7
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 0x63b9db
lea eax, [ebp - 0x1d4]
call fcn.0040b8b4
pop eax
jmp eax
Function at 0x644d1c
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 0x644d62
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 0x644d6c
cmp dword [ebp - 4], 0x564d5868
jne 0x644db0
mov bl, 1
mov eax, dword [ebp - 8]
dec eax
je 0x644d88
dec eax
je 0x644d90
dec eax
je 0x644d98
dec eax
je 0x644da0
jmp 0x644da8
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
jmp 0x644db8
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
jmp 0x644db8
mov eax, dword [ebp - 0xc]
mov byte [eax], 2
jmp 0x644db8
mov eax, dword [ebp - 0xc]
mov byte [eax], 3
jmp 0x644db8
mov eax, dword [ebp - 0xc]
mov byte [eax], 4
jmp 0x644db8
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 0x644f48
Capabilities:
Check for vm using instruction vpcext

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

Function at 0x6482cc
Capabilities:
Hash data with md5

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

Function at 0x648d78
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 0x648dbd
lea eax, [ebp - 0x60]
call fcn.006482cc
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.006482f4
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.006483c4
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x648dbf
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x648de8
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 0x648dee
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x648dcd
lea eax, [ebp - 0x60]
call fcn.006482cc
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.006482f4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.00648c68
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.006483c4
lea eax, [ebp - 0x60]
call fcn.006482cc
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.006482f4
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.006482f4
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.006483c4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8