joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e750
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x47e892
lea edi, [esi + 0x24a00]
push ebx
push 0xa
mov ecx, edi
call fcn.004b4400
test eax, eax
je 0x47e7db
lea ecx, [esp + 0xc]
push ebp
push ecx
push 0xa
mov ecx, edi
call fcn.004b2c30
lea ebx, [esi + 0x257f8]
mov ecx, ebx
call fcn.00405bf0
mov ebp, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x1c]
push 0x40
sub eax, ebp
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ebp
add ecx, eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x257fc]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.004030c0
pop ebp
jmp 0x47e7ea
mov ecx, dword [esi + 0x257fc]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x13
mov ecx, edi
call fcn.004b4400
test eax, eax
je 0x47e853
lea edx, [esp + 0xc]
mov ecx, edi
push edx
push 0x13
call fcn.004b2c30
lea edi, [esi + 0x23898]
mov ecx, edi
call fcn.0046cb10
mov ebx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x18]
push 0x40
sub eax, ebx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ebx
add ecx, eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x14]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x2389c]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.0046cb20
jmp 0x47e862
mov ecx, dword [esi + 0x2389c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x2a92c]
call fcn.0042f0c0
lea ecx, [esi + 0x82a8]
call fcn.004a8e90
mov edi, eax
pop ebx
test edi, edi
je 0x47e892
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47e892
push edi
mov ecx, esi
call fcn.00483250
pop edi
pop esi
add esp, 0x10
ret

Function at 0x481640
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1048
call fcn.004b7a60
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1050]
xor eax, eax
shr ecx, 0x10
cmp ecx, 0x13
jne 0x4816f5
push edi
mov ecx, 0x411
lea edi, [esp + 0xa]
mov word [esp + 8], ax
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x23898]
stosw word es:[edi], ax
call fcn.0046caf0
test eax, eax
pop edi
je 0x4816aa
cmp word [eax], 0
je 0x4816aa
push 1
push 1
lea edx, [esp + 0xc]
push 0x824
push edx
push eax
push 0xffffffffffffffff
call fcn.0046cd40
mov ecx, eax
call fcn.0046d210
jmp 0x4816c4
push 1
lea eax, [esp + 8]
push 0x824
push eax
push 0xffffffffffffffff
call fcn.0046cd40
mov ecx, eax
call fcn.0046d330
cmp word [esp + 4], 0
je 0x4816f0
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
push 0
push 0
push 1
push 1
push 8
lea ecx, [esp + 0x18]
push 0
push ecx
lea ecx, [esi + 0x81e0]
call fcn.0045f2b0
mov eax, 1
pop esi
add esp, 0x1048
ret 4
Function at 0x481920
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x18]
push 0x2008
push 1
push 0x9d99
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x485b20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x485bc4
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x485bc4
push eax
call fcn.00485c50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x485b7d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004b7a60
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
push 0
push str.cachesnap
lea esi, [ecx - 1]
mov ecx, 0x4e6b38
call fcn.00407e90
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push str._s_s.png
push esi
push edi
call ebx
add esp, 0x14
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x485bc4
push str.null
push 0x4ce4dc
push esi
push edi
call ebx
add esp, 0x10
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4860a0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, ecx
push ebp
push 0x4dab60
lea eax, [ebx + 8]
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x486143
push esi
push edi
push ebp
lea esi, [ebx + 4]
push 1
push 4
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x48612f
mov eax, dword [esi]
test eax, eax
je 0x48612f
mov ecx, eax
shl ecx, 5
add ecx, eax
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebx], edi
je 0x48612f
mov eax, dword [esi]
push ebp
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 [esi]
mov ecx, dword [ebx]
push eax
push 0x21
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [esi]
add esp, 0x10
cmp eax, ecx
je 0x48612f
mov ecx, ebx
call fcn.00485ed0
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x486150
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 8]
xor esi, esi
push 0x4dab68
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x4861bd
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_fwrite]
push edi
lea esi, [ebx + 4]
push 1
push 4
push esi
call ebp
add esp, 0x10
cmp eax, 1
jne 0x4861a7
mov ecx, dword [esi]
mov edx, dword [ebx]
push edi
push ecx
push 0x21
push edx
call ebp
mov ecx, dword [esi]
add esp, 0x10
cmp eax, ecx
mov esi, 1
je 0x4861ab
mov esi, dword [esp + 0x10]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x487be0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [edx]
push edi
mov edi, dword [esp + 0x14]
mov ecx, esi
xor ecx, eax
and ecx, 0xff
shr esi, 8
mov ecx, dword [edi + ecx*4]
xor ecx, esi
mov esi, dword [edx + 4]
mov dword [edx], ecx
and ecx, 0xff
add ecx, esi
mov esi, dword [edx + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, esi
mov dword [edx + 4], ecx
and ebx, 0xff
shr ecx, 0x18
xor ecx, ebx
shr esi, 8
mov ecx, dword [edi + ecx*4]
pop edi
xor ecx, esi
pop esi
mov dword [edx + 8], ecx
pop ebx
ret
Function at 0x48b2d0
Capabilities:
Hide graphical window

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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x7a8]
test eax, eax
je 0x48b9c1
mov eax, dword [esi + 0x7a4]
test eax, eax
je 0x48b9c1
mov dword [esi + 0x3c], 1
mov eax, dword [eax + 4]
test eax, eax
je 0x48b94c
push 0x4001
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x7a4]
call fcn.0044be30
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf8]
mov ecx, esi
call fcn.0048c000
mov ecx, esi
call fcn.0048be80
mov eax, dword [esi + 0x30]
xor edx, edx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x7a4]
push eax
push 0x53
mov dword [esp + 0x10], edx
call fcn.0040b8f0
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d0
mov ecx, esi
call fcn.0048b1e0
pop esi
add esp, 0x10
ret

Function at 0x48eae0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x48eb19
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x40], 1
test ecx, ecx
je 0x48eb19
push 2
call fcn.0040c900
mov eax, dword [esi + 0x18]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x48]
push 0
push 0
push 1
call fcn.0040c670
pop esi
ret

Function at 0x497200
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bd84e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004b5fa0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004a6ec0
mov dword [esi + 0x28], 0x4bfb20
mov dword [esi + 0x2c], 0x64
lea ecx, [esi + 0x1154]
mov byte [esp + 0x18], 2
call fcn.00463fa0
lea eax, [esi + 0x1094]
mov dword [ebx], 0x4c1048
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
push str.BG_EDIT
push eax
mov dword [esi], 0x4c103c
mov dword [esi + 0x28], 0x4c1034
mov dword [esi + 0x1088], edi
call ebx
lea ecx, [esi + 0x10d4]
push str.LeftPad
push ecx
call ebx
lea edx, [esi + 0x1114]
push str.RightPad
push edx
call ebx
add esp, 0x18
mov dword [esi + 0x1170], edi
mov dword [esi + 0x116c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1090], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x40]
mov dword [esi + 0x1174], 8
mov dword [esi + 0x1178], 5
mov dword [esi + 0x108c], 0x12
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x499bb0
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 0x499d58
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ecx
call edi
mov ebx, dword [esi + 0x7ef0]
xor eax, eax
test ebx, ebx
sete al
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x7ef0], eax
call fcn.004a2ff0
mov edx, dword [esi + 0x7ef0]
lea ecx, [esi + 0xb4c]
push edx
call fcn.004a2ff0
mov eax, dword [esi + 0x7ef0]
test eax, eax
je 0x499cdb
mov eax, dword [esi + 4]
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsZoomed]
push eax
call ebp
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esi + 0x81bc]
mov dword [esi + 0x81b8], eax
push ecx
push edx
call ebx
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 0x81b4], eax
and eax, 0xff3bffff
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
lea edx, [esp + 0x14]
push 0
push edx
push eax
call fcn.00476680
add esp, 0x10
test eax, eax
jne 0x499c81
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub edi, edx
mov edx, dword [esi + 4]
push edx
sub ebx, ecx
call ebp
test eax, eax
pop ebp
je 0x499cba
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
push 0x60
push ebx
push edi
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0x190
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x499d46
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x81b4]
mov ecx, dword [esi + 4]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x81c0]
mov edx, dword [esi + 0x81c8]
mov ecx, dword [esi + 0x81bc]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0x81c4]
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 + 0x81b8]
test eax, eax
je 0x499d3a
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x499d40
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.004b63b0
add esp, 0xc
pop edi
pop ebx
pop esi
add esp, 0x10
ret

Function at 0x499ff0
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 0x49b350
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bdac3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004b5fa0
xor ebp, ebp
mov dword [esi + 0x24], 0x4bfb20
mov dword [esp + 0x18], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.004a6ec0
mov ecx, 0x28
mov eax, 8
mov dword [edi], 0x4c10e4
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x4c], eax
mov dword [esi], 0x4c10c8
mov dword [esi + 0x24], 0x4c10c0
mov dword [esi + 0x38], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x3c], 1
mov dword [esi + 0x58], 0x16
mov dword [esi + 0x5c], 0x10
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x49b790
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x49b7ff
push 0
call fcn.0049c5a0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5bc478]
test eax, eax
je 0x49b7e2
mov ecx, dword [esi + 0x40]
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x14
push 1
push 1
push 0
push 0
push 0
push ecx
call edi
mov edx, dword [esi + 4]
push 0x34
push 1
push 1
push 0
push 0
push 0
push edx
call edi
pop edi
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x38]
push 0
push eax
push 0x13a1
push ecx
mov dword [esi + 0x30], 0
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4
Function at 0x49be20
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1074
call fcn.004b7a60
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov ebx, ecx
push edi
push 0
push 0
mov eax, dword [ebx + 0x40]
push 0x1042
push eax
call ebp
mov ecx, dword [ebx + 0x40]
push 0
push 0
push 0x1004
push ecx
mov esi, eax
call ebp
mov edx, dword [esp + 0x1090]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1088]
xor edi, edi
cmp eax, 9
mov dword [edx], 1
jne 0x49be9a
push 0x10
mov dword [esp + 0x108c], 0x28
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x49be9a
mov dword [esp + 0x1088], 0x26
mov eax, dword [esp + 0x1088]
add eax, 0xfffffff3
cmp eax, 0x21
ja case.0x49beb5.22
xor ecx, ecx
mov cl, byte [eax + 0x49c078]
jmp dword [ecx*4 + 0x49c050]
mov edx, dword [esp + 0x10]
inc esi
dec edx
cmp esi, edx
jle 0x49bec8
xor esi, esi
mov edi, 1
jmp 0x49bf87
dec esi
jns 0x49bedc
mov eax, dword [esp + 0x10]
lea esi, [eax - 1]
mov edi, 1
jmp 0x49bf87
mov ecx, dword [esp + 0x10]
mov edi, 1
lea esi, [ecx - 1]
jmp 0x49bf87
mov eax, dword [ebx + 0x4c]
mov edi, 1
add esi, eax
jmp 0x49bf87
mov eax, dword [ebx + 0x4c]
mov edi, 1
sub esi, eax
jmp 0x49bf87
mov edx, dword [ebx + 0x38]
push esi
push ebx
push 0x13a4
push edx
call ebp
test eax, eax
jne 0x49bf87
mov eax, dword [esp + 0x1090]
mov dword [eax], 0
jmp 0x49bf87
push 1
mov ecx, ebx
call fcn.0049b790
mov edi, 1
jmp 0x49bf87
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x49bf23
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x49bf23
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x49bf23
mov edx, dword [ebx]
push 0xffffffffffffffff
mov ecx, ebx
call dword [edx + 0xc]
jmp 0x49bf87
mov ecx, dword [esp + 0x1090]
mov dword [ecx], 0
mov edx, dword [esp + 0x1090]
cmp dword [edx], 0
je 0x49c03b
test edi, edi
je 0x49c03b
mov eax, dword [esp + 0x10]
dec eax
cmp esi, eax
jle 0x49bfaa
mov esi, eax
test esi, esi
jge 0x49bfb0
xor esi, esi
mov ecx, dword [ebx + 0x40]
push esi
push 0
push 0x1043
push ecx
call ebp
mov edx, dword [ebx + 0x40]
push 0
push esi
push 0x1013
push edx
mov edi, eax
call ebp
mov eax, dword [ebx + 0x40]
push 0
push edi
push 0x102a
push eax
call ebp
mov ecx, dword [ebx + 0x40]
push 0
push esi
push 0x102a
push ecx
call ebp
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x3e]
mov word [esp + 0x3c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x40]
lea edx, [esp + 0x3c]
stosw word es:[edi], ax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push esi
push 0x1073
push ecx
mov dword [esp + 0x3c], 0x823
mov dword [esp + 0x38], edx
call ebp
mov eax, dword [ebx + 0x38]
lea edx, [esp + 0x3c]
push edx
push 0
push 0x13a3
push eax
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1074
ret 0xc
Function at 0x4a31c0
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 + 0x998]
test eax, eax
jle 0x4a323e
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x958]
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 + 0x15c]
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 0x4a324d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x998]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4a31f1
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 + 0x958]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0x15c]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4

Function at 0x4a3280
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 + 0x998]
test eax, eax
jle 0x4a32fe
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x958]
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 + 0x15c]
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 0x4a330d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x998]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4a32b1
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 + 0x958]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0x158]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4
Function at 0x4a5a00
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
mov esi, ecx
jl 0x4a5b75
push ebx
push ebp
push edi
push 0
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x3334]
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
mov eax, dword [esi + 0x3330]
xor ebx, ebx
mov dword [esi + 0x3334], 0xffffffff
test eax, eax
jbe 0x4a5ace
lea edi, [esi + 0xd8c]
cmp ebx, dword [esp + 0x18]
jne 0x4a5aaa
mov eax, dword [edi - 8]
test eax, eax
jne 0x4a5aaa
mov ecx, dword [edi - 0x21c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi - 0x21c]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push edi
push 1
lea ecx, [esi + 0x335c]
call fcn.004b30c0
mov dword [esi + 0x3334], ebx
mov eax, dword [edi - 0x214]
lea ecx, [edi - 0x210]
push eax
push ecx
push 0x1503
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4a5ab9
mov edx, dword [edi - 0x21c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x3330]
inc ebx
add edi, 0x27c
cmp ebx, eax
jb 0x4a5a51
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x3334]
je 0x4a5b00
cmp edi, 0xffffffff
je 0x4a5b00
lea eax, [edi + edi*4]
shl eax, 5
sub eax, edi
mov ecx, dword [esi + eax*4 + 0xb78]
lea eax, [esi + eax*4]
add eax, 0xb7c
push ecx
push eax
push 0x1504
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x3334]
pop edi
pop ebp
cmp eax, 0xffffffff
pop ebx
jne 0x4a5b3b
mov edx, dword [esi + 0xb70]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0xd8c]
lea ecx, [esi + 0x335c]
push eax
push 1
call fcn.004b30c0
mov dword [esi + 0x3334], 0
mov eax, dword [esi + 0x4224]
cmp eax, 1
jne 0x4a5b5d
mov edx, dword [esi + 4]
lea ecx, [esi + 0x4238]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
cmp eax, 2
jne 0x4a5b75
mov ecx, dword [esi + 4]
lea eax, [esi + 0x4248]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
Function at 0x4a6540
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 0x4a663c
cmp edi, dword [esi + 0x3330]
jae 0x4a663c
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, 5
sub ecx, edi
mov edi, dword [esi + ecx*4 + 0xdd4]
mov dword [esp + 0x14], eax
mov edx, dword [esi + ecx*4 + 0xdcc]
mov ebx, dword [esi + ecx*4 + 0xdd8]
lea esi, [esi + ecx*4]
sub edi, edx
sub ebx, dword [esi + 0xdd0]
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.004a6110
mov edx, dword [esi + 0xdd0]
mov eax, dword [esi + 0xdcc]
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