joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cac4
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405b54
push eax
call sub.kernel32.dll_GetFileAttributesW
pop ebx
ret

Function at 0x40cad8
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00405b54
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x40cafa
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x412324
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41235d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405c04
jmp 0x412366
mov eax, ebx
mov edx, esi
call fcn.00405ac8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x412370
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x412392
movzx eax, word [esp]
jmp 0x412394
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x412c68
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x412d8d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00412a7c
mov esi, eax
mov eax, dword [0x4e3f34]
cmp byte [eax], 0
je 0x412d35
mov eax, dword [0x4e3b38]
call fcn.00403570
call fcn.004031cc
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x412c44]
call fcn.004074c8
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x412da8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x412d71
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e3a9c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e7b50]
call fcn.004075bc
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412d94
lea eax, [ebp - 4]
mov edx, dword [0x412c44]
call fcn.004074d4
ret
Function at 0x4139e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x413ab6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405b1c
lea eax, [ebp - 4]
call fcn.00406538
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405b54
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x413aa0
mov eax, ebx
call fcn.00403064
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x413a99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405b54
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x413a83
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x413ac8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x413a83
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413aa0
mov eax, dword [ebp - 0x10]
call fcn.00403080
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413abd
lea eax, [ebp - 4]
call fcn.00405ab8
ret

Function at 0x4150bc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405394
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x415066
mov eax, edi
add eax, eax
call fcn.00403064
mov esi, eax
jmp 0x415068
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4150a1
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41508b
mov eax, esp
cmp esi, eax
je 0x4150ae
mov eax, esi
call fcn.00403080
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4150e8
cmp bl, 0
je 0x4150e4
cmp bl, 0x41
jl 0x4150df
cmp bl, 0x5a
jg 0x4150df
or bl, 0x20
xor al, bl
inc esi
jmp 0x4150c3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x415028

Function at 0x42bbe4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0042b8e8
dec esi
jne 0x42bc06
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42cdb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e9e98
cmp dword [edi], 0
jne 0x42ce2c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e9e94]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4d9d98
mov ecx, 2
call fcn.0040324c
mov edx, 0x42cd88
lea eax, [esi + 5]
call fcn.0042cda8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042cda8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42ce01
mov dword [0x4e9e94], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x455fbc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405b54
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x456014
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e4160]
mov dl, 1
mov eax, dword [0x455808]
call fcn.00412ecc
call fcn.00404788
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00455990
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45ae18
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x45ae72
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0045ae0c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00458100
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00457c64
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ae79
lea eax, [ebp - 4]
call fcn.00405ab8
ret
Function at 0x46ec60
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.0040366c
ret

Function at 0x47098c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
jmp 0x4709b9
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x470a38
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0046f2ec
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x470a06
mov cx, word [esp]
sub cx, si
jmp 0x470a08
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4709ef
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x470a2e
mov cx, word [esp]
sub cx, si
jmp 0x470a30
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x470a17
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x470a95
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0047066c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x470a80
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x470a95
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x470996
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x475f34
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
mov eax, 0xedb88320
xor esi, esi
mov ebx, dword [esp]
mov edx, esi
mov ecx, 0xfffffff8
mov edi, edx
and edi, 1
dec edi
jne 0x475f5a
shr edx, 1
xor edx, eax
jmp 0x475f5c
shr edx, 1
inc ecx
jne 0x475f4c
mov dword [ebx], edx
inc esi
add ebx, 4
cmp esi, 0x100
jne 0x475f45
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x475f74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x475f7d
mov eax, dword [ebp - 4]
add esp, 0xfffff7f0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00426e68
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
or esi, 0xffffffff
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
sub eax, dword [ebp + 8]
sub eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x47602a
cmp dword [ebp - 0xc], 0x2800
jl 0x475fd8
mov dword [ebp - 8], 0x2800
jmp 0x475fde
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x2814]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0x10]
jge 0x476022
mov eax, esi
shr eax, 8
and eax, 0xffffff
movzx edx, byte [ebp + ebx - 0x2814]
xor esi, edx
and esi, 0xff
xor eax, dword [esi*4 + 0x4eac34]
mov esi, eax
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x475ff9
mov eax, dword [ebp - 8]
sub dword [ebp - 0xc], eax
jmp 0x475fc0
mov ebx, esi
xor ebx, 0xffffffff
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47aef4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x47af0d
add esp, 0xfffffff0
call fcn.004041e4
mov dword [ebp - 4], ecx
mov byte [ebp - 9], dl
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405ab0
xor eax, eax
push ebp
push 0x47b091
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0x24], eax
mov byte [ebx + 0x21], 0
mov byte [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0xffffffff
lea eax, [ebx + 0x18]
xor edx, edx
call fcn.00405ac8
mov byte [ebx + 0x22], 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00454840
lea eax, [ebx + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebx + 0x14], eax
call fcn.00403dac
mov dl, 1
mov eax, dword [0x479e78]
call fcn.00426e08
mov esi, eax
mov dword [ebx + 0x14], esi
lea eax, [ebx + 0xc]
sub eax, 4
mov dword [eax], esi
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 4]
call fcn.00405ac8
cmp dword [ebx + 0x10], 0
je 0x47b060
mov edx, dword [ebx + 0x10]
mov eax, ebx
call fcn.0047ac6c
mov eax, dword [ebx + 0x10]
call fcn.0040c944
test al, al
jne 0x47b056
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x10]
call fcn.0040cdc8
mov eax, dword [ebp - 4]
test eax, eax
je 0x47afd8
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x47afd8
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004051e0
test eax, eax
je 0x47afe1
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47afed
mov eax, dword [ebp - 4]
call fcn.0047ad34
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
mov eax, dword [ebx + 0x10]
call fcn.00405b54
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x47b056
cmp dword [ebp + 8], 0
je 0x47b050
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], eax
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00407300
test eax, eax
jle 0x47b050
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00407300
push eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebx + 0x24], 0
je 0x47b060
mov byte [ebx + 0x21], 1
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x34], ebx
mov dword [eax + 0x30], 0x47ae58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b098
lea eax, [ebp - 8]
mov edx, dword [0x409ef0]
call fcn.004074d4
lea eax, [ebp - 4]
call fcn.00405ab8
ret

Function at 0x47b9b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
call fcn.00405ac8
push 0
push edi
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00405cc8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47b9fc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405cc8
add esp, 0x200
pop ebx
ret

Function at 0x47ba2c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push esp
push 0xff
call sub.kernel32.dll_GetTempPathW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405cc8
add esp, 0x200
pop ebx
ret

Function at 0x47ba58
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405cc8
add esp, 0x200
pop ebx
ret
Function at 0x47d324
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x47d3be
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + 0x4df4d0]
mov byte [ebp + edi], dl
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + 0x4df4d0]
push edx
pop edx
mov byte [ebp + edi + 1], dl
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + 0x4df4d0]
push edx
pop edx
mov byte [ebp + edi + 2], dl
movzx edx, byte [esi + ebx + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + 0x4df4d0]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x47d343
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x47d3d4
dec edx
je 0x47d409
jmp 0x47d45a
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + 0x4df4d0]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx eax, byte [eax + 0x4df4d0]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x47d45a
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + 0x4df4d0]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
movzx eax, byte [eax + 0x4df4d0]
mov byte [ebp + edi + 1], al
movzx eax, byte [esi + ebx + 1]
and al, 0xf
movzx eax, al
add eax, eax
add eax, eax
movzx eax, byte [eax + 0x4df4d0]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47d53c
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x47d55b
add edx, 3
sar edx, 2
test edx, edx
jle 0x47d669
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
movzx ecx, byte [edi + esi]
cmp ecx, 0x3d
jg 0x47d590
je 0x47d5d3
sub ecx, 0x2b
je 0x47d5c9
sub ecx, 4
je 0x47d5ce
dec ecx
sub ecx, 0xa
jb 0x47d5bb
jmp 0x47d5d6
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x47d5a2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x47d5ad
jmp 0x47d5d6
movzx ecx, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x47d5d6
movzx ecx, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x47d5d6
movzx ecx, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x47d5d6
mov byte [eax], 0x3e
jmp 0x47d5d6
mov byte [eax], 0x3f
jmp 0x47d5d6
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x47d573
movzx eax, byte [esp + 4]
add eax, eax
add eax, eax
movzx edx, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
movzx edx, byte [esp + 6]
cmp dl, 0xff
je 0x47d627
cmp byte [esp + 7], 0xff
jne 0x47d627
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x47d65e
cmp dl, 0xff
je 0x47d65e
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
movzx edx, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x47d56a
add esp, 0x10
pop ebp
pop edi
pop esi
ret

Function at 0x47e584
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x47e5a5
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x47e592
pop edi
pop esi
pop ebx
ret

Function at 0x482f88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
movzx ebx, dl
dec ebx
test ebx, ebx
jb 0x482fdc
inc ebx
xor edx, edx
mov ecx, edx
add ecx, ecx
add ecx, ecx
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x4e1750]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x4e1b50]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x4e1f50]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x4e2350]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x482f96
pop edi
pop esi
pop ebx
ret

Function at 0x4847f8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0040d364
add esp, 0x20c
pop ebx
ret
Function at 0x484bbc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x484c1e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1f4
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 4]
mov edx, 0x484c34
call fcn.00405b1c
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405b54
push eax
push 0x484c7c
push 0
push 0
call sub.shell32.dll_ShellExecuteW
push 0x32
call sub.kernel32.dll_Sleep_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484c25
lea eax, [ebp - 4]
call fcn.00405ab8
ret
Function at 0x4863ec
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4863f2
ret
Function at 0x48dfdc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x14]
mov edx, dword [0x416f84]
call fcn.004067c4
xor eax, eax
push ebp
push 0x48e19d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e2e2c], 0
jne 0x48e030
mov ecx, dword [0x4e3928]
mov dl, 1
mov eax, dword [0x409f48]
call fcn.00412e90
call fcn.00404788
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x10
call fcn.0040366c
mov eax, ebx
call fcn.004058d0
mov dword [ebp - 0x28], eax
push esi
mov esi, 0x48e1ac
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
call fcn.00407cb0
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
test eax, eax
je 0x48e077
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x48e143
mov dword [ebp - 0x1c], 0x20
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x48e12f
lea eax, [ebp - 4]
lea edx, [ebp - 0x5c]
mov ecx, 0x10
call fcn.00405cc8
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405d30
mov eax, dword [ebp - 4]
test eax, eax
je 0x48e0d2
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x48e0d2
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004051e0
mov ebx, eax
test ebx, ebx
je 0x48e0dd
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
test eax, eax
je 0x48e0fa
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x48e0fa
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004051e0
mov edi, eax
test edi, edi
je 0x48e105
sub edi, 4
mov edi, dword [edi]
push edi
mov eax, dword [ebp - 8]
call fcn.00405b54
push eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00405b54
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringW_1
sub eax, 2
test eax, eax
sete al
jmp 0x48e131
xor eax, eax
test al, al
je 0x48e13c
mov ebx, 0x15
jmp 0x48e148
mov ebx, 0x10
jmp 0x48e148
mov ebx, 0x15
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0
push esi
call dword [0x4e2e2c]
call fcn.0048de48
mov eax, dword [ebp - 0xc]
call fcn.0048de48
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00407cc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e1a4
lea eax, [ebp - 0x14]
mov edx, dword [0x416f84]
call fcn.0040689c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405ac0
ret