joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469e68
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa7c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004054d0
mov eax, dword [ebp - 8]
call fcn.004054d0
xor eax, eax
push ebp
push 0x46a07d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0x7530
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00469cd0
mov ebx, 0x46a090
xor esi, esi
push 0
push 0x46a094
push 0x46a094
push 0
push 0x46a098
call fcn.0042ec20
mov dword [ebp - 0x18], eax
push 0
push 0
push 3
push 0
push 0
movzx eax, word [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004054e0
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0042ec18
mov dword [ebp - 0x1c], eax
push 0
push esi
push 0
push 0
push 0x46a0f4
mov eax, dword [ebp - 0x10]
call fcn.004054e0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042ebf8
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x46a05b
push dword fs:[edx]
mov dword fs:[edx], esp
push 4
lea eax, [ebp - 0x24]
push eax
push 2
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042ec30
push 4
lea eax, [ebp - 0x24]
push eax
push 8
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042ec30
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042ec08
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x400
mov eax, dword [ebp - 0x2c]
call fcn.00402f00
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push 5
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042ec00
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x46a010
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x180]
call fcn.00403694
mov edx, 1
lea eax, [ebp - 0x180]
call fcn.00403b14
call fcn.0040305c
lea eax, [ebp - 0x34]
push eax
push 0x401
lea eax, [ebp - 0x581]
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042ec28
test eax, eax
je 0x469ffc
cmp dword [ebp - 0x34], 0
je 0x469ffc
push 0
lea edx, [ebp - 0x581]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x180]
call fcn.004037e8
call fcn.0040305c
jmp 0x469fbc
lea eax, [ebp - 0x180]
call fcn.00403808
call fcn.0040305c
mov byte [ebp - 0x11], 1
mov eax, ebx
call fcn.00402f1c
mov eax, dword [ebp - 0x18]
push eax
call fcn.0042ec10
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042ec10
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042ec10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a062
mov eax, dword [ebp - 0x18]
push eax
call fcn.0042ec10
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042ec10
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042ec10
ret
Function at 0x4731e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x258]
xor ebx, ebx
inc ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov eax, dword [esi + 0x2c]
push edi
mov dword [esi], eax
lea eax, [esi + 0x54]
push eax
lea edi, [esi + 0x260]
call fcn.0046e77e
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x268], eax
mov eax, dword [esi + 0x258]
mov dword [esi + 0x264], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 8], eax
mov ax, word [esi + 0x18]
mov word [ebp - 4], ax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
movzx eax, word [esi + 0xe]
push edi
push dword [esi + 0x10]
and dword [ebp - 0x10], 0
push eax
push dword [esi + 0x20]
movzx eax, word [esi + 0xc]
or eax, 0x40
push eax
push dword [esi + 8]
xor eax, eax
mov ax, word [esi + 6]
push eax
xor eax, eax
mov ax, word [esi + 4]
push eax
push dword [esi + 0x4c]
lea eax, [esi + 0x25c]
push eax
call fcn.00476be0
test eax, eax
jne 0x47327e
or eax, 0xffffffff
jmp 0x4732a1
mov ecx, dword [esi + 0x258]
call fcn.00473d9d
mov esi, dword [esi + 0x258]
mov eax, dword [esi + 4]
test eax, eax
jle 0x4732a1
mov esi, dword [esi + 8]
test esi, esi
mov eax, esi
jle 0x4732a1
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40308c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404828
test esi, esi
jne 0x4030c2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404918
jmp 0x4030e0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402f90
mov edi, eax
test esi, esi
je 0x4030e0
cmp dword [ebx], 0
je 0x4030e0
dec esi
jmp 0x4030c9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4037e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x499020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403878
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403858
xor eax, eax
push ebp
push 0x403851
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403894
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403858
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x499020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x499020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4046a8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49c048], 0
je 0x404709
cmp word [0x49c21c], 0xd7b2
jne 0x4046d1
cmp dword [0x49c224], 0
jbe 0x4046d1
mov eax, 0x49c218
call dword [0x49c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404730
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x49902c], 0
jne 0x404725
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405d48
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405f78
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405dcb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405f78
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405dcb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405f94
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405e54
xor eax, eax
push ebp
push 0x405e4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405b84
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e32
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405fb4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e32
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e54
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405f6e
cmp byte [ebp - 0xd], 0
jne 0x405e9b
cmp byte [ebp - 0x12], 0
je 0x405f6e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405eb4
dec ebx
cmp byte [ebx], 0x2e
je 0x405ec3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405eb3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405f6e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405f00
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405f6e
cmp byte [ebp - 0xd], 0
je 0x405f6e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405f6e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408528
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4085b8
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4085b8
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x40856b
test edx, 3
jne 0x40855a
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408565
jmp 0x40856b
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x40856b
cmp dword [ecx - 8], 1
je 0x408575
mov edx, ebx
or edx, 3
call fcn.00404f74
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408587
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404828

Function at 0x4085c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408654
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408654
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408607
test edx, 3
jne 0x4085f6
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408601
jmp 0x408607
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408607
cmp dword [ecx - 8], 1
je 0x408611
mov edx, ebx
or edx, 3
call fcn.00404f74
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408623
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404828

Function at 0x408f64
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404cec
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408f7d
test al, 0x10
je 0x408f81
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b9f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ba29
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404918
jmp 0x40ba32
mov eax, ebx
mov edx, esi
call fcn.0040487c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ba3c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ba5e
movzx eax, byte [esp]
jmp 0x40ba60
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40c0f0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bf68
mov eax, dword [0x49b258]
cmp byte [eax], 0
je 0x40c16c
mov eax, dword [0x49b05c]
call fcn.004031a8
call fcn.00402dfc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409174
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c1b4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c1a2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49b000]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x49e7f4]
call fcn.00405b2c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40ca00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cad6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004048c0
lea eax, [ebp - 4]
call fcn.00404d3c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404cec
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cac0
mov eax, ebx
call fcn.00402ca0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cab9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404cec
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40caa3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cae8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40caa3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cac0
mov eax, dword [ebp - 0x10]
call fcn.00402cbc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cadd
lea eax, [ebp - 4]
call fcn.00404828
ret
Function at 0x41c220
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49f300
cmp dword [edi], 0
jne 0x41c29c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49f2fc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x499ad4
mov ecx, 2
call fcn.00402e90
mov edx, 0x41c1f8
lea eax, [esi + 5]
call fcn.0041c218
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c218
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41c271
mov dword [0x49f2fc], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ea38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404cec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41ea90
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x49b39c]
mov dl, 1
mov eax, dword [0x41e38c]
call fcn.0040c2b0
call fcn.0040424c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041e500
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41fe28
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41fe2e
ret
Function at 0x42df20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404cdc
xor eax, eax
push ebp
push 0x42e055
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42e028
xor edx, edx
push ebp
push 0x42e021
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x42df6d
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42dff6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x42dfe5
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x42dfac
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404cec
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00402e90
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dfec
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x49af98]
mov dl, 1
mov eax, dword [0x407894]
call fcn.0040c274
call fcn.0040424c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e05c
lea eax, [ebp - 4]
call fcn.00404828
ret
Function at 0x42e064
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42e21f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404fd8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x42e238
call fcn.00404b38
mov eax, ebx
call fcn.0041b7a0
mov edi, eax
dec edi
test edi, edi
jl 0x42e11c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b774
mov edx, dword [0x429cdc]
call fcn.00403b64
test al, al
je 0x42e118
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041b774
lea edx, [ebp - 0x14]
call fcn.0043c7fc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404fd8
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404bac
inc esi
dec edi
jne 0x42e0ca
movzx eax, byte [0x42e23c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42e248
mov eax, dword [ebp - 8]
call fcn.0040d4c4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004048c0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043c7fc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42e238
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0043c7fc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42e238
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42e238
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42e254
call fcn.0040988c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e226
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040484c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040484c
lea eax, [ebp - 0x14]
call fcn.00404828
lea eax, [ebp - 0x10]
call fcn.00404828
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040484c
ret
Function at 0x430d00
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404828
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x430d4e
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404a98
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434dd0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x434f03
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41e3ec]
call fcn.0041e528
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x434ed9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041e604
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404a98
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x434f18
call fcn.00404b38
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041e790
lea ecx, [ebp - 4]
mov edx, 0x434f54
mov eax, dword [ebp - 0xc]
call fcn.0041e9c0
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040df04
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x434ebc
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x434f60
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x49a4bc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434ec3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x434fb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x434ff7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x434fda
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x434feb
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x434ff7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret