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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4aa929
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4aa904
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404ccc
lea eax, [ebp - 0x118]
mov edx, 0x4aa940
call fcn.00404dac
mov eax, dword [ebp - 0x118]
call fcn.00404fa4
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4aa876
lea eax, [ebp - 0x111]
call fcn.0040a018
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404bd4
jmp 0x4aa87d
mov eax, esi
call fcn.00404ae4
cmp bl, 0x61
jae 0x4aa89e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e0a0
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404b38
jmp 0x4aa8b8
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e014
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404b38
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4aa94c
call fcn.0040a710
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa90b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4b132c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f94
xor eax, eax
push ebp
push 0x4b138f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
call fcn.004b14bc
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4b1375
lea eax, [ebp - 4]
call fcn.004b14bc
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4b1379
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1396
lea eax, [ebp - 4]
call fcn.00404ae4
ret

Function at 0x4b13a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f94
xor eax, eax
push ebp
push 0x4b1405
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 4]
call fcn.004b14bc
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1e]
call fcn.0040a220
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b140c
lea eax, [ebp - 4]
call fcn.00404ae4
ret
Function at 0x4b1410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f94
xor eax, eax
push ebp
push 0x4b1475
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x108]
push eax
push 0
push 0x4b1480
lea eax, [ebp - 4]
call fcn.004b14bc
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x108]
call fcn.004b11e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b147c
lea eax, [ebp - 4]
call fcn.00404ae4
ret

Function at 0x4b1fc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404f94
xor eax, eax
push ebp
push 0x4b2127
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 4], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0xa]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.004b0c08
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1e]
mov edx, dword [ebp - 4]
mov word [edx + 0x1e], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 4]
mov word [edx + 0x22], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x22]
mov edx, dword [ebp - 4]
mov word [edx + 0x24], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x24]
mov edx, dword [ebp - 4]
mov word [edx + 0x26], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2a]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00409d6c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004b3510
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00409c50
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004b3598
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b212e
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404b08
ret
Function at 0x4b2134
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404f94
xor eax, eax
push ebp
push 0x4b229b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov word [eax + 4], 0
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa]
call fcn.004b0c08
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x12]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x16]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1a]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x20], ax
mov eax, dword [ebp - 4]
mov word [eax + 0x22], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x26], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
cmp dword [ebp - 0xc], 0
je 0x4b2256
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00409d6c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004b3510
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00409c50
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004b3598
jmp 0x4b226a
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b3510
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b3598
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b22a2
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404b08
ret
Function at 0x4b5ae8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x170]
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.004b5c40
mov edx, dword [ebp - 4]
mov dword [edx + 0x170], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0x174], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x174], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x174], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x174]
shr edx, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x178]
mov eax, dword [ebp - 4]
call fcn.004b5c40
mov edx, dword [ebp - 4]
mov dword [edx + 0x178], eax
pop ecx
pop ecx
pop ebp
ret
Function at 0x4b69d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b6bce
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0xffffffff
jle 0x4b6b87
mov eax, dword [ebp - 4]
call fcn.004b857c
cmp eax, dword [ebp - 8]
jle 0x4b6b87
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 8]
call fcn.004ae438
mov edx, dword [0x4b18ec]
call fcn.00403e80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.004b3410
test al, al
je 0x4b6b7d
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 0
jne 0x4b6b6d
xor eax, eax
push ebp
push 0x4b6b66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b70d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041cc68
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
push dword [eax + 0x34]
push dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x4e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov ebx, dword [eax]
call dword [ebx + 0xc]
movzx eax, word [ebp - 0x32]
movzx edx, word [ebp - 0x30]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00405130
mov eax, dword [ebp - 0xc]
call fcn.00404ffc
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 0x15], al
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b6da8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 0x15]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6bb8
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4b6b65
mov eax, dword [ebp - 4]
call fcn.004b7180
ret
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
call fcn.0040a220
jmp 0x4b6bb8
mov eax, dword [ebp - 0xc]
call fcn.00404ae4
jmp 0x4b6bb8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x58]
push eax
push 0
lea edx, [ebp - 0x5c]
mov eax, 0xb3
call fcn.004096cc
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [0x417cd0]
call fcn.0040d20c
call fcn.0040449c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6bd5
lea eax, [ebp - 0x5c]
call fcn.00404ae4
ret
Function at 0x4baa8c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4baab9
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4bab38
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004b5a90
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4bab06
mov cx, word [esp]
sub cx, si
jmp 0x4bab08
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4baaef
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4bab2e
mov cx, word [esp]
sub cx, si
jmp 0x4bab30
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4bab17
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4bab95
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004ba760
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4bab80
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4bab95
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4baa96
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4bd420
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 4], eax
call fcn.004bd268
test al, al
je 0x4bd451
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.004bd37c
test al, al
jne 0x4bd446
call fcn.0040e9e4
mov eax, dword [ebp - 0x40]
imul dword [ebp - 0x3c]
mov dword [ebp - 8], eax
jmp 0x4bd481
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404fa4
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
jne 0x4bd478
call fcn.0040e9e4
mov eax, dword [ebp - 0xc]
imul dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4c3ac8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e0], 0
je 0x4c3af5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
call fcn.004b0e94
test al, al
jne 0x4c3b16
lea eax, [ebp - 0x135]
push eax
push 0x12d
call sub.kernel32.dll_GetTempPathA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x135]
call fcn.004b11e8
jmp 0x4c3b27
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1e0]
call fcn.00404b38
mov esp, ebp
pop ebp
ret
Function at 0x4c4854
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x4c4898]
mov byte [ebp - 1], al
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c4870
or byte [ebp - 1], 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c4880
or byte [ebp - 1], 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c4890
or byte [ebp - 1], 2
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret

Function at 0x4c53d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x45808c]
call fcn.00403e5c
test al, al
je 0x4c541c
mov eax, dword [0x4da6d0]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x4c541c
mov eax, dword [0x4da6d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
xor edx, edx
call fcn.00475814
push 0
mov eax, dword [0x4da6d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x4c58a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4174a0]
call fcn.004054c4
xor eax, eax
push ebp
push 0x4c59e4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4da114], 0
jne 0x4c58f3
mov ecx, dword [0x4da270]
mov dl, 1
mov eax, dword [0x408208]
call fcn.0040d28c
call fcn.0040449c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004032dc
mov eax, ebx
call fcn.00405374
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4c59f4
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040660c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405384
test eax, eax
jle 0x4c598b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4c5984
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404d6c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404d54
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004090b4
test eax, eax
jne 0x4c5984
mov ebx, 0x15
jmp 0x4c5990
mov ebx, 0x10
jmp 0x4c5990
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4da114]
call fcn.004c57f8
mov eax, dword [ebp - 8]
call fcn.004c57f8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406624
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c59eb
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404b08
lea eax, [ebp - 0x10]
mov edx, dword [0x4174a0]
call fcn.00405594
ret
Function at 0x4cd538
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
call sub.kernel32.dll_GetVersion_1
cmp eax, 0x80000000
jae 0x4cd5a7
call sub.kernel32.dll_GetCurrentProcess
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x28
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0x18]
push eax
push 0x4cd5b4
push 0x4cd5c8
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x10
lea eax, [ebp - 0x28]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push 0xd
call sub.user32.dll_ExitWindowsEx
mov esp, ebp
pop ebp
ret

Function at 0x4cd5cc
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
call sub.kernel32.dll_GetVersion_1
cmp eax, 0x80000000
jae 0x4cd63b
call sub.kernel32.dll_GetCurrentProcess
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x28
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0x18]
push eax
push 0x4cd648
push 0x4cd65c
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x10
lea eax, [ebp - 0x28]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push 6
call sub.user32.dll_ExitWindowsEx
mov esp, ebp
pop ebp
ret

Function at 0x4cda84
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x40
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x48]
mov ecx, 0x40
call fcn.00404d54
mov esp, ebp
pop ebp
ret

Function at 0x4cdb88
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 1], 0
cmp dword [0x4dc0d0], 0
jne 0x4cdc16
push 0
mov eax, dword [0x4db668]
push eax
push 0x4cdab8
push 7
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dc0d0], eax
push 0
mov eax, dword [0x4db668]
push eax
push 0x4cdaec
push 2
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dc0d8], eax
call sub.kernel32.dll_GetVersion_1
cmp eax, 0x80000000
jae 0x4cdc09
push 0
mov eax, dword [0x4db668]
push eax
push 0x4cdb20
push 0xe
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dc0d4], eax
push 0
mov eax, dword [0x4db668]
push eax
push 0x4cdb54
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4dc0dc], eax
cmp dword [0x4dc0d0], 0
je 0x4cdc16
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x4d0e1c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404f94
xor eax, eax
push ebp
push 0x4d0ea0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d0eb4
push dword [ebp - 8]
push 0x4d0ec8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e64
push 0
push 0x4d0ee0
push 0x4d0ee0
mov eax, dword [ebp - 0xc]
call fcn.00404fa4
push eax
push 0x4d0ee4
mov eax, dword [ebp - 4]
call fcn.00462bb4
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0ea7
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404b08
ret

Function at 0x4d0eec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd18
xor ecx, ecx
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404f94
xor eax, eax
push ebp
push 0x4d1063
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, 0x4d1078
call fcn.00404df0
push 0xff
lea eax, [ebp - 0x115]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x2e8]
lea edx, [ebp - 0x115]
mov ecx, pe_nt_image_headers32
call fcn.00404d54
push dword [ebp - 0x2e8]
push 0x4d1090
push 0x4d10a4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e64
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 0xc]
call fcn.00409864
test al, al
je 0x4d103d
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x2e4]
call fcn.00403000
lea eax, [ebp - 0x2e4]
call fcn.00402d84
call fcn.00402954
jmp 0x4d0fdb
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x2e4]
call fcn.0040344c
lea eax, [ebp - 0x2e4]
call fcn.004034b8
call fcn.00402954
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00404ef0
jne 0x4d0fdb
mov byte [ebp - 0x15], 1
jmp 0x4d0fef
lea eax, [ebp - 0x2e4]
call fcn.0040326c
call fcn.00402954
test al, al
je 0x4d0faa
lea eax, [ebp - 0x2e4]
call fcn.004030c8
call fcn.00402954
cmp byte [ebp - 0x15], 0
jne 0x4d103d
lea eax, [ebp - 0x2e4]
call fcn.00402d9c
call fcn.00402954
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x2e4]
call fcn.004051c0
call fcn.0040372c
call fcn.00402954
lea eax, [ebp - 0x2e4]
call fcn.004030c8
call fcn.00402954
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d106a
lea eax, [ebp - 0x2e8]
call fcn.00404ae4
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404b08
ret