joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486e34
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407e28
ret

Function at 0x488410
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffc0
mov dword [esp], 0x40
push esp
call sub.kernel32.dll_GlobalMemoryStatusEx
mov eax, dword [esp + 4]
mov dword [0x54c134], eax
add esp, 0x40
ret

Function at 0x488430
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffb8
mov dword [esp + 8], 0x40
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0x48
ret

Function at 0x48876c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488872
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404950
lea edx, [ebp - 0x14]
mov eax, dword [0x54aa0c]
mov eax, dword [eax]
call fcn.0047254c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404e10
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
mov eax, esi
call fcn.00402850
mov edi, eax
push edi
push esi
push 0
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402c50
mov eax, dword [ebp - 0x18]
call fcn.00404e10
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x488880
push edi
call sub.version.dll_VerQueryValueA
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x10]
shr eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebx + 0x10]
and eax, 0xffff
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebx + 0x14]
shr eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov eax, dword [ebx + 0x14]
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x48888c
call fcn.0040aa5c
mov edx, esi
mov eax, edi
call fcn.00402870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488879
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404974
ret
Function at 0x491344
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4915a4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4913a7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00490fec
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e73c
cmp al, 1
jne 0x4913a7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004912b4
test al, al
je 0x491533
cmp dword [ebp - 8], 0
jge 0x4913c5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00490fec
mov eax, dword [ebp - 0x210]
call fcn.00404c10
cmp ebx, eax
jge 0x49140f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00490fec
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x54ad8c]
and eax, 0xff
bt dword [edx], eax
jae 0x49140f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x491423
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00491320
cmp ebx, dword [ebp - 8]
je 0x491525
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x49144f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403cb4
and eax, 0x7f
movzx eax, word [eax*2 + 0x548588]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x491512
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403cb4
and eax, 0x7f
movzx eax, word [eax*2 + 0x548588]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00458894
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403cb4
and eax, 0x7f
movzx eax, word [eax*2 + 0x548588]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00458894
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491519
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x491586
cmp dword [ebp - 8], 0
jge 0x49153e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00490fec
mov eax, dword [ebp - 0x218]
call fcn.00404c10
cmp eax, dword [ebp - 8]
jg 0x491578
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00490fec
mov eax, dword [ebp - 0x21c]
call fcn.00404c10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00491320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4915ab
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404974
ret
Function at 0x495f38
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.0042ac64
cmp ebx, dword [ebp - 8]
jge 0x495f9b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b060
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b060
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b08c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x495f61
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x495fa4
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.0042ac64
cmp ebx, dword [ebp - 8]
jge 0x496007
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b060
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b060
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b08c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x495fcd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b45d8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x4b466c
push 0
mov eax, ebx
call fcn.00404e10
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x4b4647
mov eax, esi
call fcn.00404c10
inc eax
push eax
mov eax, esi
call fcn.00404e10
push eax
push 1
push 0
mov eax, edi
call fcn.00404e10
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x4b4662
mov ecx, dword [0x54a640]
mov dl, 1
mov eax, dword [0x4b2bfc]
call fcn.0040ddf4
call fcn.00404308
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x4b46c0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41bc74]
call fcn.004053e4
xor eax, eax
push ebp
push 0x4b4804
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x548b00], 0
jne 0x4b4713
mov ecx, dword [0x54a308]
mov dl, 1
mov eax, dword [0x4084e4]
call fcn.0040ddf4
call fcn.00404308
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004032b8
mov eax, ebx
call fcn.004051ec
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4b4814
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004067d4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004051fc
test eax, eax
jle 0x4b47ab
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4b47a4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404bd8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404bc0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004094f4
test eax, eax
jne 0x4b47a4
mov ebx, 0x15
jmp 0x4b47b0
mov ebx, 0x10
jmp 0x4b47b0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x548b00]
call fcn.004b4568
mov eax, dword [ebp - 8]
call fcn.004b4568
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004067ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b480b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404974
lea eax, [ebp - 0x10]
mov edx, dword [0x41bc74]
call fcn.004054b4
ret
Function at 0x4d4468
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, ecx
mov ebx, edx
mov dword [esp], eax
mov eax, ebp
mov edx, dword [esp]
call fcn.004049a4
mov esi, ebx
mov eax, dword [ebp]
call fcn.00404c10
test ax, ax
jbe 0x4d44d3
mov word [esp + 4], ax
mov bx, 1
mov eax, ebp
call fcn.00404e68
movzx edi, bx
mov edx, dword [ebp]
mov dl, byte [edx + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
mov eax, dword [esp]
movzx eax, byte [eax + edi - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec word [esp + 4]
jne 0x4d4498
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4d481c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, esi
mov edx, ebx
call fcn.004049a4
mov eax, dword [esi]
call fcn.00404c10
test ax, ax
jbe 0x4d487c
mov word [esp], ax
mov bx, 1
mov eax, esi
call fcn.00404e68
movzx ebp, bx
mov edx, dword [esi]
mov dl, byte [edx + ebp - 1]
movzx ecx, di
shr ecx, 8
xor dl, cl
mov byte [eax + ebp - 1], dl
mov eax, dword [esi]
movzx eax, byte [eax + ebp - 1]
add di, ax
imul ax, di, 0xce6d
add ax, 0x58bf
mov edi, eax
inc ebx
dec word [esp]
jne 0x4d4844
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4db18c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4db1ba
mov eax, ebx
call fcn.004dbc40
cmp dword [ebx + 0x40], 0
je 0x4db1b3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4db22b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4db21d
cmp dword [ebx + 8], 0
je 0x4db1dc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4db1ee
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4db21d
cmp dword [ebx + 8], 0
je 0x4db1cf
cmp eax, 3
je 0x4db201
dec eax
jne 0x4db1cf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4db1cf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4db1cf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4db249
cmp dword [ebx + 0x14], 0xcc
je 0x4db249
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004db254
pop ebx
ret
Function at 0x4f3fd0
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 0x4f3fd8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4f41ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4f41e0
mov eax, esi
call fcn.004f1d60
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004049a4
lea ecx, [ebp - 0x10]
mov edx, 0x4f41f4
mov eax, esi
call fcn.004f1d60
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004049a4
lea ecx, [ebp - 0x14]
mov edx, 0x4f420c
mov eax, esi
call fcn.004f1d60
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004049a4
lea ecx, [ebp - 0x18]
mov edx, 0x4f4228
mov eax, esi
call fcn.004f1d60
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004049a4
lea ecx, [ebp - 0x1c]
mov edx, 0x4f4244
mov eax, esi
call fcn.004f1d60
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004049a4
lea ecx, [ebp - 0x24]
mov edx, 0x4f425c
mov eax, esi
call fcn.004f1d60
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409564
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004099d4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4f4274
mov eax, esi
call fcn.004f1d60
mov eax, dword [ebp - 0x28]
call fcn.004f0e78
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4f4284
mov eax, esi
call fcn.004f1d60
mov eax, dword [ebp - 0x2c]
call fcn.004f0e78
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4f429c
mov eax, esi
call fcn.004f1d60
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004099d4
inc eax
je 0x4f416d
lea ecx, [ebp - 0x34]
mov edx, 0x4f429c
mov eax, esi
call fcn.004f1d60
mov eax, dword [ebp - 0x34]
call fcn.00409998
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.0040b9c8
fstp qword [ebp - 0x3c]
wait
call fcn.0040bd9c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4f4188
lea ecx, [ebp - 0x40]
mov edx, 0x4f429c
mov eax, esi
call fcn.004f1d60
mov eax, dword [ebp - 0x40]
call fcn.004f0e78
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4f42ac
mov eax, esi
call fcn.004f1d60
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004049a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f41d1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404974
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404974
ret
Function at 0x500468
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 0x5004c2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00500458
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004ef9e8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004ef5e8
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 0x5004c9
lea eax, [ebp - 4]
call fcn.00404950
ret

Function at 0x50903c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404e00
xor eax, eax
push ebp
push 0x50915e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c10
mov ebx, eax
shl ebx, 2
mov eax, ebx
call fcn.00409290
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x509141
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, ebx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00405958
push 0
call sub.user32.dll_OpenClipboard
call sub.user32.dll_EmptyClipboard
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x50910e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x5090fd
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00402ac4
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509104
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
Function at 0x50916c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x50932c
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetForegroundWindow
cmp eax, dword [ebx + 0x40]
jne 0x509316
mov eax, dword [0x54a6c0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x509316
inc esi
mov dword [ebp - 0xc], 0
mov eax, dword [0x54abcc]
push eax
call sub.kernel32.dll_EnterCriticalSection_1
lea eax, [ebp - 8]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x40]
push eax
call sub.user32.dll_GetWindowRect
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
add edx, dword [ebx + 0x48]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebx + 0x44]
call fcn.0040707c
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x1c]
call fcn.00407084
test al, al
jne 0x509218
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetCursorPos
mov eax, dword [0x54abcc]
push eax
call sub.kernel32.dll_LeaveCriticalSection_1
jmp 0x509316
mov eax, dword [ebp - 0x18]
add eax, dword [ebx + 0x48]
push eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebx + 0x44]
push eax
call sub.user32.dll_SetCursorPos
lea ecx, [ebp - 0x28]
mov eax, dword [0x54a6c0]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.0050903c
push 0
push 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebx + 0x48]
push eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebx + 0x44]
push eax
push 2
call sub.user32.dll_mouse_event
push 0
push 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebx + 0x48]
push eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebx + 0x44]
push eax
push 4
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x56
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x56
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x56
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x56
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0xd
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0xd
call sub.user32.dll_keybd_event
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetCursorPos
mov eax, dword [0x54abcc]
push eax
call sub.kernel32.dll_LeaveCriticalSection_1
imul eax, dword [ebx + 0x50], 0x3e8
push eax
call sub.kernel32.dll_Sleep_1
inc dword [ebp - 0xc]
dec esi
jne 0x5091b7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509333
lea eax, [ebp - 0x28]
call fcn.00404950
ret
Function at 0x50a07c
Capabilities:
Hide graphical window

Disassembly:
push 9
mov eax, dword [0x54aa0c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x54aa0c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [0x54aa0c]
mov eax, dword [eax]
cmp byte [eax + 0x5b], 0
jne 0x50a0d1
mov eax, dword [0x54aa0c]
mov eax, dword [eax]
mov byte [eax + 0x5b], 1
mov eax, dword [0x54aa0c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x50a0d1
mov edx, dword [0x54aa0c]
mov dl, 1
call fcn.0046b3b8
ret

Function at 0x50b814
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x50b8cb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404e10
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x50b856
call fcn.004043b4
jmp 0x50b8d2
mov eax, ebx
call fcn.00402850
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.00404e10
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x50b87f
call fcn.004043b4
jmp 0x50b8d2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x50b8dc
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x50b8a0
call fcn.004043b4
jmp 0x50b8d2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b8d2
mov eax, dword [ebp - 8]
call fcn.00402870
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x514a78
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x514b7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404950
lea edx, [ebp - 0x14]
mov eax, dword [0x54aa0c]
mov eax, dword [eax]
call fcn.0047254c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404e10
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
mov eax, esi
call fcn.00402850
mov edi, eax
push edi
push esi
push 0
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402c50
mov eax, dword [ebp - 0x18]
call fcn.00404e10
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x514b8c
push edi
call sub.version.dll_VerQueryValueA
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x10]
shr eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebx + 0x10]
and eax, 0xffff
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebx + 0x14]
shr eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov eax, dword [ebx + 0x14]
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x514b98
call fcn.0040aa5c
mov edx, esi
mov eax, edi
call fcn.00402870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514b85
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404974
ret