joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0a3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4b0a62
mov eax, esp
push eax
push 0x4b0a04
call sub.user32.dll_EnumWindows
jmp 0x4b0a75
mov eax, esp
push eax
push 0x4b09e4
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4b0b38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4b0b88]
test bl, 4
je 0x4b0b4c
or si, 1
test bl, 8
je 0x4b0b55
or si, 4
test bl, 1
je 0x4b0b5e
or si, 8
test bl, 2
je 0x4b0b67
or si, 0x10
test bl, 0x10
je 0x4b0b70
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b0b80
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4b0b8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4b0bc8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b0ba7
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b0bb7
or bx, 4
test esi, 0x20000000
je 0x4b0bc3
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4b978c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4b979e
add esp, 0xfffffff0
call fcn.004052dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043f9a0
mov eax, dword [0x50a8b4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b9be8
mov eax, dword [0x50a8c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b9bf4
mov eax, ebx
call fcn.004b9c00
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x428e88]
call fcn.00404d78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x428e88]
call fcn.00404d78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x428e88]
call fcn.00404d78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x428e88]
call fcn.00404d78
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x428e88]
call fcn.00404d78
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4b4534
push eax
push 0
push 0
mov eax, dword [0x50aa94]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44a37c]
call fcn.00450650
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44a37c]
call fcn.00450650
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44a37c]
call fcn.00450650
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44a37c]
call fcn.00450650
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44a37c]
call fcn.00450650
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004ba158
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b9fc8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b9fc8
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b9fc8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b9fc8
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b9fc8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b9919
call fcn.00405334
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b9d68
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b9f15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b9ef6
mov dl, 1
mov eax, dword [0x42b588]
call fcn.00437418
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406cdc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b9ee5
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0049c490
test al, al
je 0x4b9ed8
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4b9f24
lea eax, [ebp - 0x394]
call fcn.00413ce4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b9ed8
xor eax, eax
push ebp
push 0x4b9ed1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4b9f94
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b9eba
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406edc
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x4b9eba
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9ed8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b9ddb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00437354
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9f1c
lea eax, [ebp - 0x3a0]
call fcn.00406ccc
ret

Function at 0x4baa74
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5102bc]
cmp byte [eax + 0xad], 0
jne 0x4baae6
cmp dword [0x5102d4], 0
jne 0x4baaa6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x50a3ec]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5102d4], eax
cmp dword [0x5102d0], 0
jne 0x4baac1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5102d0], eax
cmp dword [0x5102d8], 0
jne 0x4baae6
push esp
push 0
push 0
mov eax, dword [0x50a3e8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5102d8], eax
pop edx
ret
Function at 0x4bae0c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4bae23
add esp, 0xfffffff0
call fcn.004052dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043f9a0
mov eax, dword [0x50a7a8]
cmp byte [eax], 0
jne 0x4bae50
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x50aa64]
cmp word [eax + 2], 0
jne 0x4bae6a
mov eax, dword [0x50aa64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bcf04
mov eax, dword [0x50ab74]
cmp word [eax + 2], 0
jne 0x4bae84
mov eax, dword [0x50ab74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bd114
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44a37c]
call fcn.00450650
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4bd6c4
mov dl, 1
mov eax, dword [0x428e88]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x428e88]
call fcn.00404d78
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44e814]
call fcn.00459b28
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4bb064
mov eax, dword [0x50a93c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00459fbc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4bd9ac
mov dl, 1
mov eax, dword [0x428e88]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x50a93c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00413b1c
test eax, eax
je 0x4baf95
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00413900
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00413b00
test eax, eax
je 0x4bafad
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 + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406edc
push ebx
push 0x4bc8d4
call fcn.004b0b1c
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x50a7a8]
cmp byte [eax], 0
jne 0x4baffe
mov eax, ebx
call fcn.004bb1d8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004bdbd8
mov eax, ebx
call fcn.004be80c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4bb05b
call fcn.00405334
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bb4ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4bb54e
cmp dword [ebx + 0x94], 0
jne 0x4bb548
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4bb3f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4bb548
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 0x4bb50e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4bb548
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.00433d94
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4bb51d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5102bc]
cmp dword [eax + 0x170], 0
je 0x4bb8d1
test bl, bl
jne 0x4bb81f
cmp dword [esi + 0x9c], 0
jne 0x4bb814
mov eax, esi
call fcn.004be65c
push eax
push 0x4bb678
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4bb7e5
mov eax, dword [0x5102bc]
cmp byte [eax + 0xd3], 0
je 0x4bb7e5
mov eax, dword [esi + 0xd8]
call fcn.004083a0
mov edi, eax
cmp edi, 0
jl 0x4bb7e5
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4bb7ce
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bb814
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00433d94
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4bb7f4
inc dword [esi + 0x9c]
jmp 0x4bb8d1
cmp dword [esi + 0x9c], 0
jle 0x4bb8d1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4bb8d1
cmp dword [esi + 0x44], 0
je 0x4bb87c
mov eax, dword [0x5102bc]
cmp byte [eax + 0xd3], 0
je 0x4bb87c
mov eax, dword [esi + 0xd8]
call fcn.004083a0
mov edi, eax
cmp edi, 0
jl 0x4bb87c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4bb865
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bb8ab
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00433d94
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4bb88b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4ae9f4]
call fcn.00408560
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4bc520
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4bc58b
cmp byte [ebx + 0xd3], 0
jne 0x4bc58b
push pe_nt_image_headers32
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.00406e18
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4bc578
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4bc598
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406cdc
jmp 0x4bc598
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406cdc
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4bddc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4bde2e
mov eax, esi
call fcn.0049639c
test al, al
je 0x4bde2e
mov eax, dword [ebx + 0x84]
call fcn.00495ff0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4bde2e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4bde22
push 0
mov eax, dword [ebx + 0x84]
call fcn.00495ff0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048cfc4
jmp 0x4bde2e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004bdbf8
pop esi
pop ebx
ret
Function at 0x4cc20c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff828
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x7d8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4cc2c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004067fc
mov eax, dword [0x50a850]
cmp byte [eax], 0
je 0x4cc27b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00406c28
mov eax, dword [ebx]
call fcn.004069fc
push eax
mov eax, dword [ebx]
call fcn.004069ec
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004069fc
mov edx, eax
dec edx
mov eax, ebx
call fcn.00406c28
jmp 0x4cc2ad
lea eax, [ebp - 0x7d2]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageW
lea edx, [ebp - 0x7d8]
lea eax, [ebp - 0x7d2]
call fcn.00413c04
mov edx, dword [ebp - 0x7d8]
mov eax, ebx
call fcn.00406f58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc2cd
lea eax, [ebp - 0x7d8]
call fcn.00406ccc
ret

Function at 0x4cc2d4
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffff82c
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageW
mov edx, ebx
mov eax, esp
call fcn.00413c04
add esp, 0x7d4
pop ebx
ret

Function at 0x4cc494
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
mov edx, esi
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4cc55d
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.004b0bcc
mov ebp, eax
movzx edx, word [esi + 4]
mov eax, ebx
call fcn.004cc150
mov edi, eax
test edi, edi
je 0x4cc4f6
movzx eax, word [0x4cc568]
cmp ax, bp
jne 0x4cc4f6
mov edx, edi
mov eax, ebx
call fcn.004cc088
mov dword [esi + 0xc], 1
mov byte [ebx + 0x35], 1
jmp 0x4cc55d
cmp byte [ebx + 0x161], 2
jne 0x4cc521
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x50ac70]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0048e594
test eax, eax
jne 0x4cc55d
jmp 0x4cc558
mov edx, dword [0x50ab4c]
mov edx, dword [edx]
mov edi, dword [edx + 0x44]
mov eax, dword [ebx + 0x128]
cmp edi, eax
je 0x4cc558
test byte [eax + 0x384], 8
jne 0x4cc558
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x50ab4c]
mov eax, edi
mov edx, 0xb006
call fcn.0048e594
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d2f60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x50ac70]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4d3006
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4d2fa5
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4d2fe1
jmp 0x4d2fa9
pop edx
pop eax
jge 0x4d2fe1
mov eax, dword [0x50ac70]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004cd2dc
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4d3006
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x44]
jmp 0x4d3006
cmp dword [ebx + 0x11c], 0
je 0x4d3006
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.004697dc
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageW
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4e0ce0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff828
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x7d8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e0d9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004067fc
mov eax, dword [0x50a850]
cmp byte [eax], 0
je 0x4e0d4f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00406c28
mov eax, dword [ebx]
call fcn.004069fc
push eax
mov eax, dword [ebx]
call fcn.004069ec
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004069fc
mov edx, eax
dec edx
mov eax, ebx
call fcn.00406c28
jmp 0x4e0d81
lea eax, [ebp - 0x7d2]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageW
lea edx, [ebp - 0x7d8]
lea eax, [ebp - 0x7d2]
call fcn.00413c04
mov edx, dword [ebp - 0x7d8]
mov eax, ebx
call fcn.00406f58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0da1
lea eax, [ebp - 0x7d8]
call fcn.00406ccc
ret
Function at 0x4eae20
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4eae56
jmp 0x4eaefc
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_GetWindowLongW
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageW
xor eax, eax
test esi, 2
jbe 0x4eae9a
mov edx, dword [ebx + 0x50]
cmp dword [edx + 0x184], 0
je 0x4eae9a
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x4eaeaa
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x4eaeaa
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4eaec3
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004e7648
jmp 0x4eaefc
mov dl, 1
mov eax, dword [0x44ba34]
call fcn.004516d4
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00452620
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x44]
call fcn.00450fbc
mov edx, esp
mov eax, esi
call fcn.004515d0
mov eax, esi
call fcn.00404da8
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4ed754
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00495ff0
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2e4], 0
xor edx, edx
mov eax, ebx
call fcn.0048cfc4
pop ebx
ret
Function at 0x4fb50c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4fb532
push 0
mov eax, dword [ebx + 0x94]
call fcn.00495ff0
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4fb824
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4fb996
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x4fb97b
lea eax, [ebp - 0x20e]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathW
lea edx, [ebp - 4]
lea eax, [ebp - 0x20e]
call fcn.00413c04
mov dl, 1
mov eax, dword [0x4c736c]
call fcn.004c7650
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x42c854]
call fcn.00404d78
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.004c7d88
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4fb977
mov dl, 1
mov eax, dword [0x4c0eb4]
call fcn.004c1664
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
mov edx, 0x4fb9b0
call fcn.004c85fc
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004071b0
xor eax, eax
push ebp
push 0x4fb970
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x40]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
call fcn.004c1cd0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004fb9bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb977
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.00404da8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x40]
call fcn.00404da8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
call fcn.00404da8
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb99d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406cd4
ret
Function at 0x4fd73c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetPriorityClass
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0xa
call sub.kernel32.dll_Sleep_1
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.kernel32.dll_Sleep_1
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x4fd7dc]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret