joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9324
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a933b
add esp, 0xfffffff0
call fcn.0040470c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042dbfc
mov eax, dword [0x535554]
cmp byte [eax], 0
jne 0x4a9368
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x5358f8]
cmp word [eax + 2], 0
jne 0x4a9382
mov eax, dword [0x5358f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ab288
mov eax, dword [0x535a28]
cmp word [eax + 2], 0
jne 0x4a939c
mov eax, dword [0x535a28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ab498
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x435094]
call fcn.00436e70
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4ab92c
mov dl, 1
mov eax, dword [0x420594]
call fcn.004041f8
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x420594]
call fcn.004041f8
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x435c48]
call fcn.0043ec14
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x4a9578
mov eax, dword [0x535730]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0043f018
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4abbdc
mov dl, 1
mov eax, dword [0x420594]
call fcn.004041f8
mov dword [ebx + 0x94], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x535730]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040d5c4
test eax, eax
je 0x4a94aa
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040d3c4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040d5ac
test eax, eax
je 0x4a94c2
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.004062f8
push ebx
push 0x4aac84
call fcn.0049fac0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x535554]
cmp byte [eax], 0
jne 0x4a9513
mov eax, ebx
call fcn.004a96ec
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.004abe04
mov eax, ebx
call fcn.004ac9c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a9570
call fcn.00404764
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a9994
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a9a36
cmp dword [ebx + 0x90], 0
jne 0x4a9a30
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a990c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x4a9a30
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a99f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a9a30
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.0042353c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a9a05
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a9c54
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x53b194]
cmp dword [eax + 0x170], 0
je 0x4a9db9
test bl, bl
jne 0x4a9d07
cmp dword [esi + 0x98], 0
jne 0x4a9cfc
mov eax, esi
call fcn.004ac818
push eax
push 0x4a9b60
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x4a9ccd
mov eax, dword [0x53b194]
cmp byte [eax + 0xcf], 0
je 0x4a9ccd
mov eax, dword [esi + 0xd4]
call fcn.004076d4
mov edi, eax
cmp edi, 0
jl 0x4a9ccd
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a9cb6
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a9cfc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0042353c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a9cdc
inc dword [esi + 0x98]
jmp 0x4a9db9
cmp dword [esi + 0x98], 0
jle 0x4a9db9
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x4a9db9
cmp dword [esi + 0x40], 0
je 0x4a9d64
mov eax, dword [0x53b194]
cmp byte [eax + 0xcf], 0
je 0x4a9d64
mov eax, dword [esi + 0xd4]
call fcn.004076d4
mov edi, eax
cmp edi, 0
jl 0x4a9d64
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a9d4d
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a9d93
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0042353c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a9d73
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x49f4c4]
call fcn.00407894
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4aa974
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x4aa9df
cmp byte [ebx + 0xcf], 0
jne 0x4aa9df
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406264
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4aa9cc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4aa9ec
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00406128
jmp 0x4aa9ec
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00406128
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4abfd8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x4ac046
mov eax, esi
call fcn.00491f54
test al, al
je 0x4ac046
mov eax, dword [ebx + 0x80]
call fcn.00491ba8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ac046
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4ac03a
push 0
mov eax, dword [ebx + 0x80]
call fcn.00491ba8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.004891f0
jmp 0x4ac046
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.004abe24
pop esi
pop ebx
ret

Function at 0x4aede0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x53b1cc
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4aee02
shr eax, 1
xor eax, 0xedb88320
jmp 0x4aee04
shr eax, 1
dec edx
jne 0x4aedf0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4aede9
mov byte [0x53b5cc], 1
pop esi
pop ebx
ret

Function at 0x4aee20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x53b5cc], 0
jne 0x4aee37
call fcn.004aede0
mov eax, edi
dec eax
test eax, eax
jl 0x4aee5f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x53b1cc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4aee41
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4b18d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4b196a.0
jmp dword [ecx*4 + 0x4b1903]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4b1935
sub dl, 8
je 0x4b1944
jmp case.0x4b196a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4b1578
jmp case.0x4b196a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4b15d0
jmp case.0x4b196a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4b196a.0
movzx ecx, byte [ecx + 0x4b1971]
jmp dword [ecx*4 + 0x4b1982]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4b167c
jmp case.0x4b196a.0
cmp dl, 3
jne 0x4b19af
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4b16d4
jmp case.0x4b196a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4b1690
jmp case.0x4b196a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4b1718
jmp case.0x4b196a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4b19da
sub dl, 8
je 0x4b19e6
jmp case.0x4b196a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4b1744
jmp case.0x4b196a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4b17b0
jmp case.0x4b196a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4b1a05
sub dl, 8
je 0x4b1a11
jmp case.0x4b196a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4b186c
jmp case.0x4b196a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4b1894
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x4b1ab3
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004b0a7c
test eax, eax
je 0x4b1ab3
mov eax, ebx
call fcn.004b1abc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x4b1a4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b1abc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4b1aed
dec al
je 0x4b1b28
dec al
je 0x4b1b6d
dec al
je 0x4b1bd6
jmp 0x4b1c60
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4b1c60
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4b1afd
jmp 0x4b1c60
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b1c60
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4b1b38
jmp 0x4b1c60
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b1c60
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4b1b9c
xor ebp, ebp
jmp 0x4b1bac
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4b1bb5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4b1b7d
jmp 0x4b1c60
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b1c60
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4b1c2f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004aee68
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4b1bea
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c45cc
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.0043832c
cmp ebx, dword [ebp - 8]
jge 0x4c462f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00438834
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00438834
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00438860
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4c45f5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c4638
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.0043832c
cmp ebx, dword [ebp - 8]
jge 0x4c469b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00438834
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00438834
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00438860
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4c4661
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c7820
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 0x4c78d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004061b4
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x4c7862
call fcn.00404e68
jmp 0x4c78de
mov eax, ebx
call fcn.00403048
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.004061b4
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4c788b
call fcn.00404e68
jmp 0x4c78de
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4c78ec
mov eax, dword [ebp - 8]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4c78ac
call fcn.00404e68
jmp 0x4c78de
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 0x4c78de
mov eax, dword [ebp - 8]
call fcn.00403064
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4dce40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0049fb74
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x4eacbc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e103c]
call fcn.004e4bb8
mov dword [ebp - 0xc], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e103c]
call fcn.004e4bb8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4eaea2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004e378c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0043d39c
pop edx
call fcn.004387c4
mov eax, dword [ebp - 0xc]
call fcn.0043d39c
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.0043705c
mov eax, dword [ebp - 0xc]
call fcn.0043d39c
mov eax, dword [eax + 0x14]
mov edx, 0xffffff
call fcn.00437b88
mov eax, dword [ebp - 0xc]
call fcn.0043d39c
lea edx, [ebp - 0x20]
call fcn.004388a8
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0043d39c
pop edx
call fcn.00438254
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004e56e0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0043d39c
call fcn.004388d0
pop edx
call fcn.004eac4c
pop ecx
mov eax, dword [ebp - 4]
call fcn.004e3748
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4eae7d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 4]
call fcn.004e3794
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0043d39c
call fcn.004388d0
push eax
call sub.GDI32.dll_BitBlt
push 0x550009
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 4]
call fcn.004e3794
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0043d39c
call fcn.004388d0
push eax
call sub.GDI32.dll_BitBlt
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004e3794
mov edx, ebx
call fcn.004eac4c
pop ecx
mov edx, 0xcc0020
mov eax, dword [ebp - 4]
call fcn.004e37d8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004e3b2c
mov edx, 0x660046
mov eax, dword [ebp - 4]
call fcn.004e37d8
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004e3b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eae84
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e37d8
ret
Function at 0x4f23e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
call fcn.00406128
push 0
push edi
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.SHELL32.dll_SHGetSpecialFolderPathW
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004062f8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4f2614
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f26cf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x23
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.SHELL32.dll_SHGetSpecialFolderPathW
lea eax, [ebx + 8]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004062f8
push 0
push 0x1a
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.SHELL32.dll_SHGetSpecialFolderPathW
lea eax, [ebx + 4]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004062f8
lea edx, [ebp - 0x214]
xor eax, eax
call fcn.004033bc
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.0040d03c
mov edx, dword [ebp - 0x210]
lea eax, [ebx + 0xc]
call fcn.00406128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f26d6
lea eax, [ebp - 0x214]
mov edx, 2
call fcn.00406120
ret

Function at 0x4f2bfc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x100
call fcn.004062f8
add esp, 0x200
pop ebx
ret
Function at 0x4f2c2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4f2c34
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406110
xor eax, eax
push ebp
push 0x4f2dce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4f2364]
call fcn.004f26dc
mov ebx, eax
movzx eax, byte [0x4f2ddc]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.004f2bfc
mov ecx, dword [ebp - 0x10]
mov edx, 0x4f2dec
mov eax, dword [ebp - 4]
call fcn.00414654
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.0040617c
movzx eax, byte [0x4f2ddc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
call fcn.004f3918
mov ecx, dword [ebp - 0x18]
mov edx, 0x4f2e0c
mov eax, dword [ebp - 4]
call fcn.00414654
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.0040617c
movzx eax, byte [0x4f2ddc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebx + 0xc]
mov edx, 0x4f2e2c
mov eax, dword [ebp - 4]
call fcn.00414654
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.0040617c
movzx eax, byte [0x4f2ddc]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebx + 0xc]
mov edx, 0x4f2e48
mov eax, dword [ebp - 4]
call fcn.00414654
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.0040617c
lea eax, [ebp - 0x28]
push eax
mov ecx, 0xc
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040674c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040bcd8
mov eax, dword [ebp - 0x24]
mov edx, 0x4f2e64
call fcn.00406744
je 0x4f2d5d
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004061b4
push eax
push 0x4f2e80
push 0
call sub.SHELL32.dll_ShellExecuteW
jmp 0x4f2d9c
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0xff
mov edx, 0xe
mov eax, dword [ebp - 4]
call fcn.0040674c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00406374
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00405ef8
push eax
push 0x4f2e8c
push 0x4f2e80
push 0
call sub.SHELL32.dll_ShellExecuteW
mov eax, ebx
call fcn.00404228
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f2dd5
lea eax, [ebp - 0x2c]
mov edx, 9
call fcn.00406120
lea eax, [ebp - 8]
call fcn.00405d1c
lea eax, [ebp - 4]
call fcn.00406118
ret

Function at 0x4f3328
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push 0
push 0x4f3398
call sub.user32.dll_FindWindowW
test eax, eax
jne 0x4f3392
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040395c
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov eax, 0x4f33b8
mov dword [ebp - 0x30], eax
mov eax, 0x4f33c4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 3
lea eax, [ebp - 0x3c]
push eax
call sub.SHELL32.dll_ShellExecuteExW
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_WaitForInputIdle
push 0
push 0x4f3398
call sub.user32.dll_FindWindowW
mov esp, ebp
pop ebp
ret