joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d0ef0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1048
call fcn.0051d7f0
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1050]
xor eax, eax
shr ecx, 0x10
cmp ecx, 0x13
jne 0x4d0fc7
push edi
mov ecx, 0x411
lea edi, [esp + 0xa]
mov word [esp + 8], ax
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x11db8]
stosw word es:[edi], ax
call fcn.004a48b0
test eax, eax
pop edi
je 0x4d0f5a
cmp word [eax], 0
je 0x4d0f5a
push 1
push 1
lea edx, [esp + 0xc]
push 0x824
push edx
push eax
push 0xffffffffffffffff
call fcn.004a4f70
mov ecx, eax
call fcn.004a5450
jmp 0x4d0f74
push 1
lea eax, [esp + 8]
push 0x824
push eax
push 0xffffffffffffffff
call fcn.004a4f70
mov ecx, eax
call fcn.004a5570
cmp word [esp + 4], 0
je 0x4d0fc2
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x588e58]
lea edx, [esp + 4]
push ecx
push 0
push 0
push 1
push 1
push 8
push 0
push edx
lea ecx, [esi + 0xedb8]
call fcn.00488290
call fcn.00422af0
mov eax, dword [eax + 4]
push 0
push 0x7612
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop esi
add esp, 0x1048
ret 4

Function at 0x4d1360
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x28]
push 0x2008
push 1
push 0x9d99
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret

Function at 0x4d14f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
mov ebp, ecx
push 0x10
call ebx
mov si, ax
push 0x12
shr esi, 8
and esi, 0xff
call ebx
mov di, ax
push 0x11
shr edi, 8
and edi, 0xff
call ebx
shr eax, 8
and eax, 0xff
test esi, esi
jne 0x4d1584
test edi, edi
jne 0x4d1584
test eax, eax
jne 0x4d1584
mov eax, dword [esp + 0x14]
add eax, 0xffffff90
mov ecx, eax
shl ecx, 6
add ecx, eax
lea eax, [eax + ecx*8]
cmp word [eax*8 + 0x5a1b0c], di
lea esi, [eax*8 + 0x5a1b0c]
je 0x4d1584
push edi
call dword [sym.imp.USER32.dll_InSendMessageEx]
and eax, 9
cmp al, 1
jne 0x4d156c
push 1
call dword [sym.imp.USER32.dll_ReplyMessage]
push esi
lea ecx, [ebp + 0xedb8]
call fcn.00487ca0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x4d9ee0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004d9bd0
lea eax, [ebp + 0xc]
push 0x56b2a4
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0xc], edi
je 0x4d9fc0
push ebx
push edi
lea esi, [ebp + 4]
push 1
push 4
push esi
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x4d9f92
mov eax, dword [esi]
test eax, eax
je 0x4d9f92
mov ecx, dword [ebp + 8]
shl ecx, 1
cmp eax, ecx
jge 0x4d9f92
mov edx, eax
shl edx, 5
add edx, eax
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4d9f92
mov eax, dword [esi]
mov edi, ebx
mov ecx, eax
shl ecx, 5
add ecx, eax
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
push eax
push ecx
push 0x21
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [esi]
add esp, 0x10
cmp eax, ecx
je 0x4d9f8e
push ebx
mov dword [esi], 0
call fcn.0051d79a
add esp, 4
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp], ebx
test ebx, ebx
pop ebx
je 0x4d9fba
mov edx, dword [0x5cd150]
pop edi
mov dword [ebp + 0x214], edx
pop esi
mov eax, 1
pop ebp
pop ecx
ret
mov dword [esi], 0
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret

Function at 0x4d9fd0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
push 0x5669f8
lea eax, [esi + 0xc]
mov dword [esp + 0x10], edi
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4da05a
mov eax, dword [esi]
push ebp
test eax, eax
je 0x4da046
mov ebp, dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
lea edi, [esi + 4]
push 1
push 4
push edi
call ebp
add esp, 0x10
cmp eax, 1
jne 0x4da046
mov ecx, dword [edi]
mov edx, dword [esi]
push ebx
push ecx
push 0x21
push edx
call ebp
mov ecx, dword [edi]
add esp, 0x10
cmp eax, ecx
jne 0x4da046
push 0x5cd150
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [0x5cd150]
mov dword [esp + 0x10], 1
mov dword [esi + 0x214], eax
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x14]
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4da480
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
test eax, eax
push esi
je 0x4da531
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4da531
xor ecx, ecx
lea edx, [esp + 4]
mov dword [esp + 8], ecx
push edx
mov dword [esp + 0x10], ecx
push 0x18
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4da531
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4da531
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x10]
push 0x18
push ecx
push esi
mov dword [esp + 0x38], 0
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
imul eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push 0
push edx
push eax
push ecx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x18
ret 8

Function at 0x4db230
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x522c21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004f8b10
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.0050b490
lea ecx, [esi + 0x94]
mov byte [esp + 0x1c], 1
call fcn.00493020
lea ecx, [esi + 0x2d0]
mov byte [esp + 0x1c], 2
call fcn.004fefd0
mov al, byte [esp + 0xf]
lea edx, [esi + 0x2c8]
mov byte [esi + 0x11d0], al
mov dword [esi + 0x11d4], edi
mov dword [esi + 0x11d8], edi
mov dword [esi + 0x11dc], edi
xor ecx, ecx
mov dword [esi], 0x528b1c
mov dword [ebx], 0x528b08
mov dword [edx], ecx
mov eax, esi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x11c0], edi
mov dword [esi + 0x11c4], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x11c8], edi
mov dword [esi + 0x11cc], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x11e8], edi
mov dword [esi + 0x11ec], edi
mov dword [esi + 0x28], 0x64
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4dcfd0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4dcfee
mov eax, dword [ecx + 8]
push 5
push eax
mov dword [ecx + 0x2c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov dword [ecx + 0x2c], 1
mov ecx, dword [ecx + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
Function at 0x4dd610
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x11c4]
test eax, eax
je 0x4dd6ec
mov eax, dword [esi + 0x11c0]
test eax, eax
je 0x4dd6ec
mov dword [esi + 0x40], 1
mov eax, dword [eax + 4]
test eax, eax
je 0x4dd64c
push 0x4001
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x11c0]
call fcn.0046ace0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf8]
mov ecx, dword [esi + 0x11c0]
mov edx, dword [ecx]
call dword [edx + 0x6c]
cmp eax, 0x64
mov dword [esi + 0x28], eax
je 0x4dd685
mov ecx, dword [esi + 0x11c0]
push 0x64
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov ecx, esi
call fcn.004ddd30
mov ecx, esi
call fcn.004ddbb0
xor ecx, ecx
mov edx, dword [esi + 0x34]
mov dword [esp + 4], ecx
mov eax, dword [esi + 0x30]
mov dword [esp + 8], ecx
push 0x14
mov dword [esp + 0x10], ecx
push 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 8]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x11c0]
push edx
push 0x53
mov dword [esp + 0x24], eax
call fcn.00415950
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d0
mov ecx, esi
call fcn.004dcee0
pop esi
add esp, 0x14
ret
Function at 0x4e0b20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1a8
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
push ebx
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
push 0x80
push 3
stosb byte es:[edi], al
mov edi, dword [esp + 0x1c8]
push ebx
push 1
push SysReAllocStringLen
push edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4e0b8d
push edi
push 0x56b9f8
call fcn.00409ab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebx
push ebx
push esi
call ebp
cmp eax, 0x100
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x100
jge 0x4e0bb8
push edi
push 0x56b9a8
jmp 0x4e0d1e
push 2
push 0
push 0xffffff00
push esi
call ebp
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x3c]
push 0x100
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea edx, [esp + 0x34]
push 0x56b998
push edx
call edi
mov ebp, eax
test ebp, ebp
jne 0x4e0c06
mov eax, dword [esp + 0x1bc]
push eax
push 0x56b958
jmp 0x4e0d1e
push 0x56b954
push ebp
call edi
mov edi, eax
test edi, edi
jne 0x4e0c26
mov ecx, dword [esp + 0x1bc]
push ecx
push 0x56b918
jmp 0x4e0d1e
mov edx, edi
lea eax, [esp + 0x34]
sub edx, eax
add edx, 3
cmp edx, 0x100
je 0x4e0c4b
mov ecx, dword [esp + 0x1bc]
push ecx
push 0x56b8a4
jmp 0x4e0d1e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
sub eax, edx
lea eax, [eax + ebp - 0x100]
cmp eax, 0xf4240
mov dword [esp + 0x10], eax
jbe 0x4e0c79
mov eax, dword [esp + 0x1bc]
push eax
push 0x56b85c
jmp 0x4e0d1e
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4e0d26
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [edi], 0
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
add ebp, 0xe
lea eax, [esp + 0x138]
push ebp
push eax
call fcn.00481e10
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
lea edx, [esp + 0x140]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0x528ce4
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x80
call fcn.004ae580
add esp, 0xc
test eax, eax
jne 0x4e0d47
mov ecx, dword [esp + 0x1bc]
push ecx
push 0x56b808
call fcn.00409ab0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4e0d3a
push ebx
call fcn.0051d79a
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a8
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0051d79a
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x4e0d70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, dword [esp + 0x218]
mov esi, dword [esp + 0x214]
lea ecx, [esp + 8]
dec edx
push ecx
push 0x56ba30
push edx
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call fcn.0043fa40
add esp, 0x14
mov eax, 1
pop edi
pop esi
add esp, 0x208
ret

Function at 0x4e0de0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
push eax
call fcn.004e06a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4e0e02
pop esi
add esp, 0x208
ret
cmp word [esi], 0
je 0x4e0e5e
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x1a
push 0
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [esp + 0x21c]
lea edx, [esp + 8]
push esi
mov esi, dword [esp + 0x21c]
push edx
dec eax
push 0x56ba64
push eax
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call fcn.0043fa40
add esp, 0x18
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret

Function at 0x4e16d0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x4e1709
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x50], 1
test ecx, ecx
je 0x4e1709
push 2
call fcn.00416f80
mov eax, dword [esi + 0x28]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x58]
push 0
push 0
push 1
call fcn.00416cb0
pop esi
ret

Function at 0x4e8ed0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor eax, eax
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
mov edx, dword [esi + 4]
xor ebx, ebx
mov dword [esp + 0x10], eax
push ecx
push edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
add ecx, 0x32
add eax, 0xa
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x38]
mov dword [esp + 0xc], eax
add eax, 0x32
cmp ecx, ebx
mov dword [esp + 0x14], eax
je 0x4e8f83
call fcn.004941c0
test eax, eax
je 0x4e8f83
mov ecx, dword [esi + 0x38]
push ebp
push edi
call fcn.00494280
mov eax, dword [eax]
mov ecx, dword [esi + 0x38]
cdq
and edx, 3
add eax, edx
mov edi, eax
sar edi, 2
call fcn.00494280
mov ebp, dword [eax + 4]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4e8f64
push 1
mov ebx, edi
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4e8f64
lea ebx, [edi + edi]
mov eax, dword [esp + 0x24]
push 0
mov ecx, dword [esi + 0x38]
push 0
push ebp
push edi
push 0
push ebx
lea edx, [esp + 0x28]
push 0
push edx
push eax
call fcn.004937d0
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4eb940
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ebae5
mov ecx, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ecx
call edi
mov edx, dword [esi + 0xeae0]
xor eax, eax
test edx, edx
sete al
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0xeae0], eax
call fcn.004f5b10
mov eax, dword [esi + 0xeae0]
test eax, eax
je 0x4eba69
mov edx, dword [esi + 4]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsZoomed]
push edx
call ebp
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esi + 0xed6c], eax
lea eax, [esi + 0xed70]
push eax
push ecx
call ebx
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call edi
mov dword [esi + 0xed68], eax
mov ecx, dword [0x58e234]
test ecx, ecx
jne 0x4eb9d5
and eax, 0xff3fffff
and eax, 0xfffbffff
push eax
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
push edx
call fcn.004c0cd0
add esp, 0x10
test eax, eax
jne 0x4eba0e
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
sub edi, ecx
mov ecx, dword [esi + 4]
push ecx
sub ebx, eax
call ebp
test eax, eax
je 0x4eba46
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push 0x60
push ebx
push edi
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 4]
push 3
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 0
push 0x190
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop ebp
pop ebx
jmp 0x4ebad4
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0xed68]
mov eax, dword [esi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0xed74]
mov edx, dword [esi + 0xed7c]
mov ecx, dword [esi + 0xed70]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0xed78]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0xed6c]
test eax, eax
je 0x4ebac8
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x4ebace
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call fcn.0050b9d0
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4ec0b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 6
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
pop edi
pop esi
ret
Function at 0x4f5cf0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x9b8]
test eax, eax
jle 0x4f5d6d
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x978]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov word [esp + 0x1c], 0
lea ecx, [eax + eax*8]
shl ecx, 4
mov edx, dword [ecx + esi + 0xfc]
push edx
call ebp
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4f5d7c
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x9b8]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4f5d21
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x10]
pop edi
mov eax, dword [esi + ecx*4 + 0x978]
lea edx, [eax + eax*8]
shl edx, 4
mov eax, dword [edx + esi + 0xfc]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4

Function at 0x4f5db0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x9b8]
test eax, eax
jle 0x4f5e2d
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x978]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov word [esp + 0x1c], 0
lea ecx, [eax + eax*8]
shl ecx, 4
mov edx, dword [ecx + esi + 0xfc]
push edx
call ebp
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4f5e3c
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x9b8]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4f5de1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x10]
pop edi
mov eax, dword [esi + ecx*4 + 0x978]
lea edx, [eax + eax*8]
shl edx, 4
mov eax, dword [edx + esi + 0xf8]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4
Function at 0x4f73a0
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
mov esi, ecx
jl 0x4f74fa
mov eax, dword [esi + 4]
push ebx
push ebp
push edi
mov edi, dword [esi + 0x33a8]
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
mov eax, dword [esi + 0x33a4]
xor ebx, ebx
mov dword [esi + 0x33a8], 0xffffffff
test eax, eax
jbe 0x4f7455
lea edi, [esi + 0xdc0]
cmp ebx, dword [esp + 0x18]
jne 0x4f7431
mov eax, dword [edi - 8]
test eax, eax
jne 0x4f7431
mov ecx, dword [edi - 0x21c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 1
lea ecx, [esi + 0x33d0]
call fcn.00502c80
mov dword [esi + 0x33a8], ebx
mov edx, dword [edi - 0x214]
lea eax, [edi - 0x210]
push edx
push eax
push 0x1503
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4f7440
mov ecx, dword [edi - 0x21c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x33a4]
inc ebx
add edi, 0x280
cmp ebx, eax
jb 0x4f73e5
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x33a8]
je 0x4f7485
cmp edi, 0xffffffff
je 0x4f7485
lea edx, [edi + edi*4]
shl edx, 7
mov ecx, dword [edx + esi + 0xbac]
lea eax, [edx + esi]
add eax, 0xbb0
push ecx
push eax
push 0x1504
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x33a8]
pop edi
pop ebp
cmp eax, 0xffffffff
pop ebx
jne 0x4f74c0
mov edx, dword [esi + 0xba4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0xdc0]
lea ecx, [esi + 0x33d0]
push eax
push 1
call fcn.00502c80
mov dword [esi + 0x33a8], 0
mov eax, dword [esi + 0x5220]
cmp eax, 1
jne 0x4f74e2
mov edx, dword [esi + 4]
lea ecx, [esi + 0x5234]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
cmp eax, 2
jne 0x4f74fa
mov ecx, dword [esi + 4]
lea eax, [esi + 0x5244]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
Function at 0x4f8060
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x4f8158
cmp edi, dword [esi + 0x33a4]
jae 0x4f8158
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi + edi*4]
push eax
shl ecx, 7
add esi, ecx
mov dword [esp + 0x14], eax
mov edi, dword [esi + 0xe0c]
mov edx, dword [esi + 0xe04]
mov ebx, dword [esi + 0xe10]
mov ecx, dword [esi + 0xe08]
sub edi, edx
sub ebx, ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call fcn.004f7b90
mov edx, dword [esi + 0xe08]
mov eax, dword [esi + 0xe04]
mov esi, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push ebp
push ebx
push edi
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
push esi
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4