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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x429e79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00429164
test al, al
je 0x429e47
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004292fc
mov eax, dword [ebp - 4]
call fcn.0040514c
push eax
call sub.kernel32.dll_GetFileAttributesW
jmp 0x429e54
mov eax, ebx
call fcn.00404d94
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x429e5d
test al, 0x10
jne 0x429e61
xor ebx, ebx
jmp 0x429e63
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429e80
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x42a168
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x42a170
mov eax, dword [esp + 0x8000]
add esp, 4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004048b8
push 0x7ffe
lea eax, [esp + 4]
push eax
mov eax, esi
call fcn.00404d94
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov eax, ebx
mov edx, esp
mov ecx, 0x8000
call fcn.00404b28
add esp, 0x8000
pop esi
pop ebx
ret

Function at 0x42a208
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov edi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x42a2bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [edi], 0
je 0x42a2a0
call sub.kernel32.dll_GetLogicalDrives
mov dword [ebp - 0xc], eax
xor esi, esi
mov eax, esi
cmp eax, 0x1f
ja 0x42a24b
bt dword [ebp - 0xc], eax
jae 0x42a29a
mov ebx, esi
add bl, 0x61
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404aa0
lea eax, [ebp - 0x10]
mov edx, 0x42a2d4
call fcn.00404b9c
mov eax, dword [ebp - 0x10]
call fcn.00404d94
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp al, byte [ebp - 1]
jne 0x42a29a
mov eax, ebx
call fcn.004032ec
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404aa0
mov edx, dword [ebp - 0x14]
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 8]
inc esi
cmp esi, 0x1a
jne 0x42a240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a2c2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004048dc
ret
Function at 0x42b7c8
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]
test edi, edi
jne 0x42b7f2
cmp dword [ebx + 0x64], 0
jne 0x42b7f2
cmp dword [ebx + 0x6c], 0
jne 0x42b7f2
mov edi, esi
jmp 0x42b879
cmp edi, 0xffffffff
jne 0x42b7fa
dec edi
jmp 0x42b879
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x42b879
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0042ab3c
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 0x42b847
mov cx, word [esp]
sub cx, si
jmp 0x42b849
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x42b830
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 0x42b86f
mov cx, word [esp]
sub cx, si
jmp 0x42b871
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x42b858
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x42b8d6
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0042b55c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x42b8c1
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 0x42b8d6
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x42b7d2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430134
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, 8
mov edx, 0x3020100
mov dword [eax], edx
add edx, 0x4040404
mov dword [eax + 4], edx
add edx, 0x4040404
mov dword [eax + 8], edx
add edx, 0x4040404
mov dword [eax + 0xc], edx
add edx, 0x4040404
mov dword [eax + 0x10], edx
add edx, 0x4040404
mov dword [eax + 0x14], edx
add edx, 0x4040404
mov dword [eax + 0x18], edx
add edx, 0x4040404
mov dword [eax + 0x1c], edx
add edx, 0x4040404
add eax, 0x20
dec ecx
jne 0x43013e
ret
Function at 0x430c68
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
test dl, dl
je 0x430c8a
add esp, 0xfffffff0
call fcn.00403e04
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x430dc2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x10]
mov edx, esi
call fcn.0040490c
push 0
push 3
push 0x22000000
push 0
mov eax, dword [ebx + 0x10]
call fcn.00404d94
mov ecx, 3
mov edx, 0x80
call fcn.004297c0
mov esi, eax
mov dword [ebx + 4], esi
cmp esi, 0xffffffff
jne 0x430d08
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x20]
call fcn.0040ea48
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, 0x430df0
mov dl, 1
mov eax, dword [0x4308f4]
call fcn.0040f29c
call fcn.0040426c
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x10]
call fcn.0040b7e0
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0xc]
call fcn.0040490c
mov eax, dword [ebx + 0xc]
call fcn.00430b04
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov edx, dword [ebx + 0xc]
lea eax, [ebp - 0x28]
mov ecx, 0x430e20
call fcn.00404be0
mov eax, dword [ebp - 0x28]
call fcn.00404d94
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x430d66
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x3c], eax
imul dword [ebp - 8]
mov dword [ebx + 0x38], eax
jmp 0x430d99
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x2c]
call fcn.0040ea48
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, 0x430e2c
mov dl, 1
mov eax, dword [0x4308f4]
call fcn.0040f29c
call fcn.0040426c
mov eax, ebx
call fcn.00431274
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430dc9
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.004048dc
ret
Function at 0x431d18
Capabilities:
Get volume information via ioctl

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff40
push ebx
xor eax, eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], eax
xor eax, eax
push ebp
push 0x431efb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
push 0x60
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x90064
mov eax, dword [0x466154]
push eax
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x431ea0
mov eax, dword [ebp - 0x54]
add eax, 0xd
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00402d80
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x431e99
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xb8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00431b04
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 8
lea eax, [ebp - 0xc]
push eax
push 0x90068
mov eax, dword [0x466154]
push eax
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x431e80
mov eax, dword [ebp - 0x10]
add eax, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x14]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x431e72
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x80
jne 0x431e66
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x14]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 0x10]
mov eax, ebx
xor edx, edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
cmp edx, dword [ecx + 0x1c]
jne 0x431e66
cmp eax, dword [ecx + 0x18]
jne 0x431e66
mov eax, dword [ebp + 8]
cmp ebx, dword [eax - 8]
ja 0x431e66
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
mov eax, dword [ebp - 0x20]
mov ecx, ebx
call fcn.00403054
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
call fcn.00404318
jmp 0x431edd
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jg 0x431e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431ea0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00402db0
ret
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0xc0]
call fcn.0040ea48
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
mov edx, 0x431f10
call fcn.00404be0
mov ecx, dword [ebp - 0xbc]
mov dl, 1
mov eax, dword [0x4308f4]
call fcn.0040f260
call fcn.0040426c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431f02
lea eax, [ebp - 0xc0]
mov edx, 2
call fcn.004048dc
ret
Function at 0x433638
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4336c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004048b8
mov eax, 0x104
call fcn.00402d80
mov ebx, eax
push 0x104
push ebx
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jbe 0x4336a4
lea eax, [ebp - 0x104]
mov edx, ebx
call fcn.004035c0
lea edx, [ebp - 0x104]
lea eax, [ebp - 4]
call fcn.00404b1c
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, 0x4336d8
call fcn.00404be0
mov eax, ebx
call fcn.00402db0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4336c8
lea eax, [ebp - 4]
call fcn.004048b8
ret

Function at 0x433850
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x433978
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x433990
call fcn.0040490c
xor eax, eax
push ebp
push 0x43394b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404950
lea eax, [ebp - 8]
call fcn.00404de4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d94
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x433941
mov eax, ebx
call fcn.00402d80
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43393a
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 - 8]
call fcn.00404d94
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x433924
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x433994
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x433924
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004337ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433941
mov eax, dword [ebp - 0x10]
call fcn.00402db0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x433962
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43397f
lea eax, [ebp - 8]
call fcn.004048b8
ret
Function at 0x4339a8
Capabilities:
Shutdown system

Disassembly:
push ebx
push esi
add esp, 0xffffff54
mov esi, eax
xor ebx, ebx
lea eax, [esp + 0x9c]
xor ecx, ecx
mov edx, 0x10
call fcn.004034cc
mov dword [esp + 8], 0x94
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x18], 2
je 0x4339f3
push 0
movzx eax, si
push eax
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x433a6b
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x433a6b
lea eax, [esp + 0xa0]
push eax
push 0x433a78
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x433a6b
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa8], 2
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xa0]
push eax
push 0x10
lea eax, [esp + 0xa8]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
je 0x433a6b
push 0
movzx eax, si
push eax
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
add esp, 0xac
pop esi
pop ebx
ret

Function at 0x433a8c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d84
xor eax, eax
push ebp
push 0x433b93
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004034cc
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.004034cc
mov dword [ebp - 0x48], 0x44
cmp ebx, 0xffffffff
je 0x433aeb
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], bx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d94
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x433b55
mov eax, dword [ebp - 4]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x6c]
call fcn.0040ea48
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea eax, [ebp - 0x68]
push eax
push 1
mov ecx, 0x433ba8
mov dl, 1
mov eax, dword [0x40a6c0]
call fcn.0040f29c
call fcn.0040426c
jmp 0x433b75
test esi, esi
jle 0x433b63
push esi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433b9a
lea eax, [ebp - 0x6c]
call fcn.004048b8
lea eax, [ebp - 4]
call fcn.004048b8
ret
Function at 0x434574
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
call fcn.004343fc
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x4347a8
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
xor eax, eax
push ebp
push 0x43479b
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
push 0x45e350
push 4
push 0
push 0x4347d0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
push 4
push 0x45e34c
push 4
push 0
push 0x4347d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
push 4
push 0x45e354
push 4
push 0
push 0x4347e0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
push 0x1a
push 0x4347f0
push 2
push 0
push 0x43480c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x434818
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
xor eax, eax
push ebp
push 0x43477d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x14
push 0x434824
push 1
push 0
push 0x43483c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x434824
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
xor eax, eax
push ebp
push 0x43475f
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
push 0x43484c
push 1
push 0
push 0x434854
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
push 4
push 0x45e358
push 4
push 0
push 0x434860
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434766
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
Function at 0x4349f4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x434a8a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0xc10], 0x40
jge 0x434a53
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x43495c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov esi, eax
test esi, esi
setne al
neg al
sbb eax, eax
call fcn.00410a48
lea eax, [ebx + 0xc10]
push eax
call sub.kernel32.dll_InterlockedIncrement_1
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x434a74
lea edx, [ebp - 8]
mov eax, 0xa4
call fcn.0040ea48
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x433e6c]
call fcn.0040f260
call fcn.0040426c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434a91
lea eax, [ebp - 8]
call fcn.004048b8
ret

Function at 0x434d60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x434f43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404b94
cmp eax, 3
jl 0x434db5
cmp byte [esi + 1], 0x3a
jne 0x434db5
cmp byte [esi + 2], 0x5c
je 0x434df8
lea edx, [ebp - 0x114]
mov eax, dword [0x461ff0]
call fcn.00406904
push dword [ebp - 0x114]
push 0x434f5c
push esi
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00404c54
mov ecx, dword [ebp - 0x110]
mov dl, 1
mov eax, dword [0x433e6c]
call fcn.0040f260
call fcn.0040426c
cmp word [ebx + 0xc1a], 0
je 0x434e18
mov ecx, 0x434f68
mov dl, 1
mov eax, dword [0x433e6c]
call fcn.0040f260
call fcn.0040426c
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc1c], eax
lea eax, [ebp - 4]
push eax
mov ecx, 2
mov edx, 1
mov eax, esi
call fcn.00404df4
push 0x104
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d94
push eax
call sub.kernel32.dll_QueryDosDeviceA
test eax, eax
seta al
neg al
sbb eax, eax
call fcn.00410a48
lea eax, [ebp - 0x118]
push eax
mov ecx, BaseThreadInitThunk
mov edx, 3
mov eax, esi
call fcn.00404df4
mov eax, dword [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404b28
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 8]
pop ecx
call fcn.00404be0
push 0x600
lea eax, [ebx + 8]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.00404d94
push eax
push 0
push 3
call sub.kernel32.dll_MultiByteToWideChar_1
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.00404b94
inc eax
cmp esi, eax
sete al
neg al
sbb eax, eax
call fcn.00410a48
lea eax, [ebx + 0xc08]
mov edx, dword [ebp - 4]
call fcn.0040513c
push 0
push 0
push 0
mov eax, dword [ebx + 0xc08]
call fcn.0040514c
push eax
push 0x434f84
call dword [0x466194]
call fcn.00433cb4
mov byte [ebx + 0xc20], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434f4a
lea eax, [ebp - 0x11c]
mov edx, 4
call fcn.004048dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048dc
ret
Function at 0x436528
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x45e364
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x4365ec
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x436560
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x436603
dec edx
je 0x436644
jmp 0x4366a1
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x4366a1
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret