joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4210a4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi

Function at 0x4212d0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x421513
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.0040a7b4
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov ebx, eax
test ebx, ebx
jne 0x4213a7
cmp dword [ebp - 0x14], 0
jne 0x4213a7
xor edx, edx
mov eax, 6
call fcn.004296d4
test al, al
je 0x4213a7
push 2
push 0x104
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFinalPathNameByHandleW
test eax, eax
jbe 0x4213a7
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040b2a8
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.004210a4
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.0040ab94
mov byte [ebp - 9], 1
jmp 0x4214f3
test ebx, ebx
jne 0x4213b5
cmp dword [ebp - 0x14], 0
je 0x4214a7
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x4214a7
xor eax, eax
push ebp
push 0x4214a0
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x421487
xor eax, eax
push ebp
push 0x421480
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.KERNEL32.DLL_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.00413b08
test eax, eax
jbe 0x421467
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040b2a8
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.004210a4
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.0040ab94
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421487
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4214a7
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle
pop eax
jmp eax
cmp byte [ebp - 9], 0
jne 0x4214f3
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.004211e4
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.0040ab94
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x4214f3
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004210a4
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.0040ab94
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42151a
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.0040a814
pop eax
jmp eax
Function at 0x421524
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.004296d4
test al, al
je 0x4215ee
xor edx, edx
mov eax, ebx
call fcn.00422d8c
test al, al
je 0x4215ee
mov eax, ebx
call fcn.00422ac0
test al, 0x20
je 0x4215ee
mov eax, ebx
call fcn.0040b208
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4215ee
test ah, 4
je 0x4215ee
test al, 0x10
je 0x42158b
mov edi, 0x2000000
jmp 0x42158d
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040b208
push eax
call sub.KERNEL32.DLL_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4215ee
xor eax, eax
push ebp
push 0x4215e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.004212d0
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4215ee
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x421794
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4217ed
test eax, edx
je 0x4217f0
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4217ab
movzx eax, word [eax]
sub eax, ecx
jmp 0x4217d2
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4217d3
add ecx, 4
js 0x4217c3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4217d0
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4217d2
xor eax, eax
ret
test eax, eax
je 0x4217fc
test edx, edx
jne 0x42179c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x422ac0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x422c22
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x422a60]
call fcn.0040d144
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x422a90]
call fcn.0040d144
add esp, 4
mov bl, 0
mov dl, 1
mov eax, esi
call fcn.00422e24
test al, al
jne 0x422b36
mov dl, 1
mov eax, esi
call fcn.00422d8c
test al, al
je 0x422bc0
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.004233a4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.00429c30
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b208
mov esi, eax
push esi
call sub.KERNEL32.DLL_GetVolumeInformationW
test eax, eax
je 0x422bbb
test byte [ebp - 0x14], 1
je 0x422b86
or bl, 1
test byte [ebp - 0x14], 2
je 0x422b8f
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x422b98
or bl, 0x20
push esi
call sub.KERNEL32.DLL_GetDriveTypeW
sub eax, 2
je 0x422bac
dec eax
je 0x422bb1
dec eax
je 0x422bb6
dec eax
jne 0x422be1
or bl, 0x10
jmp 0x422be1
or bl, 4
jmp 0x422be1
or bl, 8
jmp 0x422be1
call fcn.0042aa40
lea edx, [ebp - 0x20]
mov eax, dword [0x510d38]
call fcn.004101a0
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41b0e4]
call fcn.00428500
call fcn.00409eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422c29
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040a814
lea eax, [ebp - 0xc]
mov edx, dword [0x422a90]
call fcn.0040d268
lea eax, [ebp - 8]
mov edx, dword [0x422a60]
call fcn.0040d268
lea eax, [ebp - 4]
call fcn.0040a7b4
pop eax
jmp eax

Function at 0x422c8c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x422cb9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x422d8c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040b208
mov edi, eax
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422df6
test ah, 4
je 0x422def
test bl, bl
jne 0x422db4
mov al, 1
jmp 0x422e1d
test al, 0x10
je 0x422dbc
xor eax, eax
jmp 0x422e1d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x422de0
push eax
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
jmp 0x422e1d
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x422e1d
test al, 0x10
sete al
jmp 0x422e1d
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x422e17
cmp ebx, 3
je 0x422e17
cmp ebx, 0x7b
je 0x422e17
mov eax, esi
call fcn.00422d4c
test al, al
jne 0x422e1b
xor eax, eax
jmp 0x422e1d
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x422e24
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040b208
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x422ec2
test esi, 0x400
jne 0x422e59
test esi, 0x10
setne bl
jmp 0x422ec2
cmp byte [esp], 0
je 0x422e8d
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x422ec2
push eax
call sub.KERNEL32.DLL_CloseHandle
test esi, 0x10
setne bl
jmp 0x422ec2
test esi, 0x10
je 0x422e99
mov bl, 1
jmp 0x422ec2
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x422ec0
push eax
call sub.KERNEL32.DLL_CloseHandle
xor ebx, ebx
jmp 0x422ec2
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x422ecc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x422f73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b208
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x422f56
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.00421524
test al, al
je 0x422f56
mov eax, dword [ebp - 4]
call fcn.004234b4
test al, al
je 0x422f46
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004232d8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00429c30
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.0040b458
mov eax, dword [ebp - 4]
call fcn.0040b208
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422f7a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a814
pop eax
jmp eax
Function at 0x422f84
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x423059
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040abdc
cmp byte [ebp - 9], 0
je 0x423015
mov eax, ebx
call fcn.0040b208
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
test ah, 4
je 0x423015
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00421524
test al, al
je 0x423015
mov eax, dword [ebp - 8]
call fcn.004234b4
test al, al
je 0x42300a
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004232d8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00429c30
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040b458
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040abdc
push edi
mov eax, dword [ebp - 4]
call fcn.0040b208
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
test eax, eax
jne 0x42302f
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423060
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a814
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a814
pop eax
jmp eax

Function at 0x423198
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040b208
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4231ed
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4231e7
test ah, 4
je 0x4231e7
test al, 0x10
je 0x4231e7
mov eax, esi
call fcn.0040b208
push eax
call sub.KERNEL32.DLL_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4231ed
push edi
call sub.KERNEL32.DLL_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x427040
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
test eax, eax
jle 0x427079
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a93c
jmp 0x427082
mov eax, ebx
mov edx, esi
call fcn.0040ab94
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42708c
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
test eax, eax
jle 0x4270ae
movzx eax, word [esp]
jmp 0x4270b0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4283b0
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 0x4284d7
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004281b8
mov esi, eax
mov eax, dword [0x510cbc]
cmp byte [eax], 0
je 0x42847d
mov eax, dword [0x510ae0]
call fcn.00407d00
call fcn.0040702c
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
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x428380]
call fcn.0040d144
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
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4284f0
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4284b9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x510aa4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x514634]
call fcn.0040d534
push eax
call sub.user32.dll_LoadStringW
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 0x4284de
lea eax, [ebp - 4]
mov edx, dword [0x428380]
call fcn.0040d268
pop eax
jmp eax
Function at 0x429700
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x429804
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040abdc
lea eax, [ebp - 4]
call fcn.0040ad50
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b208
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4297ec
mov eax, ebx
call fcn.00406eb8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4297e5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b208
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4297cd
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x429818
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4297cd
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4297ec
mov eax, dword [ebp - 0x10]
call fcn.00406ed4
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42980b
lea eax, [ebp - 4]
call fcn.0040a7b4
pop eax
jmp eax

Function at 0x42a888
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.0040ac90
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410248
mov edi, eax
cmp edi, 0x104
jbe 0x42a833
mov eax, edi
add eax, eax
call fcn.00406eb8
mov esi, eax
jmp 0x42a835
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410248
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42a86e
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 0x42a858
mov eax, esp
cmp esi, eax
je 0x42a87b
mov eax, esi
call fcn.00406ed4
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 0x42a8b4
cmp bl, 0
je 0x42a8b0
cmp bl, 0x41
jl 0x42a8ab
cmp bl, 0x5a
jg 0x42a8ab
or bl, 0x20
xor al, bl
inc esi
jmp 0x42a88f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42a7f4

Function at 0x42b1ac
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040b2a8
add esp, 0x800
pop ebx
ret
Function at 0x48a188
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x48a190
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c87cc
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c881a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c7db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c8833
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4f87f8
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 0x4f8892
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
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 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
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 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
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 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x4f8817
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x4f88a8
dec edx
je 0x4f88dd
jmp 0x4f892e
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x4f892e
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
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 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
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 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
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 0x4f8a40
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 0x4f8a5f
add edx, 3
sar edx, 2
test edx, edx
jle 0x4f8b6d
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
movzx ecx, byte [edi + esi]
cmp ecx, 0x3d
jg 0x4f8a94
je 0x4f8ad7
sub ecx, 0x2b
je 0x4f8acd
sub ecx, 4
je 0x4f8ad2
dec ecx
sub ecx, 0xa
jb 0x4f8abf
jmp 0x4f8ada
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4f8aa6
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4f8ab1
jmp 0x4f8ada
movzx ecx, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4f8ada
movzx ecx, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4f8ada
movzx ecx, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4f8ada
mov byte [eax], 0x3e
jmp 0x4f8ada
mov byte [eax], 0x3f
jmp 0x4f8ada
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4f8a77
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 0x4f8b2b
cmp byte [esp + 7], 0xff
jne 0x4f8b2b
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 0x4f8b62
cmp dl, 0xff
je 0x4f8b62
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 0x4f8a6e
add esp, 0x10
pop ebp
pop edi
pop esi
ret