joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409240
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x17c
mov eax, dword [0x485300]
xor eax, esp
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x180]
push ebp
lea edx, [esp + 8]
push edx
push 0x40
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x140]
push eax
push ebx
push esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0x40
jne 0x409355
cmp word [esp + 0x138], 0x5a4d
jne 0x409355
mov ecx, dword [esp + 0x174]
lea edx, [esp + 8]
push edx
push 0xf8
lea eax, [esp + 0x20]
push eax
lea ebp, [ebx + ecx]
push ebp
push esi
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0xf8
jne 0x409355
cmp dword [esp + 0x18], 0x4550
jne 0x409355
cmp word [esp + 0x1c], 0x14c
jne 0x409355
cmp word [esp + 0x30], 0x10b
jne 0x409355
add ebp, 0xf8
cmp word [esp + 0x1e], 0
mov dword [esp + 0xc], 0
jbe 0x409355
lea ecx, [esp + 8]
push ecx
push 0x28
lea edx, [esp + 0x118]
push edx
push ebp
push esi
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0x28
jne 0x409355
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x409355
mov ecx, dword [esp + 0x134]
and ecx, 0x20000020
cmp ecx, 0x20000020
je 0x40936d
mov eax, dword [esp + 0xc]
movzx edx, word [esp + 0x1e]
add eax, 1
cmp eax, edx
mov dword [esp + 0xc], eax
jb 0x4092ff
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.0044266a
add esp, 0x17c
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x120]
add eax, ebx
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
add eax, edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x17c]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0044266a
add esp, 0x17c
ret

Function at 0x40c270
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x465283
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x485300]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 8], eax
xor edi, edi
mov eax, 1
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CPaintToolBar::CPaintToolBarParent.0
mov dword [esi + 0x28], vtable.CBitmapMemDC.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
lea ecx, [esi + 0x40]
push ecx
mov byte [esp + 0x18], al
call fcn.00427a70
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x68], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x40c640
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x466588
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485300]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
mov edi, ecx
mov ebx, dword [edi + 0x20]
mov ecx, dword [eax]
cmp ecx, dword [ebx + 4]
jne 0x40c705
mov ecx, dword [eax + 8]
cmp ecx, 0xfffffd31
je 0x40c6b4
cmp ecx, 0xfffffff4
jne 0x40c705
mov ecx, dword [eax + 0xc]
sub ecx, 1
je 0x40c6ad
sub ecx, 0x10000
jne 0x40c705
mov edi, eax
call fcn.0040c470
test eax, eax
je 0x40c705
mov eax, 4
jmp 0x40c711
mov eax, 0x20
jmp 0x40c711
mov ecx, dword [eax + 0x14]
xor ebx, ebx
mov eax, 0x486820
mov edi, edi
cmp ecx, dword [eax]
je 0x40c727
add eax, 0x14
add ebx, 1
cmp eax, 0x4868fc
jl 0x40c6c0
mov eax, dword [edi + 0x48]
test eax, eax
je 0x40c705
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c705
mov ecx, dword [edi + 0x48]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 0x48]
push 0x3e9
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x60], 0
mov eax, dword [esp + 0x3c]
mov dword [eax], 0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
cmp ebx, 0xffffffff
je 0x40c6d1
lea ebp, [ebx + ebx*4]
cmp dword [ebp*4 + 0x486818], 0
je 0x40c6d1
cmp dword [edi + 0x64], ebx
je 0x40c705
lea esi, [esp + 0x38]
call fcn.00405350
push 0x104
mov ecx, 0x105
mov dword [esp + 0x34], 0
call fcn.004055c0
mov edx, dword [ebp*4 + 0x486818]
push eax
mov eax, dword [0x4883b0]
push edx
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
or eax, 0xffffffff
call fcn.0040ea10
mov ebp, dword [esp + 0x38]
cmp dword [ebp - 0xc], 0
je 0x40c834
mov ecx, dword [edi + 4]
push 0x64
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea esi, [edi + 0x40]
push 0
mov dword [edi + 0x64], ebx
call fcn.00427c70
mov ecx, ebp
mov edx, esi
call fcn.00428170
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call ebp
push 0x4f
mov ebx, eax
call ebp
mov ebp, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00428320
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx]
cmp edx, ebx
jle 0x40c7f8
sub ebx, ecx
mov eax, ebx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + edx + 0x19]
cmp ebx, ebp
jle 0x40c80c
sub ecx, edx
jmp 0x40c80f
add ecx, 0x19
push ecx
push eax
mov dword [esp + 0x2c], ecx
call fcn.004282c0
push 1
call fcn.00427c70
mov eax, dword [edi + 4]
push 0
push 0x1f4
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x38]
call fcn.00405420
jmp 0x40c705
Function at 0x40cb40
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push eax
call edi
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0xffffffff
mov eax, dword [esi + 0x48]
test eax, eax
je 0x40cb8d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40cb8d
mov ecx, dword [esi + 0x48]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x48]
push 0x3e9
push edx
call edi
mov dword [esi + 0x60], 0
mov dword [ebx], 0
xor eax, eax
pop edi
ret

Function at 0x40cba0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push edi
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x40cc25
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push eax
call edi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x40cc25
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40cc25
mov ecx, dword [esi + 0x48]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x48]
push 0x3e9
push edx
call edi
mov dword [esi + 0x60], 0
mov eax, 1
mov dword [ebx], 0
pop edi
add esp, 0x20
ret

Function at 0x40cc40
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push eax
call edi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x40cc7f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40cc7f
mov ecx, dword [esi + 0x48]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x48]
push 0x3e9
push edx
call edi
mov dword [esi + 0x60], 0
mov dword [ebx], 0
xor eax, eax
pop edi
ret
Function at 0x40e4a0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebp
push esi
mov esi, eax
mov eax, dword [esi + 0x27c]
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
jne 0x40e4c2
mov eax, dword [esp + 0x14]
call fcn.0040e5f0
mov eax, dword [esi + 0x27c]
push eax
call edi
test eax, eax
je 0x40e5dd
mov eax, dword [esi + 0x24]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0xa
lea ebx, [ebx]
mov ecx, dword [esi + 4]
push 0
push edi
push 0x402
push ecx
call ebp
add edi, 1
cmp edi, 0xe
jle 0x40e4f0
cmp dword [esp + 0x1c], 0
mov dword [esi + 0x324], 0
je 0x40e5ce
cmp dword [esi + 0x33c], 0
je 0x40e5ce
mov edx, dword [ebx]
mov edi, dword [esp + 0x18]
mov dword [esi + 0x328], edx
mov eax, dword [ebx + 4]
mov dword [esi + 0x32c], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 0x330], ecx
mov edx, dword [ebx + 0xc]
mov dword [esi + 0x334], edx
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 8]
lea edx, [eax - 0x11d]
add eax, 5
cmp eax, ecx
jle 0x40e568
lea edx, [ecx - 0x122]
mov eax, dword [edi]
cmp edx, eax
jge 0x40e571
lea edx, [eax + 5]
mov eax, dword [ebx + 0xc]
add eax, 0xa
lea ecx, [eax + 0x1c]
cmp ecx, dword [edi + 0xc]
jle 0x40e585
mov eax, dword [ebx + 4]
sub eax, 0x26
cmp eax, dword [edi + 4]
jge 0x40e590
mov eax, dword [ebx + 4]
add eax, 0xa
push 0x15
push 0
push 0
push eax
push edx
mov edx, dword [esi + 0x27c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x27c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x27c]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
mov edx, dword [esi + 0x27c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc

Function at 0x40f480
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov dword [esi], vtable.CPrScrnDlg::CTipsWnd.0
push edi
xor edi, edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov eax, vtable.CBitmapMemDC.0
mov dword [esi + 0x94], eax
mov dword [esi + 0xac], eax
push 0x80
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
lea eax, [esi + 0x10]
push edi
push eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.00447890
mov eax, 0xffffff
add esp, 0xc
mov dword [esi + 0x90], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
push esi
push eax
mov dword [0x488368], eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov eax, esi
pop edi
ret
Function at 0x40f550
Capabilities:
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp eax, edi
mov dword [esi], vtable.CPrScrnDlg::CTipsWnd.0
je 0x40f56d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xc], edi
mov eax, dword [esi + 0xc4]
cmp eax, edi
je 0x40f584
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xc4], edi
mov eax, dword [0x488368]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov ecx, dword [0x488368]
push ecx
call dword [sym.imp.KERNEL32.DLL_TlsFree]
mov eax, dword [esi + 0xb0]
cmp eax, edi
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0xac], vtable.CBitmapMemDC.0
je 0x40f5e0
mov ecx, dword [esi + 0xb8]
cmp ecx, edi
je 0x40f5cd
push ecx
push eax
call ebx
mov dword [esi + 0xb8], edi
mov edx, dword [esi + 0xb0]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0xb0], edi
mov eax, dword [esi + 0xb4]
cmp eax, edi
je 0x40f5f7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xb4], edi
mov eax, dword [esi + 0x98]
cmp eax, edi
mov dword [esi + 0x94], vtable.CBitmapMemDC.0
je 0x40f632
mov ecx, dword [esi + 0xa0]
cmp ecx, edi
je 0x40f61f
push ecx
push eax
call ebx
mov dword [esi + 0xa0], edi
mov eax, dword [esi + 0x98]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0x98], edi
mov eax, dword [esi + 0x9c]
cmp eax, edi
pop ebx
je 0x40f64a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x9c], edi
pop edi
pop esi
ret
Function at 0x410a00
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov dword [esi], vtable.CPrScrnDlg::CWelcomeWnd.0
push edi
xor edi, edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov eax, vtable.CBitmapMemDC.0
mov dword [esi + 0x94], eax
mov dword [esi + 0xac], eax
push 0x80
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
lea eax, [esi + 0x10]
push edi
push eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.00447890
mov eax, 0xffffff
add esp, 0xc
mov dword [esi + 0x90], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
push esi
push eax
mov dword [0x488370], eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov eax, esi
pop edi
ret

Function at 0x410ad0
Capabilities:
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp eax, edi
mov dword [esi], vtable.CPrScrnDlg::CWelcomeWnd.0
je 0x410aed
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xc], edi
mov eax, dword [esi + 0xc4]
cmp eax, edi
je 0x410b04
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xc4], edi
mov eax, dword [0x488370]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov ecx, dword [0x488370]
push ecx
call dword [sym.imp.KERNEL32.DLL_TlsFree]
mov eax, dword [esi + 0xb0]
cmp eax, edi
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0xac], vtable.CBitmapMemDC.0
je 0x410b60
mov ecx, dword [esi + 0xb8]
cmp ecx, edi
je 0x410b4d
push ecx
push eax
call ebx
mov dword [esi + 0xb8], edi
mov edx, dword [esi + 0xb0]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0xb0], edi
mov eax, dword [esi + 0xb4]
cmp eax, edi
je 0x410b77
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xb4], edi
mov eax, dword [esi + 0x98]
cmp eax, edi
mov dword [esi + 0x94], vtable.CBitmapMemDC.0
je 0x410bb2
mov ecx, dword [esi + 0xa0]
cmp ecx, edi
je 0x410b9f
push ecx
push eax
call ebx
mov dword [esi + 0xa0], edi
mov eax, dword [esi + 0x98]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0x98], edi
mov eax, dword [esi + 0x9c]
cmp eax, edi
pop ebx
je 0x410bca
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x9c], edi
pop edi
pop esi
ret
Function at 0x411500
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push edi
mov edi, eax
mov eax, dword [edi + 4]
push eax
call ebx
test eax, eax
jne 0x41151a
call fcn.004119c0
mov ecx, dword [edi + 4]
push ecx
call ebx
test eax, eax
je 0x411576
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 0x14
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 4]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [edi + 4]
push eax
push eax
push 0xb1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
pop ecx
ret
Function at 0x4118d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
cmp dword [ebx + 0x20], 0
push ebp
push esi
push edi
je 0x4119b5
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x4119a9
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x20]
add eax, 0x29c
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
lea eax, [esp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 4]
push eax
push ecx
mov dword [esp + 0x34], edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [ebx + 0x20]
mov eax, dword [ebp + 4]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
neg edi
push edi
neg esi
push esi
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov edi, dword [ebx + 0x20]
call fcn.004141e0
mov ecx, dword [ebx + 0x20]
mov esi, dword [ecx + 0x220]
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00411aa0
mov edx, dword [ebx + 4]
push 0x46ae18
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
add esp, 0x28
ret
Function at 0x411aa0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x466a78
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x485300]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x411c13
mov edx, dword [0x4874f4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4874f4
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], 0
mov eax, dword [edi - 8]
add ebx, 1
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x411b24
mov ecx, ebx
lea eax, [esp + 0x10]
call fcn.004057d0
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 4]
push ebx
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test edi, edi
jne 0x411b38
xor eax, eax
jmp 0x411b55
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411b40
sub eax, edx
sar eax, 1
js 0x411c28
cmp eax, dword [edi - 8]
jg 0x411c28
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 0x4b8]
add eax, 0x304
cmp ecx, 0xa
jl 0x411b88
cmp ecx, 0xe
jg 0x411b88
mov eax, dword [eax + ecx*4 + 0x174]
jmp 0x411b8a
xor eax, eax
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push eax
push esi
call ebx
push 1
push esi
mov ebp, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x63c]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x2c]
push 0x2010
push edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x28]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
push esi
call ebx
mov edx, dword [esp + 0x10]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x80070057
call fcn.00404c70
int3
Function at 0x412370
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x46565f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485300]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CPrScrnDlg.0
mov dword [esp + 0x20], 8
mov eax, dword [esi + 0x63c]
xor edi, edi
cmp eax, edi
je 0x4123c2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x63c], edi
mov eax, dword [esi + 0x640]
cmp eax, edi
je 0x4123d9
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [esi + 0x640], edi
mov eax, dword [0x48836c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov ecx, dword [0x48836c]
push ecx
call dword [sym.imp.KERNEL32.DLL_TlsFree]
mov eax, dword [esi + 0x668]
cmp eax, edi
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, vtable.CBitmapMemDC.0
mov dword [esi + 0x664], ebp
je 0x412435
mov ecx, dword [esi + 0x670]
cmp ecx, edi
je 0x412422
push ecx
push eax
call ebx
mov dword [esi + 0x670], edi
mov edx, dword [esi + 0x668]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0x668], edi
mov eax, dword [esi + 0x66c]
cmp eax, edi
je 0x41244c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x66c], edi
lea ecx, [esi + 0x2e4]
call fcn.0040e330
push 0x401c00
push 4
push 0x18
lea eax, [esi + 0x234]
push eax
mov dword [esi + method.CClipRect.virtual_0], vtable.CClipRect.0
mov byte [esp + 0x30], 6
call fcn.00442d0b
mov eax, dword [esi + 0x220]
cmp eax, edi
mov dword [esi + 0x21c], ebp
je 0x4124b2
mov ecx, dword [esi + 0x228]
cmp ecx, edi
je 0x41249f
push ecx
push eax
call ebx
mov dword [esi + 0x228], edi
mov ecx, dword [esi + 0x220]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0x220], edi
mov eax, dword [esi + 0x224]
cmp eax, edi
je 0x4124c9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x224], edi
mov eax, dword [esi + 0x208]
cmp eax, edi
mov dword [esi + 0x204], ebp
je 0x412500
mov ecx, dword [esi + 0x210]
cmp ecx, edi
je 0x4124ed
push ecx
push eax
call ebx
mov dword [esi + 0x210], edi
mov edx, dword [esi + 0x208]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0x208], edi
mov eax, dword [esi + 0x20c]
cmp eax, edi
je 0x412517
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x20c], edi
mov eax, dword [esi + 0x1f0]
cmp eax, edi
mov dword [esi + 0x1ec], ebp
je 0x41254e
mov ecx, dword [esi + 0x1f8]
cmp ecx, edi
je 0x41253b
push ecx
push eax
call ebx
mov dword [esi + 0x1f8], edi
mov eax, dword [esi + 0x1f0]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0x1f0], edi
mov eax, dword [esi + 0x1f4]
cmp eax, edi
je 0x412565
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x1f4], edi
lea ecx, [esi + 0xe0]
mov dword [esi + method.CWindowX.virtual_0], vtable.CWindowX.0
call fcn.00410ad0
lea ecx, [esi + 0xc]
call fcn.0040f550
mov dword [esi], vtable.CWindowX.0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret