joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4793d8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x537bf4]
cmp dword [eax + 0x30], 0
je 0x479482
cmp dword [ebx + 0x94], 0
jne 0x47947c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x479368
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47947c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x479442
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47947c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d2ec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x479451
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x479fe0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x47a015
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404dd8
jmp 0x47a022
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47b16c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47b1ad
mov eax, esi
call fcn.00460904
test al, al
je 0x47b1ad
mov eax, dword [ebx + 0x84]
call fcn.00460600
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47b1ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.00460600
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47ba50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405198
xor eax, eax
push ebp
push 0x47bafc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404fa8
cmp eax, 1
jl 0x47bae6
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
sub eax, 1
jno 0x47ba92
call fcn.00403dd4
test eax, eax
jl 0x47badd
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dl, byte [eax + edx - 1]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov al, byte [ecx + eax]
call fcn.0047ba48
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov byte [ecx + edx], al
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
xor byte [ecx + edx], al
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x47baa1
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jne 0x47ba85
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bb03
lea eax, [ebp - 4]
call fcn.00404ce8
ret
Function at 0x488710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x488718
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48890a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x488920
mov eax, esi
call fcn.004864a0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404d3c
lea ecx, [ebp - 0x10]
mov edx, 0x488934
mov eax, esi
call fcn.004864a0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404d3c
lea ecx, [ebp - 0x14]
mov edx, 0x48894c
mov eax, esi
call fcn.004864a0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404d3c
lea ecx, [ebp - 0x18]
mov edx, 0x488968
mov eax, esi
call fcn.004864a0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404d3c
lea ecx, [ebp - 0x1c]
mov edx, 0x488984
mov eax, esi
call fcn.004864a0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404d3c
lea ecx, [ebp - 0x24]
mov edx, 0x48899c
mov eax, esi
call fcn.004864a0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409714
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409c54
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4889b4
mov eax, esi
call fcn.004864a0
mov eax, dword [ebp - 0x28]
call fcn.00485580
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4889c4
mov eax, esi
call fcn.004864a0
mov eax, dword [ebp - 0x2c]
call fcn.00485580
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4889dc
mov eax, esi
call fcn.004864a0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409c54
inc eax
je 0x4888ad
lea ecx, [ebp - 0x34]
mov edx, 0x4889dc
mov eax, esi
call fcn.004864a0
mov eax, dword [ebp - 0x34]
call fcn.00409c18
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b4cc
fstp qword [ebp - 0x3c]
wait
call fcn.0040b8ac
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4888c8
lea ecx, [ebp - 0x40]
mov edx, 0x4889dc
mov eax, esi
call fcn.004864a0
mov eax, dword [ebp - 0x40]
call fcn.00485580
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4889ec
mov eax, esi
call fcn.004864a0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404d3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488911
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404d0c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404d0c
ret
Function at 0x494ba8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x494c02
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00494b98
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004841ec
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00483dec
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494c09
lea eax, [ebp - 4]
call fcn.00404ce8
ret

Function at 0x498004
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49809a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409fe4
test al, al
je 0x498041
mov eax, dword [ebp - 8]
call fcn.004051a8
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
je 0x498051
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a12c
mov byte [ebp - 9], al
jmp 0x498084
lea eax, [ebp - 0x10]
mov ecx, 0x4980b0
mov edx, dword [ebp - 8]
call fcn.00404ff4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0040a12c
test al, al
je 0x498080
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a12c
mov byte [ebp - 9], al
jmp 0x498084
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4980a1
lea eax, [ebp - 0x10]
call fcn.00404ce8
ret
Function at 0x498dc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405198
xor eax, eax
push ebp
push 0x498e56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404ce8
mov eax, dword [ebp - 4]
call fcn.00404fa8
test eax, eax
jle 0x498e38
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
xor dl, 0xff
call fcn.00404ed0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00404fb0
mov eax, dword [ebp - 8]
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x498e0d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498e5d
lea eax, [ebp - 0x14]
call fcn.00404ce8
lea eax, [ebp - 4]
call fcn.00404ce8
ret

Function at 0x4992c4
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov byte [ebp - 1], al
xor eax, eax
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 1]
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], 0x3a
mov byte [ebp - 0x13], 0x5c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x15]
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExA
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x30]
sbb edx, dword [ebp - 0x2c]
jno 0x499310
call fcn.00403dd4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x499320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405198
xor eax, eax
push ebp
push 0x4993ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404ce8
mov eax, dword [ebp - 4]
call fcn.00404fa8
test eax, eax
jle 0x499390
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
xor dl, 0xff
call fcn.00404ed0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00404fb0
mov eax, dword [ebp - 8]
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x499365
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4993b5
lea eax, [ebp - 0x14]
call fcn.00404ce8
lea eax, [ebp - 4]
call fcn.00404ce8
ret
Function at 0x499678
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0xffffffff
je 0x4996ce
xor eax, eax
push ebp
push 0x4996c4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
push eax
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4996ce
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x499998
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
xor edx, edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x499a69
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x8d]
push eax
push 0x81
call sub.kernel32.dll_GetLogicalDriveStringsA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x499a4b
cmp dword [ebp - 8], 0x81
jbe 0x499a0a
lea edx, [ebp - 0x94]
mov eax, 0xe
call fcn.0040cef0
mov ecx, dword [ebp - 0x94]
mov dl, 1
mov eax, dword [0x408774]
call fcn.0040d72c
call fcn.00404678
lea eax, [ebp - 0x8d]
mov dword [ebp - 0xc], eax
jmp 0x499a43
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x499a3f
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0xc]
call fcn.00404ee0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x499a15
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499a70
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.00404d0c
ret

Function at 0x499b9c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x499c88
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x535d18]
cmp dword [eax], 6
jge 0x499c55
lea edx, [ebp - 0xc]
mov eax, 0x499c9c
call fcn.00499320
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040f518
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 4]
push dword [eax]
push 0x499cb4
push 0x499cc0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405068
mov eax, dword [ebp - 0x10]
call fcn.004051a8
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x499c55
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
push dword [eax]
push 0x499cb4
push 0x499cc0
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405068
mov eax, dword [ebp - 0x14]
call fcn.004051a8
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x499c6d
lea edx, [ebp - 0x18]
mov eax, 0x499ccc
call fcn.00499320
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.0040f518
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499c8f
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404d0c
ret
Function at 0x499e68
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
xor ecx, ecx
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x499e9c
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x19c]
mov edx, dword [0x408754]
call fcn.004056ac
xor eax, eax
push ebp
push 0x49a057
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x18]
call fcn.00499b9c
call fcn.0040b8ac
mov eax, dword [ebp - 8]
fstp qword [eax]
wait
push dword [ebp - 0x18]
push 0x49a070
lea edx, [ebp - 0x1a4]
mov eax, 0x49a07c
call fcn.00499320
push dword [ebp - 0x1a4]
lea eax, [ebp - 0x1a0]
mov edx, 3
call fcn.00405068
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x19c]
mov edx, 0x2f
call fcn.0040a084
test eax, eax
jne 0x49a01b
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push dword [ebp - 0x18]
push 0x49a070
push dword [ebp - 0x190]
lea eax, [ebp - 0x1a8]
mov edx, 3
call fcn.00405068
mov eax, dword [ebp - 0x1a8]
call fcn.004051a8
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x499ffc
push 0
lea eax, [ebp - 0x14]
push eax
push 0x19
lea eax, [ebp - 0x41]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x499ff3
cmp dword [ebp - 0x14], 0x13
je 0x499f91
cmp dword [ebp - 0x14], 0x19
jne 0x499ff3
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x41]
mov ecx, 0x19
call fcn.00404f58
mov eax, dword [ebp - 0x10]
call fcn.0049a1a0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x499fc0
mov eax, dword [ebp - 0x20]
call fcn.0040a3dc
fstp qword [ebp - 0x28]
wait
jmp 0x499fc9
call fcn.0040b8ac
fstp qword [ebp - 0x28]
wait
fld qword [ebp - 0x28]
mov eax, dword [ebp - 8]
fcomp qword [eax]
fnstsw ax
sahf
jae 0x499fef
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
call fcn.00404d3c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 4], edx
mov byte [ebp - 9], 1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [ebp - 0x19c]
call fcn.0040a0d4
test eax, eax
je 0x499f1e
mov eax, dword [ebp - 0x188]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a05e
lea eax, [ebp - 0x1a8]
mov edx, 3
call fcn.00404d0c
lea eax, [ebp - 0x19c]
mov edx, dword [0x408754]
call fcn.0040577c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404d0c
ret
Function at 0x49a830
Capabilities:
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffad0
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetProcessHeap
mov dword [ebp - 0x28], eax
push 0x400
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_HeapAlloc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x130]
push eax
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 0x330]
xor ecx, ecx
mov edx, 0x200
call fcn.004036fc
mov eax, dword [ebp - 0xc]
sub eax, 1
jae 0x49a88d
call fcn.00403dd4
test eax, eax
jl 0x49a8fc
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov al, byte [ebp + eax - 0x130]
mov byte [ebp - 0x1a], al
xor eax, eax
mov al, byte [ebp - 0x1a]
shr eax, 4
mov al, byte [eax + 0x534e60]
imul edx, dword [ebp - 0x2c], 2
jno 0x49a8c2
call fcn.00403dd4
mov byte [ebp + edx - 0x330], al
xor eax, eax
mov al, byte [ebp - 0x1a]
shl eax, 4
mov byte [ebp - 0x1a], al
xor eax, eax
mov al, byte [ebp - 0x1a]
shr eax, 4
mov al, byte [eax + 0x534e60]
imul edx, dword [ebp - 0x2c], 2
jno 0x49a8ed
call fcn.00403dd4
mov byte [ebp + edx - 0x32f], al
inc dword [ebp - 0x2c]
dec dword [ebp - 0x30]
jne 0x49a89c
mov eax, dword [ebp - 0x10]
mov byte [eax], 0x43
mov eax, dword [ebp - 0x10]
mov byte [eax + 1], 0x3a
mov eax, dword [ebp - 0x10]
mov byte [eax + 2], 0x5c
mov eax, dword [ebp - 0x10]
mov byte [eax + 3], 0
push pe_nt_image_headers32
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x430]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x49a9b5
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 4]
shr eax, 4
mov al, byte [eax + 0x534e60]
imul edx, dword [ebp - 0x2c], 2
jno 0x49a969
call fcn.00403dd4
mov byte [ebp + edx - 0x19], al
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 4]
shl eax, 4
mov byte [ebp - 0x1a], al
xor eax, eax
mov al, byte [ebp - 0x1a]
shr eax, 4
mov al, byte [eax + 0x534e60]
imul edx, dword [ebp - 0x2c], 2
jno 0x49a994
call fcn.00403dd4
mov byte [ebp + edx - 0x18], al
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 4
jne 0x49a94d
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x19]
push eax
lea eax, [ebp - 0x330]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_HeapFree
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x330]
mov ecx, 0x200
call fcn.00404f58
mov esp, ebp
pop ebp
ret

Function at 0x49ba24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x49ba68]
mov byte [ebp - 1], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49ba40
or byte [ebp - 1], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49ba50
or byte [ebp - 1], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49ba60
or byte [ebp - 1], 2
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x49c21c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
push 0
mov eax, dword [0x536020]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x536020]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00460600
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x49ed34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042acc0
cmp ebx, dword [ebp - 8]
jge 0x49ed97
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b10c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b10c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b138
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49ed5d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x49eda0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042acc0
cmp ebx, dword [ebp - 8]
jge 0x49ee03
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b10c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b10c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b138
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49edc9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a2c94
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a2d40
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 1
call fcn.00405334
push 0
mov eax, dword [ebp - 8]
call fcn.004051a8
push eax
mov eax, esi
call fcn.004051a8
mov edi, eax
push edi
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov ebx, eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405334
push ebx
mov eax, dword [ebp - 8]
call fcn.004051a8
push eax
push edi
call sub.kernel32.dll_ExpandEnvironmentStringsA
test eax, eax
jle 0x4a2d20
mov eax, dword [ebp - 8]
call fcn.004051a8
call fcn.0040a470
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405334
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404d3c
jmp 0x4a2d2a
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.00404d3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2d47
lea eax, [ebp - 8]
call fcn.00404ce8
ret