joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x473cc6
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x444]
mov dword fs:[0], eax
mov eax, dword [esp + 0x454]
xor ebx, ebx
push 0x3e
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea esi, [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00401fa0
mov eax, 0x482018
mov dword [esp + 0x44c], ebx
lea edx, [eax + 2]
jmp 0x401950
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401950
sub eax, edx
sar eax, 1
push eax
push 0x482018
lea ecx, [esp + 0x2c]
call fcn.00401ed0
push 0xb
push 0x481f04
lea ecx, [esp + 0x2c]
call fcn.00401ed0
mov byte [esp + 0x44c], 1
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x401995
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x401a71
mov ebp, dword [esp + 0x18]
push 0x3fe
lea edx, [esp + 0x46]
push ebx
push edx
mov dword [esp + 0x24], ebp
mov word [esp + 0x4c], bx
call fcn.004498f0
add esp, 0xc
push str.Progid
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x24]
lea esi, [esp + 0x48]
mov dword [esp + 0x24], 0x200
call fcn.00401090
test eax, eax
jne 0x401a66
cmp word [esp + 0x40], bx
jne 0x401a18
cmp ebp, ebx
je 0x401a0a
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x3c], 8
jb 0x401a85
mov ecx, dword [esp + 0x28]
push ecx
jmp 0x401a7d
mov esi, dword [esp + 0x20]
push esi
lea edi, [esp + 0x44]
call fcn.00401480
add esp, 4
test al, al
jne 0x401a3c
mov ecx, edi
mov edx, esi
call fcn.00401580
mov byte [esp + 0x17], al
jmp 0x401a41
mov byte [esp + 0x17], 1
cmp ebp, ebx
je 0x401a4c
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x3c], 8
jb 0x401a60
mov edx, dword [esp + 0x28]
push edx
call fcn.00445f7c
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x401a87
cmp ebp, ebx
je 0x401a71
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x3c], 8
jb 0x401a85
mov eax, dword [esp + 0x28]
push eax
call fcn.00445f7c
add esp, 4
xor al, al
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.0044610a
add esp, 0x43c
ret
Function at 0x402320
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4743f1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SOFTWARESogouInput
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x402383
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402496
mov eax, dword [esp + 8]
lea ecx, [esp + 0x1c]
push ecx
push esi
lea edx, [esp + 0x20]
push edx
push 0
push str.updaterlog
push eax
mov dword [esp + 0x34], 0x800
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4023c0
sub eax, edx
sar eax, 1
je 0x402496
push 0
lea ecx, [esp + 0x38]
call fcn.00471300
lea ecx, [esp + 0xc]
mov dword [esp + 0x280], 0
call fcn.0046bf10
push 0
push 0
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x298], 1
call fcn.0046d910
push 1
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x28c], 2
call fcn.00471270
test al, al
lea ecx, [esp + 0x24]
sete bl
mov byte [esp + 0x280], 1
call fcn.0046d3c0
test bl, bl
je 0x402450
lea ecx, [esp + 0xc]
call fcn.0046c290
push 2
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x278]
mov dword [esp + 0x20], 0xfeff
call fcn.004711b0
lea ecx, [esp + 0x34]
call fcn.0046bd00
lea ecx, [esp + 0xc]
call fcn.0046beb0
lea ecx, [esp + 0x34]
mov dword [esp + 0x280], 0xffffffff
call fcn.004712b0
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0044610a
add esp, 0x27c
ret
Function at 0x402880
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x473141
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov eax, dword [0x4a93d0]
lea ebx, [esi + 4]
push str.SmartFParams.txt
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.00469560
lea edi, [esi + 0x14]
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.0046da70
lea ebp, [esi + 0x24]
mov ecx, ebp
call fcn.0046da70
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
push esi
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x3c], 2
push str.UserManager
mov dword [esi + 0x34], ecx
mov dword [esi], edx
call fcn.00402f70
add esp, 4
mov ecx, eax
call fcn.0043fa40
push eax
mov ecx, edi
call fcn.0046d7d0
lea ecx, [esp + 0x18]
call fcn.0046d3c0
push 0
push 0
push 0
push 0
push 0
mov ecx, ebx
call fcn.00468ae0
push eax
lea ecx, [esp + 0x30]
call fcn.0046d910
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0046e5e0
lea ecx, [esp + 0x18]
call fcn.0046d3c0
mov edx, dword [esp + 0x40]
push edx
mov ecx, ebp
call fcn.0046d7d0
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc

Function at 0x403a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4737b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.0046bf10
push SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call fcn.00470d80
push 0
push 0
push str.SOFTWARESogouInput
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
call fcn.00470b60
test al, al
jne 0x403adf
lea ecx, [esp + 0xc]
call fcn.0046c290
lea ecx, [esp + 0x14]
call fcn.004709a0
lea ecx, [esp + 0xc]
call fcn.0046beb0
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
add esp, 0x38
ret
push 0x482208
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.00470d50
test al, al
je 0x403ab2
cmp dword [esp + 8], 1
jne 0x403abb
lea ecx, [esp + 0x14]
call fcn.004709a0
lea ecx, [esp + 0xc]
call fcn.0046beb0
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
add esp, 0x38
ret

Function at 0x404010
Capabilities:
Create thread
Hide graphical window
Resume thread

Disassembly:
push ecx
mov eax, dword [0x4ac7bc]
test eax, eax
push esi
je 0x404024
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
test byte [0x4b17c8], al
jne 0x40404b
or dword [0x4b17c8], eax
push 0x479d00
mov byte [0x4b17b4], 0
call fcn.00446932
add esp, 4
mov esi, 0x4b17b0
call fcn.00410570
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x403ec0
push 0
push 0
call fcn.00446e46
mov ecx, dword [esp + 0x24]
add esp, 0x18
push eax
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret 4
Function at 0x40ab70
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ecx
push esi
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4ac78c
call esi
push 0x4ac7a4
call esi
mov eax, dword [0x4ac76c]
call fcn.0040c1f0
mov eax, dword [0x4ac76c]
call fcn.0040ee10
mov eax, dword [0x4ac76c]
call fcn.0040f610
mov eax, dword [0x4ac76c]
call fcn.0040c500
cmp dword [0x4ac7c0], 1
jne 0x40abc6
lea eax, [esp + 4]
push eax
jmp 0x40ac3d
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
cmp dword [0x4ac7c0], 4
jne 0x40abe7
lea ecx, [esp + 4]
push ecx
push 4
push 0
push 0x409730
jmp 0x40ac46
call esi
cmp dword [0x4ac7c0], 6
jne 0x40ac02
lea edx, [esp + 4]
push edx
push 4
push 0
push 0x408080
jmp 0x40ac46
call esi
cmp dword [0x4ac7c0], 2
jne 0x40ac1d
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x408250
jmp 0x40ac46
call esi
cmp dword [0x4ac7c0], 0x10
jne 0x40ac38
lea ecx, [esp + 4]
push ecx
push 4
push 0
push 0x409c60
jmp 0x40ac46
lea edx, [esp + 4]
push edx
push 4
push 0
push 0x409f10
push 0
push 0
call fcn.00446e46
add esp, 0x18
mov dword [0x4ac788], eax
xor eax, eax
pop esi
pop ecx
ret

Function at 0x40acb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x3c0], eax
push esi
push 0x3b4
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004498f0
mov ecx, dword [0x4ac784]
add esp, 0xc
lea edx, [esp + 8]
push edx
push 2
mov dword [esp + 0x10], 0x3b8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x4ac78c
mov dword [0x4ac784], 0
call esi
push 0x4ac7a4
call esi
push 0
call fcn.00447670
int3
Function at 0x40adb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4a46c8
push 0x44b960
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4a7534]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 0x40ad40
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov eax, dword [0x4ac76c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], str.SogouUpUIWnd
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x40ae8c
mov dword [ebp - 4], esi
push esi
push esi
lea edx, [ebp - 0x1c]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0x40
push str.Error
mov eax, dword [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0040ae81
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
call ebx
add eax, 0xfffffe0c
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea edi, [esi + 0x1f4]
push 1
call ebx
sub eax, 0xb4
cdq
sub eax, edx
sar eax, 1
lea ecx, [eax + 0xb4]
push 0
mov edx, dword [0x4ac76c]
push edx
push 0
push 0
sub ecx, eax
push ecx
sub edi, esi
push edi
push eax
push esi
push 0xca0000
push 0x4832f0
push str.SogouUpUIWnd
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4ac784], eax
mov eax, dword [0x4ac788]
test eax, eax
je 0x40af0a
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x4ac788]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40bd10
Capabilities:
Hide graphical window

Disassembly:
mov eax, 1
test byte [0x4b17c8], al
jne 0x40bd37
or dword [0x4b17c8], eax
push 0x479d00
mov byte [0x4b17b4], 0
call fcn.00446932
add esp, 4
mov eax, dword [edi + 4]
mov dword [0x4b17b0], eax
mov ecx, dword [edi + 4]
push 0xfffffffffffffff0
push esi
mov dword [0x4ac7bc], ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x40bda4
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40bd79
mov edx, dword [edi + 4]
push 6
push edx
call ebx
pop ebx
ret
mov eax, dword [0x4ac784]
push 0
push 0
push 0x506
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 4]
push 3
push 0
push 0
push 0
push 0
push esi
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebx
ret
Function at 0x40be20
Capabilities:
Hide graphical window
Terminate process
Terminate thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov eax, ebx
sub eax, 0x113
push edi
mov edi, ecx
je 0x40bed6
sub eax, 0x3f2
je 0x40be6f
sub eax, 2
jne 0x40bf4a
push eax
mov eax, dword [edi + 4]
push 0x3e8
push 0x2711
push eax
mov dword [edi + 0x110], 0xa
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40bf41
mov eax, ebp
sub eax, 0x201
je 0x40beb5
sub eax, 2
je 0x40beb5
sub eax, 0x202
je 0x40be8d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, dword [edi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
jne 0x40bf4a
mov edx, dword [edi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40bf4a
mov eax, dword [edi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x40bea4
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40bf4a
cmp dword [esp + 0x18], 0x2711
jne 0x40bf4a
add dword [edi + 0x110], 0xffffffff
mov eax, dword [edi + 0x110]
test eax, eax
jg 0x40bf41
call fcn.00410240
mov esi, eax
call fcn.00410570
mov eax, dword [0x4ac7bc]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
je 0x40bf15
push 0
push 0
push 0x10
push eax
call esi
mov eax, dword [0x4ac784]
push 0
push 0
push 0x10
push eax
call esi
mov ecx, dword [0x4ac788]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
push ebp
push ecx
push ebx
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x40c950
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xc0
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_GetROP2]
call fcn.0040c8f0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
sub eax, ebx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
fmulp st(1)
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
call fcn.00471460
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
add eax, ebx
push 0xd
mov dword [esp + 0x18], eax
call ebp
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xf
mov ebx, eax
call ebp
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push ebx
lea edx, [esp + 0x10]
push edx
push esi
mov ebp, eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x20]
push ecx
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_FillRect]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push ebp
call ebx
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x7e
lea edx, [esp + 0x46]
push 0
push edx
mov word [esp + 0x4c], 0
call fcn.004498f0
mov ecx, dword [edi + 4]
add esp, 0xc
push 0x40
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgn]
push edx
call ebx
mov ebp, dword [sym.imp.GDI32.dll_SelectClipRgn]
push eax
push esi
call ebp
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0xc]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x40]
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40ca90
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push 0x25
sub eax, ecx
lea ecx, [esp + 0x34]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x4c]
push edx
push esi
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call ebx
push eax
push esi
call ebp
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x40]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cae0
push 0x25
sub eax, edx
lea ecx, [esp + 0x34]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x4c]
push edx
push esi
call edi
mov ecx, dword [esp + 0xc4]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044610a
add esp, 0xc0
ret
Function at 0x40e160
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x88
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push edi
push 0x7e
lea eax, [esp + 0x16]
mov edi, ecx
push 0
push eax
mov dword [esp + 0x18], edi
mov word [esp + 0x1c], 0
call fcn.004498f0
mov edx, dword [edi + 4]
add esp, 0xc
push 0x40
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x18]
push 0xff0000
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esi + 0x18]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [esp + 0x10]
lea ecx, [eax + 2]
jmp 0x40e1d0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40e1d0
push 0x8025
sub eax, ecx
sar eax, 1
lea ebp, [esi + 0x1c]
push ebp
push eax
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x28]
sub ebx, dword [ebp]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
sub edi, dword [esi + 0x20]
push edx
push eax
call ebp
mov ecx, dword [esi + 0x18]
push 0
add edi, 0xffffffff
push edi
push 0
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [esi + 0x18]
push edi
push ebx
push edx
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x18]
push eax
push ecx
call ebp
mov ecx, dword [esp + 0x90]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044610a
add esp, 0x88
ret

Function at 0x40e3a0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x34
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
xor edx, edx
xor ecx, ecx
mov dword [esi], ecx
mov dword [esi + 4], edx
push edx
mov dword [esi + 8], ebx
push str.Shell_TrayWnd
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x40e416
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SubtractRect]
pop edi
pop ebx
add esp, 0x34
ret

Function at 0x40e690
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push ebx
push edi
push 0x483800
push eax
mov byte [esi + 0x124], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x140]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call edi
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x89
push eax
call ebx
push 5
push eax
call edi
mov ecx, dword [esi + 4]
push 0x88
push ecx
call ebx
push 5
push eax
call edi
pop edi
pop ebx
ret
Function at 0x40e6f0
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esi + 4]
push edi
push 0x88
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
test edi, edi
jne 0x40e726
lea ecx, [edi + 1]
jmp 0x40e748
cmp edi, 1
jne 0x40e730
lea ecx, [edi + 2]
jmp 0x40e748
cmp edi, 2
jne 0x40e73a
lea ecx, [edi + 5]
jmp 0x40e748
cmp edi, 3
mov ecx, 0xe
je 0x40e748
mov ecx, dword [esp + 4]
movzx edx, byte [esi + 0x124]
push ecx
push edx
push 0x50c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ecx
ret

Function at 0x40e770
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
movzx ecx, byte [esi + 0x124]
push 0xffffffffffffffff
push ecx
push 0x50c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x40fa00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [esi + 4]
push 0x6a
push eax
call edi
mov ecx, dword [esi + 4]
push 0x6e
push ecx
mov ebx, eax
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 5
push ebx
call esi
pop edi
pop esi
pop ebx
ret

Function at 0x40fa40
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, eax
mov eax, dword [edi + 4]
push 0x6c
push eax
mov byte [edi + 0x124], 1
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push 0x6a
push ecx
call esi
mov esi, eax
push 0x4838ec
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x40
push 0x1e
push 0xc8
push 0x5a
push 0xa0
push 0
push esi
call ebx
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebp
add eax, 0xfffffdf8
cdq
sub eax, edx
mov esi, eax
push 1
sar esi, 1
call ebp
sub eax, 0xa0
push 0x40
cdq
push 0xa0
sub eax, edx
mov edx, dword [edi + 4]
push 0x208
sar eax, 1
push eax
push esi
push 0
push edx
call ebx
mov esi, dword [0x4ac7bc]
cmp esi, dword [edi + 4]
je 0x40fadf
call fcn.0040bd10
pop edi
pop esi
pop ebp
pop ebx
ret