joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010cf4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1010e99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1010d2c
mov byte [ebp - 9], 0
jmp 0x1010e76
push 0xa
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.010036fc
mov eax, dword [ebp - 0x14]
call fcn.01005440
push eax
mov eax, dword [0x105ab4c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x1010d5b
mov byte [ebp - 9], 0
jmp 0x1010e76
push ebx
mov eax, dword [0x105ab4c]
push eax
call sub.kernel32.dll_LoadResource
test eax, eax
jne 0x1010d74
mov byte [ebp - 9], 0
jmp 0x1010e76
push eax
call sub.kernel32.dll_LockResource
mov edi, eax
test edi, edi
jne 0x1010d89
mov byte [ebp - 9], 0
jmp 0x1010e76
push ebx
mov eax, dword [0x105ab4c]
push eax
call sub.kernel32.dll_SizeofResource
mov esi, eax
test esi, esi
jne 0x1010da4
mov byte [ebp - 9], 0
jmp 0x1010e76
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, esi
call fcn.01004f78
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1010dd1
mov eax, ebx
sub eax, 0xa
cmp word [eax], 1
je 0x1010dd1
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.01004b60
mov ebx, eax
lea eax, [ebp - 4]
call fcn.01004f24
mov edx, eax
mov eax, edi
mov ecx, esi
call fcn.0100304c
push 0
mov ecx, dword [0x1057080]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x100a97c]
call fcn.0100ac14
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x1010e6f
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.010055c8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.0100ace4
test al, al
jne 0x1010e30
mov byte [ebp - 9], 0
call fcn.01004290
jmp 0x1010e76
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [0x100cc24]
call fcn.0100cea8
test eax, eax
jne 0x1010e50
mov byte [ebp - 9], 0
call fcn.01004290
jmp 0x1010e76
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1010e76
lea eax, [ebp - 0x10]
call fcn.010095f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1010ea0
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.010053ac
lea eax, [ebp - 4]
call fcn.01004980
ret
Function at 0x101ab78
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x101ac54
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 3
push 0
push 3
push 0
push 0x101ac70
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.01005530
push dword [ebp - 0x20]
push 0x101ac88
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.01005964
mov eax, dword [ebp - 0x1c]
call fcn.01005440
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x101ac39
xor eax, eax
push ebp
push 0x101ac32
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x2d1080
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x101ac1b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101ac39
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101ac5b
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.010053ac
ret
Function at 0x101ad38
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x101aecc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.01004980
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.01008e18
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x101aee0
call fcn.0100523c
mov eax, dword [ebp - 0x1c]
call fcn.010051f8
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x101aeb1
xor eax, eax
push ebp
push 0x101aeaa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 0xc
call fcn.01003424
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, 8
call fcn.01002ef4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x101ae8c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
push 8
mov eax, dword [ebp - 8]
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
jne 0x101ae17
call fcn.01004290
call fcn.01004290
jmp 0x101aeb1
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
lea eax, [ebp - 8]
call fcn.01002f28
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
jne 0x101ae5a
call fcn.01004290
call fcn.01004290
jmp 0x101aeb1
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x18]
cmp esi, 0xffffffff
je 0x101ae76
mov eax, ebx
mov edx, esi
add edx, dword [ebp - 8]
mov ecx, 0
call fcn.01004c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101ae93
mov eax, dword [ebp - 8]
call fcn.01002f10
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101aed3
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.01005058
ret

Function at 0x101b044
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x101b0ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [0x1057080]
mov edx, dword [edx]
call fcn.010053b4
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x208]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x101b0b5
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.010055ac
mov edx, dword [ebp - 0x20c]
mov eax, ebx
mov ecx, 0x101b0e8
call fcn.01005880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101b0d5
lea eax, [ebp - 0x20c]
call fcn.010053a4
ret
Function at 0x101b5a4
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.01004e9c
xor eax, eax
push ebp
push 0x101b6f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x101b5e7
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x101b5e7
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.01004b60
test eax, eax
je 0x101b5f0
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jne 0x101b60a
mov eax, ebx
mov edx, dword [0x105700c]
mov edx, dword [edx]
call fcn.010049d4
jmp 0x101b6db
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 6
push esi
mov eax, dword [ebp - 4]
call fcn.01004eac
push eax
call sub.crypt32.dll_CryptStringToBinaryA
test al, al
je 0x101b631
cmp dword [ebp - 8], 0
jne 0x101b645
mov eax, ebx
mov edx, dword [0x105700c]
mov edx, dword [edx]
call fcn.010049d4
jmp 0x101b6db
mov eax, ebx
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.01004f78
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.01004eac
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 4]
call fcn.01004eac
push eax
call sub.crypt32.dll_CryptStringToBinaryA
test al, al
jne 0x101b68b
mov eax, ebx
mov edx, dword [0x105700c]
mov edx, dword [edx]
call fcn.010049d4
jmp 0x101b6db
mov eax, dword [ebx]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x101b6a4
sub eax, 4
mov eax, dword [eax]
mov edi, eax
sub edi, 2
jl 0x101b6ca
inc edi
mov esi, 2
mov eax, ebx
call fcn.01004f24
mov edx, dword [ebx]
movzx edx, byte [edx + esi - 1]
sub dl, byte [ebp - 0x10]
mov byte [eax + esi - 1], dl
inc esi
dec edi
jne 0x101b6b1
mov eax, ebx
mov ecx, 1
mov edx, 1
call fcn.01004f2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101b6f8
lea eax, [ebp - 4]
call fcn.01004980
ret

Function at 0x101b700
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x101b72e
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.010055ac
jmp 0x101b73b
mov edx, ebx
mov eax, 0x101b74c
call dword [fcn.01055ae0]
add esp, 0x24
pop ebx
ret
Function at 0x101b978
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
lea edi, [ebp - 0x14]
mov byte [ebp - 1], 1
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.01005440
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x101b9bd
mov byte [ebp - 1], 0
jmp 0x101baeb
xor eax, eax
push ebp
push 0x101bae4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, esi
call fcn.01005440
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x101ba01
mov byte [ebp - 1], 0
call fcn.01004290
jmp 0x101baeb
xor eax, eax
push ebp
push 0x101bac6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x400
call fcn.01002ef4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x101baa8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push edi
push 0x400
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x101ba5b
mov byte [ebp - 1], 0
call fcn.01004290
call fcn.01004290
call fcn.01004290
jmp 0x101baeb
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edi]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x101ba87
mov byte [ebp - 1], 0
call fcn.01004290
call fcn.01004290
call fcn.01004290
jmp 0x101baeb
cmp dword [edi], 0
je 0x101ba92
cmp dword [ebp - 0x18], 0
jne 0x101ba2a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101baaf
mov eax, dword [ebp - 0x10]
call fcn.01002f10
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101bb44
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
mov eax, ebx
mov edx, dword [0x1057080]
mov edx, dword [edx]
call fcn.010053b4
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x101bbe5
xor eax, eax
push ebp
push 0x101bbde
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x101bb8b
call fcn.01004290
jmp 0x101bbe5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x101bbc4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, esi
call fcn.01005570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101bbcb
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x101bbec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x101bc07
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov edx, dword [0x1011880]
call fcn.01006630
push 0xe
push ebx
push edi
call sub.kernel32.dll_FindResourceW
mov esi, eax
test esi, esi
je 0x101bd03
push esi
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x101bd03
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101bd03
mov eax, dword [ebp - 8]
cmp word [eax + 2], 1
jne 0x101bd03
mov eax, dword [ebp - 8]
movzx eax, word [eax + 4]
dec eax
test eax, eax
jl 0x101bd03
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
push 3
mov eax, dword [ebp - 0xc]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 8]
movzx eax, word [edx + eax*2 + 0x12]
push eax
push edi
call sub.kernel32.dll_FindResourceW
mov esi, eax
test esi, esi
je 0x101bcf7
push esi
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x101bcf7
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
test ebx, ebx
je 0x101bcf7
mov eax, ebx
cmp dword [eax + 4], 0x18
jl 0x101bcf7
cmp word [eax + 0xe], 0x20
jne 0x101bcf7
push esi
push edi
call sub.kernel32.dll_SizeofResource
sub eax, 0x28
mov esi, eax
test esi, esi
jle 0x101bcf7
add ebx, 0x28
push esi
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x1011880]
call fcn.01006624
add esp, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, ebx
mov ecx, esi
call fcn.0100304c
jmp 0x101bd03
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x101bc73
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101bd20
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x101bd3a
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x101be9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.01003268
mov eax, dword [ebp - 0x1c]
call fcn.01005440
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x101be87
xor eax, eax
push ebp
push 0x101be80
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0x1000002
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x101be69
xor eax, eax
push ebp
push 0x101be62
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x101be4b
xor eax, eax
push ebp
push 0x101be44
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x101bd0c
push 0xe
mov ebx, dword [ebp - 0x10]
push ebx
call sub.kernel32.dll_EnumResourceNamesW
mov edx, dword [0x1011880]
mov eax, dword [ebp - 4]
call fcn.01006630
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0101bbec
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0100645c
test eax, eax
setg byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101be4b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101be69
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101be87
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101bea4
lea eax, [ebp - 0x1c]
call fcn.010053a4
ret
Function at 0x101c1d8
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x101c2b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x101c29e
xor eax, eax
push ebp
push 0x101c297
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x20]
mov eax, 0x101c2d0
call dword [fcn.01055ae0]
mov eax, dword [ebp - 0x20]
call fcn.01005440
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
test eax, eax
je 0x101c280
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
je 0x101c280
push 0x20012
push 6
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101c29e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101c2bb
lea eax, [ebp - 0x20]
call fcn.010053a4
ret

Function at 0x101c2f8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101c3a2
xor eax, eax
push ebp
push 0x101c39b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80000100
push 0
push 0
mov eax, ebx
call fcn.01005440
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x101c384
xor eax, eax
push ebp
push 0x101c37d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101c384
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101c3a2
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101c948
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0100539c
xor eax, eax
push ebp
push 0x101ca8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [0x1057080]
mov edx, dword [edx]
call fcn.010053b4
mov eax, dword [ebp - 4]
test eax, eax
je 0x101c99b
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x101c99b
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.01004b30
mov ebx, eax
test ebx, ebx
je 0x101c9a6
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
push 0
push 1
push ebx
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.010055f0
mov eax, dword [ebp - 0xc]
call fcn.01004eac
push eax
call sub.crypt32.dll_CryptBinaryToStringW
test al, al
je 0x101ca61
cmp dword [ebp - 8], 0
jbe 0x101ca61
mov edx, dword [ebp - 8]
dec edx
mov eax, esi
call fcn.01005728
mov eax, dword [ebp - 4]
test eax, eax
je 0x101ca07
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x101ca07
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.01004b30
mov ebx, eax
test ebx, ebx
je 0x101ca12
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
call fcn.01005440
push eax
push 1
push ebx
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.010055f0
mov eax, dword [ebp - 0x10]
call fcn.01004eac
push eax
call sub.crypt32.dll_CryptBinaryToStringW
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x1057080]
mov ecx, dword [ecx]
mov eax, dword [esi]
mov edx, 0x101caa8
call fcn.01009700
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.010053b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101ca93
lea eax, [ebp - 0x14]
call fcn.010053a4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.010049a4
lea eax, [ebp - 4]
call fcn.010053a4
ret
Function at 0x101cab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x101cb9e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
mov ecx, 0
call fcn.010055f0
lea eax, [ebp - 8]
mov edx, edi
mov ecx, 0
call fcn.010055f0
mov eax, dword [ebp - 8]
test eax, eax
je 0x101cb13
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x101cb13
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.01004b60
test eax, eax
je 0x101cb1c
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x101cb3e
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x101cb3e
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.01004b60
test eax, eax
je 0x101cb47
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x101cb78
mov ebx, 1
lea eax, [ebp - 4]
call fcn.01004f24
lea eax, [eax + ebx - 1]
push eax
mov eax, ebx
dec eax
cdq
idiv dword [ebp - 0x10]
movzx eax, word [edi + edx*2]
mov edx, dword [ebp - 4]
xor al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
inc ebx
dec esi
jne 0x101cb52
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.010055c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101cba5
lea eax, [ebp - 8]
mov edx, 2
call fcn.010049a4
ret

Function at 0x101cd34
Capabilities:
Get system information on windows

Disassembly:
push ebx
add esp, 0xfffffec0
xor ebx, ebx
mov eax, esp
xor ecx, ecx
mov edx, 0x11c
call fcn.01003424
mov dword [esp], 0x11c
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x101cdd1
mov eax, dword [esp + 4]
sub eax, 5
je 0x101cd6a
dec eax
je 0x101cdb8
jmp 0x101cdd1
mov eax, dword [esp + 8]
sub eax, 1
jb 0x101cd7a
je 0x101cd81
dec eax
je 0x101cd88
jmp 0x101cdd1
mov ebx, 5
jmp 0x101cdd1
mov ebx, 6
jmp 0x101cdd1
lea eax, [esp + 0x11c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
cmp byte [esp + 0x11a], 1
jne 0x101cdb1
cmp word [esp + 0x11c], 9
jne 0x101cdb1
mov ebx, 6
jmp 0x101cdd1
mov ebx, 7
jmp 0x101cdd1
mov eax, dword [esp + 8]
sub eax, 1
jb 0x101cdc5
je 0x101cdcc
jmp 0x101cdd1
mov ebx, 8
jmp 0x101cdd1
mov ebx, 9
mov eax, ebx
add esp, 0x140
pop ebx
ret

Function at 0x103c484
Capabilities:
Identify system language via api

Disassembly:
call sub.kernel32.dll_GetUserDefaultLangID
mov ecx, eax
xor edx, edx
mov eax, dword [0x1057024]
add eax, 4
cmp cx, word [eax]
je 0x103c4a5
inc edx
add eax, 0xc
cmp edx, 5
jne 0x103c495
xor edx, edx
mov eax, edx
ret