joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4a1c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
xor ebx, ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b4b68
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a6994]
cmp byte [eax], 0
je 0x4b4a82
call fcn.004b492c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [0x5a2778]
mov dword [ebp - 0x10], eax
jmp 0x4b4b3f
mov eax, dword [ebp + 8]
push eax
push 0x160
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x174]
mov edx, dword [ebp - 4]
call fcn.00404fe8
mov eax, dword [ebp - 0x174]
call fcn.00405280
push eax
call sub.shell32.dll_SHGetFileInfoA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov edx, 0x2b4
call fcn.004086f8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x170]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x16c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x168]
mov dword [eax + 8], edx
lea eax, [ebp - 0x178]
lea edx, [ebp - 0x164]
mov ecx, 0x104
call fcn.0040569c
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
add eax, 0xc
mov ecx, 0x104
call fcn.004b3e94
lea eax, [ebp - 0x17c]
lea edx, [ebp - 0x60]
mov ecx, 0x50
call fcn.0040569c
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0xc]
add eax, 0x214
mov ecx, 0x50
call fcn.004b3e94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4b6f
lea eax, [ebp - 0x17c]
mov edx, 2
call fcn.00405520
lea eax, [ebp - 0x174]
call fcn.00404dc0
ret

Function at 0x4b747c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [0x5a6994]
cmp byte [eax], 0
jne 0x4b74aa
mov ecx, 0xaf
mov edx, 0x4b7500
mov eax, 0x4b7548
call fcn.00404d1c
mov eax, dword [ebp - 8]
call fcn.00405508
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b74f3
push 0x200
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.004056b4
mov esp, ebp
pop ebp
ret
Function at 0x4b755c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov word [ebp - 2], ax
mov eax, dword [0x5a6994]
cmp byte [eax], 0
jne 0x4b7584
mov ecx, 0xbd
mov edx, 0x4b75e4
mov eax, 0x4b762c
call fcn.00404d1c
push 2
movzx eax, word [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
mov word [ebp - 4], ax
mov ax, word [ebp - 2]
add eax, 0xffffffd0
sub ax, 0xa
jae 0x4b75d2
mov ax, word [ebp - 2]
sub ax, 0x30
add ax, 0x30
mov word [ebp - 6], ax
mov ax, word [ebp - 4]
cmp ax, word [ebp - 6]
je 0x4b75d2
mov ax, word [ebp - 6]
push eax
call sub.user32.dll_VkKeyScanW
cmp al, byte [ebp - 2]
jne 0x4b75d2
mov ax, word [ebp - 6]
mov word [ebp - 4], ax
mov ax, word [ebp - 4]
pop ecx
pop ecx
pop ebp
ret
Function at 0x4b8380
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b8543
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 8]
mov dword [edx + 0xbc], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
jne 0x4b83c5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b83f2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
cmp dword [eax + 0x6c], 0
je 0x4b83e4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x6c]
call fcn.00476ccc
mov dword [ebp - 4], eax
jmp 0x4b83f2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.00476ccc
mov dword [ebp - 4], eax
mov eax, dword [0x5a6994]
cmp byte [eax], 0
je 0x4b8528
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
je 0x4b8528
cmp dword [ebp - 0xc], 0
je 0x4b8528
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
and ax, word [0x4b8550]
mov dx, word [0x4b8554]
cmp dx, ax
jne 0x4b8528
mov eax, dword [ebp - 8]
cmp byte [eax + 0x3e], 0
je 0x4b8528
push ebp
call fcn.004b8188
pop ecx
test al, al
je 0x4b8528
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004b7f14
mov eax, dword [ebp - 8]
call fcn.00478778
test eax, eax
jne 0x4b84c6
mov eax, dword [ebp - 8]
cmp word [eax + 0x60], 0
je 0x4b84c6
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
je 0x4b849f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
cmp dword [eax + 0x64], 0
jne 0x4b849f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 4]
mov edx, dword [0x4756b0]
call fcn.004040cc
test al, al
jne 0x4b84c6
push dword [ebp - 0x10]
push 0x4b855c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x60]
call fcn.004b7640
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405830
push ebp
lea eax, [ebp - 0x18]
call fcn.004b81ec
pop ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00405878
je 0x4b8528
push ebp
mov eax, dword [ebp - 0x10]
call fcn.004b82f0
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 0x34]
je 0x4b8501
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
cmp dword [eax + 0x6c], 0
je 0x4b8528
mov eax, dword [ebp - 0xc]
mov edx, dword [0x4756b0]
call fcn.004040cc
test al, al
je 0x4b8528
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x4b8528
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DrawMenuBar
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b854a
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405520
ret
Function at 0x4b98e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b9a66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a6994]
cmp byte [eax], 0
je 0x4b993b
mov eax, dword [ebp - 4]
mov edx, dword [0x461b5c]
call fcn.004040cc
test al, al
je 0x4b9956
mov eax, dword [ebp - 4]
call fcn.0046c9d0
test al, al
je 0x4b9956
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x4b9956
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00465dd0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004056d0
jmp 0x4b9a3b
mov eax, dword [ebp - 4]
mov edx, dword [0x461b5c]
call fcn.004040cc
test al, al
jne 0x4b99b7
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b97b8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b9996
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00465dd0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004056d0
jmp 0x4b9a3b
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00465dd0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, 0x38
call fcn.004c3344
jmp 0x4b9a3b
mov eax, dword [ebp - 4]
call fcn.0046c9d0
test al, al
jne 0x4b99e9
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00465dd0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.004056d0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b9830
jmp 0x4b9a3b
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
call fcn.00405ac4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040575c
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040574c
push eax
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040575c
mov edx, eax
dec edx
mov eax, dword [ebp - 8]
call fcn.00405ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9a6d
lea eax, [ebp - 0x20]
call fcn.00404dc0
lea eax, [ebp - 0x1c]
call fcn.00405508
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404de4
ret

Function at 0x4bc3b4
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x5a6edc]
cmp dword [eax], 2
je 0x4bc3d2
mov ecx, 0x35f
mov edx, 0x4bc404
mov eax, 0x4bc44c
call fcn.00404d1c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x4bc34c
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5a7d64], eax
cmp dword [0x5a7d64], 0
jne 0x4bc3f9
call fcn.0040fc84
ret
Function at 0x4bc7ac
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4bc7ca
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.004beeb0
jmp 0x4bc7f9
call sub.kernel32.dll_GetCommandLineW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004bc618
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x4bc7f9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00405878
je 0x4bc7f9
dec dword [ebp - 4]
jmp 0x4bc7d2
mov esp, ebp
pop ebp
ret

Function at 0x4bd31c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bd386
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.00405030
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a680
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd38d
lea eax, [ebp - 0x14]
call fcn.00404dc0
ret

Function at 0x4bd45c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x4bd4bb
lea eax, [ebp - 4]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4bd48f
call fcn.0040fc84
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 6
call fcn.00402cec
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4bd4bb
call fcn.0040fc84
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bdab8
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 [0x418b80]
call fcn.00405b2c
xor eax, eax
push ebp
push 0x4bdbfc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a27dc], 0
jne 0x4bdb0b
mov ecx, dword [0x5a68e8]
mov dl, 1
mov eax, dword [0x408dbc]
call fcn.0040e744
call fcn.00404714
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004035b4
mov eax, ebx
call fcn.0040574c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4bdc0c
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.00406f00
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040575c
test eax, eax
jle 0x4bdba3
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 0x4bdb9c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405048
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00405030
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409d78
test eax, eax
jne 0x4bdb9c
mov ebx, 0x15
jmp 0x4bdba8
mov ebx, 0x10
jmp 0x4bdba8
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 [0x5a27dc]
call fcn.004bda10
mov eax, dword [ebp - 8]
call fcn.004bda10
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406f18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdc03
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404de4
lea eax, [ebp - 0x10]
mov edx, dword [0x418b80]
call fcn.00405bfc
ret
Function at 0x4ccfe0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4cd00e
mov eax, ebx
call fcn.004cda94
cmp dword [ebx + 0x40], 0
je 0x4cd007
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4cd07f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4cd071
cmp dword [ebx + 8], 0
je 0x4cd030
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 0x4cd042
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4cd071
cmp dword [ebx + 8], 0
je 0x4cd023
cmp eax, 3
je 0x4cd055
dec eax
jne 0x4cd023
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 0x4cd023
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4cd023
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4cd09d
cmp dword [ebx + 0x14], 0xcc
je 0x4cd09d
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.004cd0a8
pop ebx
ret

Function at 0x4e80dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e814d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5a5de0]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4e8137
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004e80c4
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4e7e58]
call fcn.004e8178
mov dword [0x5a5e44], eax
mov eax, dword [ebp - 4]
call fcn.004e806c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8154
lea eax, [ebp - 8]
call fcn.00406f00
ret
Function at 0x4f0a54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jne 0x4f0a73
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4f0bfa
cmp dword [0x5a8248], 0
jne 0x4f0a81
call fcn.004f09b4
xor dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc], 8
jb 0x4f0bbd
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x5a8248]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x5a8248]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x5a8248]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x5a8248]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x5a8248]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x5a8248]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x5a8248]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x5a8248]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
sub dword [ebp - 0xc], 8
cmp dword [ebp - 0xc], 8
jae 0x4f0a8f
cmp dword [ebp - 0xc], 0
jbe 0x4f0bf1
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov edx, dword [0x5a8248]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
ja 0x4f0bc3
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4fcc40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc08
xor ecx, ecx
mov dword [ebp - 0x3f8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fcd10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00405508
mov eax, dword [0x5a6edc]
cmp dword [eax], 2
jne 0x4fccc1
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
call fcn.00405ac4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040575c
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040574c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040575c
mov edx, eax
dec edx
mov eax, dword [ebp - 8]
call fcn.00405ac4
jmp 0x4fccf7
lea eax, [ebp - 0x3f1]
push eax
push 0x3e8
push 0xd
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f8]
lea eax, [ebp - 0x3f1]
call fcn.0040b070
mov edx, dword [ebp - 0x3f8]
mov eax, dword [ebp - 8]
call fcn.004056d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fcd17
lea eax, [ebp - 0x3f8]
call fcn.00404dc0
ret
Function at 0x50a278
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
call sub.kernel32.dll_GetVersion_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x80000000
jae 0x50a2a7
cmp byte [ebp - 8], 5
jb 0x50a29e
mov dword [ebp - 4], 6
jmp 0x50a2ae
mov dword [ebp - 4], 8
jmp 0x50a2ae
mov dword [ebp - 4], 8
cmp dword [ebp - 4], 0xa
jge 0x50a2bb
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop ebp
ret
Function at 0x52346c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00523444
test eax, eax
jne 0x523494
mov eax, dword [ebp - 0xc]
call fcn.00405508
jmp 0x52354a
mov eax, dword [ebp - 4]
call fcn.005235f4
test al, al
je 0x5234ed
push 0
push 0
push 0xe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.004055fc
cmp dword [ebp - 0x10], 0
je 0x5234e3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0xd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x52354a
mov eax, dword [ebp - 0xc]
call fcn.00405508
jmp 0x52354a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
je 0x523542
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x208]
call fcn.0041cab8
test eax, eax
jle 0x52352c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x208]
mov edx, dword [ebp - 8]
call fcn.0044742c
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.004056d0
jmp 0x52354a
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x210]
call fcn.004056d0
jmp 0x52354a
mov eax, dword [ebp - 0xc]
call fcn.00405508
mov esp, ebp
pop ebp
ret
Function at 0x557e34
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
mov eax, dword [0x5a6cc8]
mov eax, dword [eax]
call fcn.004864cc
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x557e45
pop ecx
pop ecx
pop ebp
ret

Function at 0x568e54
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x568f9e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
call fcn.00404dc0
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.00405280
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x568f7b
mov eax, dword [ebp - 0x10]
call fcn.00402acc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405280
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x568f73
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x568fac
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
push 0x568fd0
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.0040a5ec
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.004086dc
movzx eax, ax
lea ecx, [ebp - 0x28]
mov edx, 4
call fcn.0040a5ec
push dword [ebp - 0x28]
push 0x568fec
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405140
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x568ff8
mov edx, dword [ebp - 0x1c]
call fcn.004050cc
mov eax, dword [ebp - 0x2c]
call fcn.00405280
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x14], 0
je 0x568f73
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00404fb8
mov eax, dword [ebp - 0xc]
call fcn.00402afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x568fa5
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404de4
lea eax, [ebp - 0x1c]
call fcn.00404dc0
ret