joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440fc4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x440fdd
add esp, 0xfffffff0
call fcn.004042a0
mov dword [ebp - 4], ecx
mov byte [ebp - 9], dl
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406234
xor eax, eax
push ebp
push 0x441161
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0x24], eax
mov byte [ebx + 0x21], 0
mov byte [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0xffffffff
lea eax, [ebx + 0x18]
xor edx, edx
call fcn.0040624c
mov byte [ebx + 0x22], 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00433018
lea eax, [ebx + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebx + 0x14], eax
call fcn.00403dbc
mov dl, 1
mov eax, dword [0x4405b8]
call fcn.00428708
mov esi, eax
mov dword [ebx + 0x14], esi
lea eax, [ebx + 0xc]
sub eax, 4
mov dword [eax], esi
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 4]
call fcn.0040624c
cmp dword [ebx + 0x10], 0
je 0x441130
mov edx, dword [ebx + 0x10]
mov eax, ebx
call fcn.00440c14
mov eax, dword [ebx + 0x10]
call fcn.0040d9e4
test al, al
jne 0x441126
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x10]
call fcn.0040df3c
mov eax, dword [ebp - 4]
test eax, eax
je 0x4410a8
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4410a8
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004056e8
test eax, eax
je 0x4410b1
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4410bd
mov eax, dword [ebp - 4]
call fcn.00440d48
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
mov eax, dword [ebx + 0x10]
call fcn.004062d8
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x441126
cmp dword [ebp + 8], 0
je 0x441120
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], eax
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00407a9c
test eax, eax
jle 0x441120
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00407a9c
push eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebx + 0x24], 0
je 0x441130
mov byte [ebx + 0x21], 1
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x34], ebx
mov dword [eax + 0x30], 0x440e6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441168
lea eax, [ebp - 8]
mov edx, dword [0x40aedc]
call fcn.00407c70
lea eax, [ebp - 4]
call fcn.0040623c
ret
Function at 0x441c58
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
xor eax, eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], eax
xor eax, eax
push ebp
push 0x441de1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov eax, 2
call fcn.0043f2fc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x441dc3
xor eax, eax
push ebp
push 0x441dbc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x240]
xor ecx, ecx
mov edx, 0x22c
call fcn.0040367c
mov dword [ebp - 0x240], 0x22c
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 8]
call fcn.0043f31c
mov ebx, eax
jmp 0x441d9d
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x21c]
mov ecx, 0x104
call fcn.0040644c
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.0040e1d4
mov edx, dword [ebp - 0x244]
mov eax, 0x441dfc
call fcn.0040c9c4
test al, al
je 0x441d8d
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x238]
push eax
call sub.Kernel32.dll_ProcessIdToSessionId
test eax, eax
je 0x441d8d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x546274]
push eax
call sub.wtsapi32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x441d8d
xor eax, eax
push ebp
push 0x441d86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x441d6f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
call fcn.00404d48
call fcn.00404d48
jmp 0x441dc3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441d8d
mov eax, dword [ebp - 0x10]
push eax
call sub.wtsapi32.dll_WTSFreeMemory
ret
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 8]
call fcn.0043f33c
mov ebx, eax
test ebx, ebx
jne 0x441cdb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441dc3
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 0x441de8
lea eax, [ebp - 0x248]
mov edx, 2
call fcn.00406244
ret
Function at 0x441d8d
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
xor eax, eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], eax
xor eax, eax
push ebp
push 0x441de1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov eax, 2
call fcn.0043f2fc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x441dc3
xor eax, eax
push ebp
push 0x441dbc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x240]
xor ecx, ecx
mov edx, 0x22c
call fcn.0040367c
mov dword [ebp - 0x240], 0x22c
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 8]
call fcn.0043f31c
mov ebx, eax
jmp 0x441d9d
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x21c]
mov ecx, 0x104
call fcn.0040644c
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.0040e1d4
mov edx, dword [ebp - 0x244]
mov eax, 0x441dfc
call fcn.0040c9c4
test al, al
je 0x441d8d
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x238]
push eax
call sub.Kernel32.dll_ProcessIdToSessionId
test eax, eax
je 0x441d8d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x546274]
push eax
call sub.wtsapi32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x441d8d
xor eax, eax
push ebp
push 0x441d86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x441d6f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
call fcn.00404d48
call fcn.00404d48
jmp 0x441dc3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441d8d
mov eax, dword [ebp - 0x10]
push eax
call sub.wtsapi32.dll_WTSFreeMemory
ret
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 8]
call fcn.0043f33c
mov ebx, eax
test ebx, ebx
jne 0x441cdb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441dc3
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 0x441de8
lea eax, [ebp - 0x248]
mov edx, 2
call fcn.00406244
ret

Function at 0x441e18
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
cmp dword [0x546278], 0
je 0x441e32
call dword [0x546278]
mov dword [ebp - 4], eax
jmp 0x441e37
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x441ea5
cmp dword [ebp - 4], 0xffffffff
je 0x441ea5
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x546274]
push eax
call sub.wtsapi32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x441ea0
xor eax, eax
push ebp
push 0x441e99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x441e7d
call fcn.00404d48
jmp 0x441eb9
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441ea5
mov eax, dword [ebp - 8]
push eax
call sub.wtsapi32.dll_WTSFreeMemory
ret
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x441eb1
cmp dword [ebp - 4], 0xffffffff
jne 0x441eb9
call fcn.00441c58
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x442335
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7dc
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406234
xor eax, eax
push ebp
push 0x44243d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040624c
mov edx, dword [ebp - 4]
mov eax, 0x442458
call fcn.00442048
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x442335
xor eax, eax
push ebp
push 0x44232e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
call fcn.00442474
test al, al
je 0x44230d
call fcn.00404d48
jmp 0x442427
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040624c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442335
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov dword [ebp - 0x10], 0x802
lea eax, [ebp - 0x822]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.0040367c
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x822]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004062d8
mov ebx, eax
push ebx
push 0
call sub.advapi32.dll_LookupAccountNameW
cmp dword [ebp - 0x14], 0
jbe 0x442427
mov eax, dword [ebp - 0x14]
call fcn.00403074
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x442420
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.0040367c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x822]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push ebx
push 0
call sub.advapi32.dll_LookupAccountNameW
test eax, eax
jne 0x4423e2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
call fcn.00403090
xor eax, eax
mov dword [ebp - 0x1c], eax
call fcn.00404d48
jmp 0x442427
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_ConvertSidToStringSidW
test eax, eax
je 0x442407
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004063f8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFree_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442427
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
call fcn.00403090
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442444
lea eax, [ebp - 4]
call fcn.0040623c
ret
Function at 0x442764
Capabilities:
Get session information
Get session user name

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
xor edx, edx
call fcn.0040624c
cmp byte [0x55a10c], 0
je 0x44279b
xor eax, eax
call fcn.00442228
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jbe 0x44280a
mov edx, ebx
mov eax, dword [esp + 4]
call fcn.0044282c
jmp 0x44280a
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push 5
call fcn.00441e18
push eax
mov eax, dword [0x546274]
push eax
call sub.wtsapi32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x4427e8
mov eax, ebx
mov edx, dword [esp]
call fcn.004063f8
mov eax, dword [ebx]
mov edx, 0x44281c
call fcn.0040c9c4
test al, al
je 0x4427df
mov eax, ebx
xor edx, edx
call fcn.0040624c
mov eax, dword [esp]
push eax
call sub.wtsapi32.dll_WTSFreeMemory
cmp dword [ebx], 0
jne 0x44280a
xor eax, eax
call fcn.00442228
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jbe 0x44280a
mov edx, ebx
mov eax, dword [esp + 4]
call fcn.0044282c
pop ecx
pop edx
pop ebx
ret

Function at 0x442d14
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
test dl, dl
je 0x442d33
add esp, 0xfffffff0
call fcn.004042a0
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x442dd7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, esi
call fcn.00442e8c
mov dword [esi + 0x18], 0xf003f
mov byte [esi + 0xc], 1
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x110], 5
jne 0x442d89
call fcn.004403f4
test al, al
jne 0x442db7
cmp dword [ebp - 0x110], 5
ja 0x442db7
lea edx, [ebp - 0x118]
xor eax, eax
call fcn.0043f458
mov eax, dword [ebp - 0x118]
mov edx, 0x442e08
call fcn.0040c9c4
test al, al
jne 0x442db7
xor eax, eax
jmp 0x442db9
mov al, 1
mov byte [0x55a110], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442dde
lea eax, [ebp - 0x118]
call fcn.0040623c
ret
Function at 0x443390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x443543
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
xor ebx, ebx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004062a0
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004062d8
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edi, eax
test edi, edi
jne 0x4434ec
cmp dword [ebp - 0x14], 4
jne 0x443465
mov dword [ebp - 0x1c], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004062d8
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edi, eax
test edi, edi
jne 0x443446
mov eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov bl, 1
jmp 0x443506
lea edx, [ebp - 0x2c]
mov eax, edi
call fcn.0040d29c
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov edx, 0x443564
call fcn.00406720
jmp 0x443506
cmp dword [ebp - 0x14], 0xb
jne 0x4434cb
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004062d8
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edi, eax
test edi, edi
jne 0x4434af
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov bl, 1
jmp 0x443506
lea edx, [ebp - 0x30]
mov eax, edi
call fcn.0040d29c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 4]
mov edx, 0x443594
call fcn.00406720
jmp 0x443506
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.0040d4a8
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 0x4435c4
call fcn.00406720
jmp 0x443506
lea edx, [ebp - 0x38]
mov eax, edi
call fcn.0040d29c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 4]
mov edx, 0x4435ec
call fcn.00406720
test bl, bl
jne 0x443520
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00406720
mov eax, dword [ebp - 0x3c]
call fcn.00442c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44354a
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00406244
lea eax, [ebp - 4]
call fcn.0040623c
ret
Function at 0x443614
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00442cbc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004062d8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x443673
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5547f4]
mov dl, 1
mov eax, dword [0x442b0c]
call fcn.00414434
call fcn.00404c54
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4436b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x44380b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
call fcn.00442cbc
mov dword [ebp - 0xc], eax
mov eax, esi
xor edx, edx
call fcn.0040624c
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x443705
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
jmp 0x443708
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
dec eax
sub al, 2
jae 0x443717
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x44367c]
call fcn.00407c64
add esp, 4
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.0040367c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, edi
call fcn.004062d8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov ebx, eax
test ebx, ebx
jne 0x44376d
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004063f8
mov edx, dword [esi]
mov eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x443780
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x802
jle 0x4437d5
mov eax, edx
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x443798
sub esi, 4
mov esi, dword [esi]
push 0x443828
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040d29c
push dword [ebp - 0x1c]
push 0x443868
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.0040d29c
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00406804
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dl, 1
call fcn.00442bf4
mov eax, dword [ebp - 0xc]
call fcn.00442cec
mov edx, dword [ebp + 0xc]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443812
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00406244
lea eax, [ebp - 4]
mov edx, dword [0x44367c]
call fcn.00407c70
ret
Function at 0x449bbc
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 0x449beb
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x449c6a
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0044848c
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 0x449c38
mov cx, word [esp]
sub cx, si
jmp 0x449c3a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x449c21
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 0x449c60
mov cx, word [esp]
sub cx, si
jmp 0x449c62
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x449c49
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x449cc7
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00449890
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x449cb2
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 0x449cc7
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x449bc6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4594d4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406234
xor eax, eax
push ebp
push 0x459669
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x459637
xor edx, edx
push ebp
push 0x459630
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004062a0
mov eax, dword [ebp - 8]
test eax, eax
je 0x459543
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x459543
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004056e8
test eax, eax
je 0x45954c
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x459605
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4595f4
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004062a0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4595ae
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4595ae
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004056e8
test eax, eax
je 0x4595b7
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.004062d8
lea ecx, [esi + 2]
mov edx, ebx
call fcn.0040322c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0x10]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4595fb
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5542f4]
mov dl, 1
mov eax, dword [0x40af34]
call fcn.004143f8
call fcn.00404c54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459670
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406244
ret

Function at 0x45bd00
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.0040624c
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x45bd47
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040644c
add esp, 0x200
pop esi
pop ebx
ret