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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48a2d3
add esp, 0xfffffff0
call fcn.004039d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425bec
mov eax, dword [0x5aef18]
cmp word [eax + 2], 0
jne 0x48a2fb
mov eax, dword [0x5aef18]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048ba54
mov eax, dword [0x5af040]
cmp word [eax + 2], 0
jne 0x48a315
mov eax, dword [0x5af040]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048bc4c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a100]
call fcn.00403640
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a100]
call fcn.00403640
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x428218]
call fcn.0043004c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x48a49c
mov eax, dword [0x5aedc8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430458
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x48c1fc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5aedc8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040fc94
test eax, eax
je 0x48a40a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a5b4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040fcbc
test eax, eax
je 0x48a41e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404740
mov eax, dword [0x5aec0c]
cmp byte [eax], 0
jne 0x48a452
mov eax, ebx
call fcn.0048a5c4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0048c3d8
mov eax, ebx
call fcn.0048cdc0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48a492
call fcn.00403a2c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48a844
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5b0c18]
cmp dword [eax + 0x30], 0
je 0x48a8ee
cmp dword [ebx + 0x94], 0
jne 0x48a8e8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48a7d4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48a8e8
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_GetWindowLongA
test al, 8
je 0x48a8ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48a8e8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041cc64
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48a8bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48b468
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x48b49d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004045b0
jmp 0x48b4aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404514
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48c5b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48c5f5
mov eax, esi
call fcn.00471e10
test al, al
je 0x48c5f5
mov eax, dword [ebx + 0x84]
call fcn.00471b0c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48c5f5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00471b0c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x48e28c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x48e2e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5aecc8]
cmp byte [eax], 0
je 0x48e2b6
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x48e2d0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004046f8
mov eax, dword [ebp - 4]
call fcn.004049ac
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e2ed
lea eax, [ebp - 4]
call fcn.004044c0
ret

Function at 0x48e2f4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48e353
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5aecc8]
cmp byte [eax], 0
je 0x48e322
push esi
push ebx
call sub.kernel32.dll_SetFileAttributesW
mov ebx, eax
jmp 0x48e33d
push esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004046f8
mov eax, dword [ebp - 4]
call fcn.004049ac
push eax
call sub.kernel32.dll_SetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e35a
lea eax, [ebp - 4]
call fcn.004044c0
ret
Function at 0x48e3d4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48e44c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5aecc8]
cmp byte [eax], 0
je 0x48e404
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x48e431
lea eax, [ebp - 4]
mov edx, esi
call fcn.004046f8
mov eax, dword [ebp - 4]
call fcn.004049ac
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004046f8
mov eax, dword [ebp - 8]
call fcn.004049ac
push eax
call sub.kernel32.dll_MoveFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e453
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044e4
ret

Function at 0x48e45c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48e4d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5aecc8]
cmp byte [eax], 0
je 0x48e490
push edi
push esi
push ebx
call sub.kernel32.dll_CopyFileW
mov ebx, eax
jmp 0x48e4be
push edi
lea eax, [ebp - 4]
mov edx, esi
call fcn.004046f8
mov eax, dword [ebp - 4]
call fcn.004049ac
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004046f8
mov eax, dword [ebp - 8]
call fcn.004049ac
push eax
call sub.kernel32.dll_CopyFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e4e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044e4
ret

Function at 0x48f508
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x48f56c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404740
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409bbc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f573
lea eax, [ebp - 0xc]
call fcn.004044c0
ret

Function at 0x48f5f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x48f64b
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x48f61f
call fcn.00410774
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 6
call fcn.004029b8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 6
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x48f64b
call fcn.00410774
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x496920
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x5aecc8]
cmp byte [eax], 0
jne 0x496946
mov ecx, 0xbd
mov edx, 0x496988
mov eax, 0x4969dc
call fcn.0040441c
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x496979
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x496979
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x496979
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4996e4
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49975c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5af248]
cmp dword [eax], 2
jne 0x499720
mov eax, dword [ebp + 8]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_GetDiskFreeSpaceExW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
jmp 0x499746
mov eax, dword [ebp + 8]
push eax
push edi
push esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004046f8
mov eax, dword [ebp - 4]
call fcn.004049ac
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499763
lea eax, [ebp - 4]
call fcn.004044c0
ret
Function at 0x4998d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x499a08
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5af248]
cmp dword [eax], 2
jne 0x499923
push esi
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_GetVolumeInformationW
mov edi, eax
jmp 0x4999df
push ebx
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4998b0]
call fcn.00405cfc
add esp, 4
push esi
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4998b0]
call fcn.00405cfc
add esp, 4
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004046f8
mov eax, dword [ebp - 0x10]
call fcn.004049ac
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edi, eax
mov eax, ebx
add eax, eax
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push 0
push 0
call sub.kernel32.dll_MultiByteToWideChar_1
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
call sub.kernel32.dll_MultiByteToWideChar_1
push 0
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4998b0]
call fcn.00405cfc
add esp, 4
push 0
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4998b0]
call fcn.00405cfc
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499a0f
lea eax, [ebp - 0x10]
call fcn.004044c0
lea eax, [ebp - 0xc]
mov edx, dword [0x4998b0]
mov ecx, 2
call fcn.0040533c
ret
Function at 0x49d668
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 0x49d8c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49d6cb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049d180
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040f77c
cmp al, 1
jne 0x49d6cb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049d448
test al, al
je 0x49d857
cmp dword [ebp - 8], 0
jge 0x49d6e9
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.0049d180
mov eax, dword [ebp - 0x210]
call fcn.004047ac
cmp ebx, eax
jge 0x49d733
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049d180
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5af230]
and eax, 0xff
bt dword [edx], eax
jae 0x49d733
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49d747
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049d644
cmp ebx, dword [ebp - 8]
je 0x49d849
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 0x49d773
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040386c
and eax, 0x7f
movzx eax, word [eax*2 + 0x5ab544]
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 0x49d836
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040386c
and eax, 0x7f
movzx eax, word [eax*2 + 0x5ab544]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00471b0c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040386c
and eax, 0x7f
movzx eax, word [eax*2 + 0x5ab544]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00471b0c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d83d
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 0x49d8aa
cmp dword [ebp - 8], 0
jge 0x49d862
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049d180
mov eax, dword [ebp - 0x218]
call fcn.004047ac
cmp eax, dword [ebp - 8]
jg 0x49d89c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049d180
mov eax, dword [ebp - 0x21c]
call fcn.004047ac
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049d644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d8cf
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004044e4
ret
Function at 0x4a5054
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, edx
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]
mov esi, ecx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, dword [ebp - 0x24]
jge 0x4a5086
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.004a4f68
mov dword [ebp - 0x1c], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x19], al
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00503a04
test al, al
je 0x4a5181
mov edx, dword [ebp - 0x2c]
xor eax, eax
call fcn.00430d50
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00430c8c
dec eax
pop edx
sub eax, edx
jl 0x4a5181
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x30]
xor eax, eax
call fcn.00430d50
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.00430c8c
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x4a5175
inc edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 0x1a]
sub eax, edx
mov esi, ebx
and esi, 0xff
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 2], al
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [ebp - 0x1b]
sub eax, edx
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 1], al
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp - 0x1c]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp - 0x19]
mov byte [ecx + 3], al
inc dword [ebp - 0x14]
dec edi
jne 0x4a510b
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x4a50d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ae080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x5b1194
test esi, esi
jne 0x4ae09a
xor eax, eax
jmp 0x4ae19c
cmp dword [ebp], 0
jne 0x4ae0a5
call fcn.004ae010
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4ae175
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4ae0b1
test edi, edi
jbe 0x4ae197
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4ae179
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4c90d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c918a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404bf8
mov eax, dword [0x5af248]
cmp dword [eax], 2
jne 0x4c913f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004051bc
mov eax, dword [ebx]
call fcn.00404e58
push eax
mov eax, dword [ebx]
call fcn.00404e48
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404e58
mov edx, eax
dec edx
mov eax, ebx
call fcn.004051bc
jmp 0x4c9171
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a764
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404dcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9191
lea eax, [ebp - 0x3f0]
call fcn.004044c0
ret
Function at 0x4d3168
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x68], 0
jne 0x4d3180
mov eax, ebx
call fcn.004d2f00
cmp dword [ebx + 0x60], 0
jne 0x4d318d
mov eax, ebx
call fcn.004d2e58
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x4d3331
cmp dword [ebx + 0x60], 0
je 0x4d3331
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004d2ddc
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4d3200
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4d31e9
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4d31f5
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x4d3216
call fcn.00471b0c
mov esi, eax
jmp 0x4d3219
mov esi, dword [ebx + 0x48]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4d322e
or esi, 0xffffffff
jmp 0x4d3238
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x60]
call fcn.0046a908
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.0046a92c
mov edx, dword [esp]
mov eax, dword [ebx + 0x60]
call fcn.0046a954
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x60]
call fcn.0046a978
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406c08
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.00471b0c
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.00471b0c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.00471b0c
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x68]
call fcn.0042ea4c
call fcn.0042a2ac
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.00471b0c
push eax
call dword [0x5b1250]
push 4
mov eax, dword [ebx + 0x60]
call fcn.00471b0c
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f1574
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004f1560
test eax, eax
jne 0x4f1595
mov eax, esi
call fcn.004044c0
jmp 0x4f1626
mov eax, ebx
call fcn.004f16c4
test al, al
je 0x4f15db
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.004045b0
test edi, edi
je 0x4f15d2
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4f1626
mov eax, esi
call fcn.004044c0
jmp 0x4f1626
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4f161f
mov eax, dword [ebp + 0x208]
call fcn.0041da9c
test eax, eax
jle 0x4f160d
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.0044c5ac
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00404514
jmp 0x4f1626
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.00404514
jmp 0x4f1626
mov eax, esi
call fcn.004044c0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4f3314
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.00406bec
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret