joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45957c
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov dword [esp], eax
mov eax, dword [esp]
push eax
call sub.user32.dll_GetWindowDC
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x4595a6
xor edx, edx
mov eax, 0xf2
call fcn.00458594
call fcn.00458e7c
mov ebx, eax
test ebx, ebx
jne 0x4595bd
xor edx, edx
mov eax, 0xeb
call fcn.00458594
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindowRect
mov edi, dword [esp + 0x18]
sub edi, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
sub esi, dword [esp + 0x14]
lea ebp, [edi + edi*2]
sar ebp, 1
jns 0x4595e6
adc ebp, 0
mov dword [esp + 4], edi
cmp ebp, esi
jge 0x459600
mov eax, esi
add eax, eax
mov ecx, 3
cdq
idiv ecx
mov dword [esp + 4], eax
mov ebp, esi
mov dword [0x508d2c], 0x14
mov eax, 0x459734
mov dword [0x508d30], eax
xor eax, eax
mov dword [0x508d34], eax
push 0x508d2c
push ebx
call sub.gdi32.dll_StartDocA
push ebx
call sub.gdi32.dll_StartPage
push 8
push ebx
call sub.gdi32.dll_SetMapMode
push 0
push ebp
mov eax, dword [esp + 0xc]
push eax
push ebx
call sub.gdi32.dll_SetWindowExtEx
call fcn.00422dd0
push 0
fld dword [0x459740]
fmul qword [0x508d48]
call fcn.004033bc
push eax
fld dword [0x459744]
fmul qword [0x508d40]
call fcn.004033bc
push eax
push ebx
call sub.gdi32.dll_SetViewportExtEx
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetDC
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov ebp, eax
push esi
push edi
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetDC
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
push ebp
call sub.gdi32.dll_SelectObject
push 0xcc0020
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
push esi
push edi
push 0
push 0
push ebp
call sub.gdi32.dll_BitBlt
test eax, eax
jne 0x4596d2
xor edx, edx
mov eax, 0xec
call fcn.00458bb8
push 0xcc0020
push 0
push 0
push ebp
push esi
push edi
push 0
push 0
push ebx
call sub.gdi32.dll_BitBlt
test eax, eax
jne 0x4596f8
xor edx, edx
mov eax, 0xec
call fcn.00458bb8
push ebx
call sub.gdi32.dll_EndPage
push ebx
call sub.gdi32.dll_EndDoc
push ebx
call sub.gdi32.dll_DeleteDC
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_ReleaseDC
mov eax, dword [esp + 0xc]
push eax
call sub.gdi32.dll_DeleteObject
push ebp
call sub.gdi32.dll_DeleteDC
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45bef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x45bef9
mov eax, dword [ebp - 4]
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10030], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x45c027
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 4]
xor eax, eax
call fcn.00402edc
lea eax, [ebp - 4]
mov edx, 0x45c044
call fcn.00405d80
lea eax, [ebp - 0x1000c]
mov edx, dword [ebp - 4]
call fcn.0040a820
mov eax, edi
call fcn.00405ab4
mov eax, edi
mov edx, 0x104
call fcn.00406200
lea eax, [ebp - 0xc]
push eax
movzx eax, byte [ebp + 0xc]
call fcn.0045be64
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderLocation
mov dword [ebp - 0x1002c], esi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10028], eax
lea eax, [ebp - 0x800c]
mov dword [ebp - 0x10024], eax
mov eax, dword [ebp - 8]
call fcn.00405f78
mov dword [ebp - 0x10020], eax
movzx eax, byte [ebp + 8]
call fcn.0045be70
mov dword [ebp - 0x1001c], eax
mov eax, 0x45bea0
mov dword [ebp - 0x10018], eax
lea eax, [ebp - 0x1000c]
mov dword [ebp - 0x10014], eax
lea eax, [ebp - 0x1002c]
push eax
call sub.shell32.dll_SHBrowseForFolder
test eax, eax
je 0x45c006
lea edx, [ebp - 0x800c]
push edx
push eax
call sub.shell32.dll_SHGetPathFromIDList
lea edx, [ebp - 0x10030]
lea eax, [ebp - 0x800c]
call fcn.0040a9ec
mov edx, dword [ebp - 0x10030]
mov eax, edi
call fcn.00405b08
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c02e
lea eax, [ebp - 0x10030]
call fcn.00405ab4
lea eax, [ebp - 4]
call fcn.00405ab4
ret
Function at 0x45c728
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffac8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x528], ebx
mov dword [ebp - 0x524], ebx
mov dword [ebp - 0x520], ebx
mov dword [ebp - 0x514], ebx
mov dword [ebp - 0x510], ebx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x308]
push ecx
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
pop ecx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x208]
push ecx
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
pop ecx
mov esi, ecx
lea edi, [ebp - 0x108]
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45c919
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x510]
lea edx, [ebp - 0x208]
call fcn.00405d18
mov edx, dword [ebp - 0x510]
lea eax, [ebp - 0x50a]
call fcn.0040a820
push esi
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x50a]
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
je 0x45c81b
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x51c], eax
mov byte [ebp - 0x518], 4
lea edx, [ebp - 0x51c]
xor ecx, ecx
mov eax, 0x45c934
call fcn.0040ae90
mov edx, dword [ebp - 0x514]
mov eax, dword [ebp - 4]
call fcn.00405b08
jmp 0x45c8eb
lea eax, [ebp - 0x520]
lea edx, [ebp - 0x308]
call fcn.00405d18
mov edx, dword [ebp - 0x520]
lea eax, [ebp - 0x409]
call fcn.0040a820
mov ebx, 1
movzx esi, byte [ebp - 0x308]
lea eax, [ebp - 0x524]
lea edx, [ebp - 0x108]
call fcn.00405d18
mov edx, dword [ebp - 0x524]
lea eax, [ebp - 0x50a]
call fcn.0040a820
push esi
lea eax, [ebp - 0x409]
push eax
push ebx
push 0
lea eax, [ebp - 0x50a]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45c8dc
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x538], eax
mov byte [ebp - 0x534], 4
lea eax, [ebp - 0x108]
mov dword [ebp - 0x530], eax
mov byte [ebp - 0x52c], 4
lea edx, [ebp - 0x538]
mov ecx, 1
mov eax, 0x45c960
call fcn.0040ae90
mov edx, dword [ebp - 0x528]
mov eax, dword [ebp - 4]
call fcn.00405b08
jmp 0x45c8eb
cmp dword [ebp - 8], 0
je 0x45c8eb
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c920
lea eax, [ebp - 0x528]
mov edx, 3
call fcn.00405ad8
lea eax, [ebp - 0x514]
mov edx, 2
call fcn.00405ad8
ret
Function at 0x45c98c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffac8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x528], ebx
mov dword [ebp - 0x524], ebx
mov dword [ebp - 0x520], ebx
mov dword [ebp - 0x514], ebx
mov dword [ebp - 0x510], ebx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x308]
push ecx
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
pop ecx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x208]
push ecx
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
pop ecx
mov esi, ecx
lea edi, [ebp - 0x108]
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45cb7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x510]
lea edx, [ebp - 0x208]
call fcn.00405d18
mov edx, dword [ebp - 0x510]
lea eax, [ebp - 0x50a]
call fcn.0040a820
push esi
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x50a]
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
je 0x45ca7f
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x51c], eax
mov byte [ebp - 0x518], 4
lea edx, [ebp - 0x51c]
xor ecx, ecx
mov eax, 0x45cb98
call fcn.0040ae90
mov edx, dword [ebp - 0x514]
mov eax, dword [ebp - 4]
call fcn.00405b08
jmp 0x45cb4f
lea eax, [ebp - 0x520]
lea edx, [ebp - 0x308]
call fcn.00405d18
mov edx, dword [ebp - 0x520]
lea eax, [ebp - 0x409]
call fcn.0040a820
mov ebx, 2
movzx esi, byte [ebp - 0x308]
lea eax, [ebp - 0x524]
lea edx, [ebp - 0x108]
call fcn.00405d18
mov edx, dword [ebp - 0x524]
lea eax, [ebp - 0x50a]
call fcn.0040a820
push esi
lea eax, [ebp - 0x409]
push eax
push ebx
push 0
lea eax, [ebp - 0x50a]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45cb40
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x538], eax
mov byte [ebp - 0x534], 4
lea eax, [ebp - 0x108]
mov dword [ebp - 0x530], eax
mov byte [ebp - 0x52c], 4
lea edx, [ebp - 0x538]
mov ecx, 1
mov eax, 0x45cbc4
call fcn.0040ae90
mov edx, dword [ebp - 0x528]
mov eax, dword [ebp - 4]
call fcn.00405b08
jmp 0x45cb4f
cmp dword [ebp - 8], 0
je 0x45cb4f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cb84
lea eax, [ebp - 0x528]
mov edx, 3
call fcn.00405ad8
lea eax, [ebp - 0x514]
mov edx, 2
call fcn.00405ad8
ret
Function at 0x45cbf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x318], ebx
mov dword [ebp - 0x314], ebx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x20c]
push ecx
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
pop ecx
mov esi, ecx
lea edi, [ebp - 0x10c]
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45cda9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x314]
lea edx, [ebp - 0x20c]
call fcn.00405d18
mov edx, dword [ebp - 0x314]
lea eax, [ebp - 0x30d]
call fcn.0040a820
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x30d]
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
je 0x45cccc
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x320], eax
mov byte [ebp - 0x31c], 4
lea edx, [ebp - 0x320]
xor ecx, ecx
mov eax, 0x45cdc4
call fcn.0040ae90
mov edx, dword [ebp - 0x318]
mov eax, dword [ebp - 4]
call fcn.00405b08
jmp 0x45cd7b
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ebx, 4
mov esi, 4
lea eax, [ebp - 0x324]
lea edx, [ebp - 0x10c]
call fcn.00405d18
mov edx, dword [ebp - 0x324]
lea eax, [ebp - 0x30d]
call fcn.0040a820
push esi
lea eax, [ebp - 8]
push eax
push ebx
push 0
lea eax, [ebp - 0x30d]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45cd6c
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x338], eax
mov byte [ebp - 0x334], 4
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x330], eax
mov byte [ebp - 0x32c], 4
lea edx, [ebp - 0x338]
mov ecx, 1
mov eax, 0x45cdf0
call fcn.0040ae90
mov edx, dword [ebp - 0x328]
mov eax, dword [ebp - 4]
call fcn.00405b08
jmp 0x45cd7b
cmp dword [ebp - 0xc], 0
je 0x45cd7b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cdb0
lea eax, [ebp - 0x328]
mov edx, 2
call fcn.00405ad8
lea eax, [ebp - 0x318]
mov edx, 2
call fcn.00405ad8
ret
Function at 0x45ce1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x414], ebx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x20c]
push ecx
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
pop ecx
mov esi, ecx
lea edi, [ebp - 0x10c]
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x45cffb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x20c]
call fcn.00405d18
mov edx, dword [ebp - 0x414]
lea eax, [ebp - 0x40e]
call fcn.0040a820
mov eax, ebx
call fcn.00405ab4
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x40e]
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x45cef9
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x420], eax
mov byte [ebp - 0x41c], 4
lea edx, [ebp - 0x420]
xor ecx, ecx
mov eax, 0x45d014
call fcn.0040ae90
mov edx, dword [ebp - 0x418]
mov eax, esi
call fcn.00405b08
jmp 0x45cfcd
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x101
lea eax, [ebp - 0x424]
lea edx, [ebp - 0x10c]
call fcn.00405d18
mov edx, dword [ebp - 0x424]
lea eax, [ebp - 0x40e]
call fcn.0040a820
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x30d]
push eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0x40e]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45cf9f
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x438], eax
mov byte [ebp - 0x434], 4
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x430], eax
mov byte [ebp - 0x42c], 4
lea edx, [ebp - 0x438]
mov ecx, 1
mov eax, 0x45d040
call fcn.0040ae90
mov edx, dword [ebp - 0x428]
mov eax, esi
call fcn.00405b08
jmp 0x45cfb1
mov eax, ebx
lea edx, [ebp - 0x30d]
mov ecx, 0x101
call fcn.00405d24
cmp dword [ebp - 4], 0
jne 0x45cfbe
mov eax, ebx
call fcn.00405ab4
cmp dword [ebp - 0xc], 0
je 0x45cfcd
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d002
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00405ad8
lea eax, [ebp - 0x418]
mov edx, 2
call fcn.00405ad8
ret
Function at 0x45d060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x414], ebx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x20c]
push ecx
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
pop ecx
mov esi, ecx
lea edi, [ebp - 0x10c]
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x45d23f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x20c]
call fcn.00405d18
mov edx, dword [ebp - 0x414]
lea eax, [ebp - 0x40e]
call fcn.0040a820
mov eax, ebx
call fcn.00405ab4
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x40e]
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x45d13d
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x420], eax
mov byte [ebp - 0x41c], 4
lea edx, [ebp - 0x420]
xor ecx, ecx
mov eax, 0x45d258
call fcn.0040ae90
mov edx, dword [ebp - 0x418]
mov eax, esi
call fcn.00405b08
jmp 0x45d211
mov dword [ebp - 8], 2
mov dword [ebp - 4], 0x101
lea eax, [ebp - 0x424]
lea edx, [ebp - 0x10c]
call fcn.00405d18
mov edx, dword [ebp - 0x424]
lea eax, [ebp - 0x40e]
call fcn.0040a820
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x30d]
push eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0x40e]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45d1e3
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x438], eax
mov byte [ebp - 0x434], 4
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x430], eax
mov byte [ebp - 0x42c], 4
lea edx, [ebp - 0x438]
mov ecx, 1
mov eax, 0x45d284
call fcn.0040ae90
mov edx, dword [ebp - 0x428]
mov eax, esi
call fcn.00405b08
jmp 0x45d1f5
mov eax, ebx
lea edx, [ebp - 0x30d]
mov ecx, 0x101
call fcn.00405d24
cmp dword [ebp - 4], 0
jne 0x45d202
mov eax, ebx
call fcn.00405ab4
cmp dword [ebp - 0xc], 0
je 0x45d211
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d246
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00405ad8
lea eax, [ebp - 0x418]
mov edx, 2
call fcn.00405ad8
ret
Function at 0x45d2a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x31c], ebx
mov dword [ebp - 0x318], ebx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x210]
push ecx
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
pop ecx
mov esi, ecx
lea edi, [ebp - 0x110]
movzx ecx, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45d45c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x318]
lea edx, [ebp - 0x210]
call fcn.00405d18
mov edx, dword [ebp - 0x318]
lea eax, [ebp - 0x311]
call fcn.0040a820
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x311]
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x45d379
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x324], eax
mov byte [ebp - 0x320], 4
lea edx, [ebp - 0x324]
xor ecx, ecx
mov eax, 0x45d478
call fcn.0040ae90
mov edx, dword [ebp - 0x31c]
mov eax, esi
call fcn.00405b08
jmp 0x45d42e
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
lea eax, [ebp - 0x328]
lea edx, [ebp - 0x110]
call fcn.00405d18
mov edx, dword [ebp - 0x328]
lea eax, [ebp - 0x311]
call fcn.0040a820
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x311]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45d41c
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x33c], eax
mov byte [ebp - 0x338], 4
lea eax, [ebp - 0x110]
mov dword [ebp - 0x334], eax
mov byte [ebp - 0x330], 4
lea edx, [ebp - 0x33c]
mov ecx, 1
mov eax, 0x45d4a4
call fcn.0040ae90
mov edx, dword [ebp - 0x32c]
mov eax, esi
call fcn.00405b08
jmp 0x45d41f
mov ebx, dword [ebp - 4]
cmp dword [ebp - 0x10], 0
je 0x45d42e
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d463
lea eax, [ebp - 0x32c]
mov edx, 2
call fcn.00405ad8
lea eax, [ebp - 0x31c]
mov edx, 2
call fcn.00405ad8
ret
Function at 0x45d60c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 1], dl
mov edi, eax
test edi, edi
setb byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x45d634
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
movzx edx, bl
lea eax, [ebp - 0x105]
call fcn.0040325c
movzx eax, bl
mov word [ebp - 4], ax
test bl, bl
jbe 0x45d694
movzx eax, byte [ebp - 1]
push eax
mov eax, edi
pop edx
mov ecx, edx
xor edx, edx
div ecx
mov esi, edx
cmp si, 9
jbe 0x45d675
mov eax, esi
add al, 0x40
sub al, 9
movzx edx, bl
mov byte [ebp + edx - 0x105], al
jmp 0x45d683
mov eax, esi
add al, 0x30
movzx edx, bl
mov byte [ebp + edx - 0x105], al
movzx ecx, byte [ebp - 1]
mov eax, edi
xor edx, edx
div ecx
mov edi, eax
dec ebx
test bl, bl
ja 0x45d64d
test edi, edi
jne 0x45d6a7
cmp byte [ebp - 5], 0
je 0x45d6c4
cmp byte [ebp - 0x104], 0x30
je 0x45d6c4
movzx eax, byte [ebp - 0x105]
test al, al
jbe 0x45d6c4
mov bl, 1
movzx edx, bl
mov byte [ebp + edx - 0x105], 0x2a
inc ebx
dec al
jne 0x45d6b4
cmp byte [ebp + 0xc], 0
je 0x45d6e2
cmp byte [ebp - 5], 0
je 0x45d71e
cmp byte [ebp - 0x104], 0x30
jne 0x45d71e
mov byte [ebp - 0x104], 0x2d
jmp 0x45d71e
mov ax, 1
jmp 0x45d6f4
movzx edx, ax
mov byte [ebp + edx - 0x105], 0x20
inc eax
cmp ax, word [ebp - 4]
jae 0x45d707
movzx edx, ax
cmp byte [ebp + edx - 0x105], 0x30
je 0x45d6e8
cmp byte [ebp - 5], 0
je 0x45d71e
cmp ax, 1
jbe 0x45d71e
movzx eax, ax
mov byte [ebp + eax - 0x106], 0x2d
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x105]
call fcn.00405d18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45d988
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov byte [ebp - 1], dl
mov ebx, eax
mov byte [ebp - 2], bl
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
mov edx, eax
cmp byte [ebp - 1], 0
je 0x45d9af
mov eax, 2
jmp 0x45d9b1
xor eax, eax
push 0
push eax
mov eax, dword [ebp + 8]
or dl, byte [eax - 4]
push edx
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_keybd_event
pop ebx
pop ecx
pop ebp
ret

Function at 0x45e218
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
push eax
call sub.user32.dll_VkKeyScanA
movzx edx, ax
shr edx, 8
dec dx
je 0x45e244
add edx, 0xfffffffe
sub dx, 3
jb 0x45e244
je 0x45e249
dec dx
je 0x45e254
jmp 0x45e260
mov byte [ebx], 1
jmp 0x45e260
mov byte [esi], 1
mov edx, dword [ebp + 8]
mov byte [edx], 1
jmp 0x45e260
mov byte [ebx], 1
mov byte [esi], 1
mov edx, dword [ebp + 8]
mov byte [edx], 1
and ax, 0xff
pop esi
pop ebx
pop ebp
ret 4
Function at 0x45fd64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x45fd85
inc edi
cmp byte [esi + edi - 1], 0x20
jne 0x45fd97
mov eax, esi
call fcn.00405d74
cmp edi, eax
jle 0x45fd84
mov eax, esi
test eax, eax
je 0x45fda2
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x45fe64
cmp byte [esi + edi - 1], 0x2e
je 0x45fe88
jmp 0x45fe64
cmp byte [esi + edi - 1], 0x2e
jne 0x45fe0c
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x45fe88
cmp dword [esp + 8], 0xff
jg 0x45fe88
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x45fdf0
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x45fdf8
mov bl, 1
jmp 0x45fe06
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x45fe88
jmp 0x45fe63
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x45fe31
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x45fe63
inc edi
cmp byte [esi + edi - 1], 0x20
jne 0x45fe43
mov eax, esi
call fcn.00405d74
cmp edi, eax
jle 0x45fe30
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x45fe5b
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x45fe88
jmp 0x45fe73
inc edi
mov eax, esi
call fcn.00405d74
cmp edi, eax
jle 0x45fdba
cmp dword [esp + 4], 3
jne 0x45fe88
cmp dword [esp + 8], 0xff
jg 0x45fe88
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46d148
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405f68
xor eax, eax
push ebp
push 0x46d1ee
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x424f4c
mov edx, 0x46d200
mov ecx, ebx
mov eax, dword [0x4e67f4]
call fcn.0040865c
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405f78
push eax
push ebx
call sub.user32.dll_SetWindowTextA
push 4
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push esi
push 0
push ebx
call sub.user32.dll_SetWindowPos
push 1
push ebx
call sub.user32.dll_ShowWindow
mov eax, dword [0x4e2f5c]
mov dword [eax], 0x3e8
mov eax, dword [0x4e2984]
cmp byte [eax], 0
je 0x46d1d8
push 1
mov eax, dword [0x4e2fe8]
mov eax, dword [eax]
push eax
push 0x30
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d1f5
lea eax, [ebp - 4]
call fcn.00405ab4
ret

Function at 0x46d8f8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x46d900
mov eax, dword [esp + 0x8000]
add esp, 4
mov ebx, edx
mov edx, esp
push edx
push 0x7fff
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
mov edx, ebx
mov eax, esp
call fcn.0040a9ec
mov eax, ebx
mov edx, esi
call fcn.00406200
add esp, 0x8000
pop esi
pop ebx
ret