joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bf810
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x6157b0]
sub esp, 0x244
test eax, eax
je 0x4bf85d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bf85d
mov eax, dword [0x6157b0]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4bf849
mov ecx, dword [0x6157b0]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x6157b0]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
add esp, 0x244
ret
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42]
mov word [esp + 0x40], 0
push 0x208
rep stosd dword es:[edi], eax
mov ecx, dword [0x5e3f3c]
stosw word es:[edi], ax
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 4]
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 8], 0x40
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], str._tp:4
mov dword [esp + 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x4bf8f3
mov ecx, dword [esp + 0x38]
push 0xbb8
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x244
ret

Function at 0x4c0a70
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x2f50]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4c4990
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x6159d0]
push ebx
push ebp
push esi
push edi
cmp eax, 1
mov edi, ecx
jne 0x4c49c1
lea ebx, [edi + 0x1e554]
push 0xa
mov ecx, ebx
call fcn.004f9ca0
mov esi, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [ebx]
push esi
push 0xa
mov ecx, ebx
call dword [eax + 0x38]
jmp 0x4c49e0
lea ebx, [edi + 0x12f80]
push 0xa
mov ecx, ebx
call fcn.004f9ca0
mov esi, dword [esp + 0x14]
mov edx, dword [ebx]
push esi
push 0xa
mov ecx, ebx
mov ebp, eax
call dword [edx + 0x38]
test ebp, ebp
je 0x4c4a32
lea ebx, [edi + 0x14d80]
mov ecx, ebx
call fcn.00407f40
mov ebp, dword [esi + 4]
mov ecx, eax
mov eax, dword [esi + 0xc]
push 0x40
sub eax, ebp
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi]
mov esi, dword [esi + 8]
sar eax, 1
add eax, ebp
sub esi, edx
add ecx, eax
sub ecx, eax
push ecx
push esi
push eax
mov eax, dword [edi + 0x14d84]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.00405f60
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, dword [edi + 0x14d84]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4c4a50
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x6159d0]
push ebx
push ebp
push esi
push edi
cmp eax, 1
mov edi, ecx
jne 0x4c4a81
lea ebx, [edi + 0x1f444]
push 0x13
mov ecx, ebx
call fcn.004f9ca0
mov esi, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [ebx]
push esi
push 0x13
mov ecx, ebx
call dword [eax + 0x38]
jmp 0x4c4aa0
lea ebx, [edi + 0x12f80]
push 0x13
mov ecx, ebx
call fcn.004f9ca0
mov esi, dword [esp + 0x14]
mov edx, dword [ebx]
push esi
push 0x13
mov ecx, ebx
mov ebp, eax
call dword [edx + 0x38]
test ebp, ebp
je 0x4c4af2
lea ebx, [edi + 0x11c04]
mov ecx, ebx
call fcn.004a1170
mov ebp, dword [esi + 4]
mov ecx, eax
mov eax, dword [esi + 0xc]
push 0x40
sub eax, ebp
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi]
mov esi, dword [esi + 8]
sar eax, 1
add eax, ebp
sub esi, edx
add ecx, eax
sub ecx, eax
push ecx
push esi
push eax
mov eax, dword [edi + 0x11c08]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.004a1190
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, dword [edi + 0x11c08]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4ca1c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1048
call fcn.00512b50
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1050]
xor eax, eax
shr ecx, 0x10
cmp ecx, 0x13
jne 0x4ca27c
push edi
mov ecx, 0x411
lea edi, [esp + 0xa]
mov word [esp + 8], ax
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x11c04]
stosw word es:[edi], ax
call fcn.004a1140
test eax, eax
pop edi
je 0x4ca22a
cmp word [eax], 0
je 0x4ca22a
push 1
push 1
lea edx, [esp + 0xc]
push 0x824
push edx
push eax
push 0xffffffffffffffff
call fcn.004a1800
mov ecx, eax
call fcn.004a1ce0
jmp 0x4ca244
push 1
lea eax, [esp + 8]
push 0x824
push eax
push 0xffffffffffffffff
call fcn.004a1800
mov ecx, eax
call fcn.004a1e00
cmp word [esp + 4], 0
je 0x4ca277
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x5deb78]
lea edx, [esp + 4]
push ecx
push 0
push 0
push 1
push 1
push 8
push 0
push edx
lea ecx, [esi + 0xec04]
call fcn.004857d0
mov eax, 1
pop esi
add esp, 0x1048
ret 4

Function at 0x4ca590
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 0x4ca720
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 0x4ca7b4
test edi, edi
jne 0x4ca7b4
test eax, eax
jne 0x4ca7b4
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 + 0x5f7b08], di
lea esi, [eax*8 + 0x5f7b08]
je 0x4ca7b4
push edi
call dword [sym.imp.USER32.dll_InSendMessageEx]
and eax, 9
cmp al, 1
jne 0x4ca79c
push 1
call dword [sym.imp.USER32.dll_ReplyMessage]
push esi
lea ecx, [ebp + 0xec04]
call fcn.004851e0
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 0x4d2030
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004d1d20
lea eax, [ebp + 0xc]
push 0x55e164
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0xc], edi
je 0x4d2110
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 0x4d20e2
mov eax, dword [esi]
test eax, eax
je 0x4d20e2
mov ecx, dword [ebp + 8]
shl ecx, 1
cmp eax, ecx
jge 0x4d20e2
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 0x4d20e2
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 0x4d20de
push ebx
mov dword [esi], 0
call fcn.00512b1a
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 0x4d210a
mov edx, dword [0x621ef0]
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 0x4d2120
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
push 0x55a000
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 0x4d21aa
mov eax, dword [esi]
push ebp
test eax, eax
je 0x4d2196
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 0x4d2196
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 0x4d2196
push 0x621ef0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [0x621ef0]
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 0x4d2d00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x517dc1
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.004ee980
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.00500a80
lea ecx, [esi + 0x94]
mov byte [esp + 0x1c], 1
call fcn.00490140
lea ecx, [esi + 0x2d0]
mov byte [esp + 0x1c], 2
call fcn.004f4960
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], 0x51da64
mov dword [ebx], 0x51da50
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 0x4d4aa0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4d4abe
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 0x4d50e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x11c4]
test eax, eax
je 0x4d51bc
mov eax, dword [esi + 0x11c0]
test eax, eax
je 0x4d51bc
mov dword [esi + 0x40], 1
mov eax, dword [eax + 4]
test eax, eax
je 0x4d511c
push 0x4001
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x11c0]
call fcn.00468a60
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 0x4d5155
mov ecx, dword [esi + 0x11c0]
push 0x64
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov ecx, esi
call fcn.004d5800
mov ecx, esi
call fcn.004d5680
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.004138c0
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d0
mov ecx, esi
call fcn.004d49b0
pop esi
add esp, 0x14
ret
Function at 0x4d8750
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 str._s360seWebCacheImages_
push edx
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call fcn.0043df50
add esp, 0x14
mov eax, 1
pop edi
pop esi
add esp, 0x208
ret

Function at 0x4d87c0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
push eax
call fcn.004d8080
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d87e2
pop esi
add esp, 0x208
ret
cmp word [esi], 0
je 0x4d883e
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 str._s360seWebCache_s.html
push eax
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call fcn.0043df50
add esp, 0x18
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret

Function at 0x4d8f40
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x4d8f79
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x50], 1
test ecx, ecx
je 0x4d8f79
push 2
call fcn.00414ea0
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.00414bd0
pop esi
ret
Function at 0x4e2110
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 0x4e22b5
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 + 0xe930]
xor eax, eax
test edx, edx
sete al
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0xe930], eax
call fcn.004eb940
mov eax, dword [esi + 0xe930]
test eax, eax
je 0x4e2239
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 + 0xebbc], eax
lea eax, [esi + 0xebc0]
push eax
push ecx
call ebx
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call edi
mov dword [esi + 0xebb8], eax
mov ecx, dword [0x5e3f44]
test ecx, ecx
jne 0x4e21a5
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.004ba500
add esp, 0x10
test eax, eax
jne 0x4e21de
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 0x4e2216
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 0x4e22a4
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0xebb8]
mov eax, dword [esi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0xebc4]
mov edx, dword [esi + 0xebcc]
mov ecx, dword [esi + 0xebc0]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0xebc8]
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 + 0xebbc]
test eax, eax
je 0x4e2298
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x4e229e
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.00500ff0
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4e2620
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 0x4ebb30
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 + 0x938]
test eax, eax
jle 0x4ebbae
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x8f8]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov ecx, eax
mov word [esp + 0x1c], 0
shl ecx, 4
add ecx, eax
mov edx, dword [esi + ecx*8 + 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 0x4ebbbd
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x938]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4ebb61
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 + 0x8f8]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0xfc]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4

Function at 0x4ebbf0
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 + 0x938]
test eax, eax
jle 0x4ebc6e
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x8f8]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov ecx, eax
mov word [esp + 0x1c], 0
shl ecx, 4
add ecx, eax
mov edx, dword [esi + ecx*8 + 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 0x4ebc7d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x938]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4ebc21
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 + 0x8f8]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0xf8]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4
Function at 0x4ed210
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
mov esi, ecx
jl 0x4ed36a
mov eax, dword [esi + 4]
push ebx
push ebp
push edi
mov edi, dword [esi + 0x3328]
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
mov eax, dword [esi + 0x3324]
xor ebx, ebx
mov dword [esi + 0x3328], 0xffffffff
test eax, eax
jbe 0x4ed2c5
lea edi, [esi + 0xd40]
cmp ebx, dword [esp + 0x18]
jne 0x4ed2a1
mov eax, dword [edi - 8]
test eax, eax
jne 0x4ed2a1
mov ecx, dword [edi - 0x21c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 1
lea ecx, [esi + 0x3350]
call fcn.004f8690
mov dword [esi + 0x3328], 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 0x4ed2b0
mov ecx, dword [edi - 0x21c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x3324]
inc ebx
add edi, 0x280
cmp ebx, eax
jb 0x4ed255
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x3328]
je 0x4ed2f5
cmp edi, 0xffffffff
je 0x4ed2f5
lea edx, [edi + edi*4]
shl edx, 7
mov ecx, dword [edx + esi + 0xb2c]
lea eax, [edx + esi]
add eax, 0xb30
push ecx
push eax
push 0x1504
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x3328]
pop edi
pop ebp
cmp eax, 0xffffffff
pop ebx
jne 0x4ed330
mov edx, dword [esi + 0xb24]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0xd40]
lea ecx, [esi + 0x3350]
push eax
push 1
call fcn.004f8690
mov dword [esi + 0x3328], 0
mov eax, dword [esi + 0x51a0]
cmp eax, 1
jne 0x4ed352
mov edx, dword [esi + 4]
lea ecx, [esi + 0x51b4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
cmp eax, 2
jne 0x4ed36a
mov ecx, dword [esi + 4]
lea eax, [esi + 0x51c4]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
Function at 0x4eded0
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 0x4edfc8
cmp edi, dword [esi + 0x3324]
jae 0x4edfc8
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 + 0xd8c]
mov edx, dword [esi + 0xd84]
mov ebx, dword [esi + 0xd90]
mov ecx, dword [esi + 0xd88]
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.004eda00
mov edx, dword [esi + 0xd88]
mov eax, dword [esi + 0xd84]
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
Function at 0x4edfd0
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 + 8], esi
je 0x4ee102
cmp edi, dword [esi + 0x3324]
jae 0x4ee102
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 + 0x18], eax
mov ebx, dword [esi + 0xd9c]
mov edx, dword [esi + 0xd94]
mov ebp, dword [esi + 0xda0]
mov ecx, dword [esi + 0xd98]
sub ebx, edx
sub ebp, ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x14]
push ebp
push ebx
push edx
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x28], ebx
mov ecx, dword [ecx + 0x513c]
mov dword [esp + 0x20], eax
cmp ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
je 0x4ee09a
call fcn.004912e0
test eax, eax
je 0x4ee09a
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
mov ecx, dword [eax + 0x513c]
push 0
push 0
push 0
lea edx, [esp + 0x38]
push 1
push edx
push edi
call fcn.004908f0
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push edi
call fcn.004ee4a0
mov eax, dword [esi + 0xd98]
mov ecx, dword [esi + 0xd94]
mov esi, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push edi
push ebp
push ebx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x18]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x10]
push esi
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x4ee7d0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4ee7f2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb1c], eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret