Function at 0x40110e
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x9c
push ebx
push esi
push edi
lea eax, [ebp - 0x2c]
push eax
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
push 0x7f00
push esi
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x28], 0x30
mov dword [ebp + 0x2c], 3
mov dword [ebp + 0x30], 0x401000
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x40], esi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp + 0x44], eax
lea eax, [ebp + 0x28]
push eax
mov dword [ebp + 0x48], 0xc
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x50], str.Input
mov dword [ebp + 0x54], esi
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov eax, edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
imul eax, eax, 0x37
add eax, 4
push 0x2d
mov dword [ebp + 0x60], eax
call edi
push 0x2d
mov ebx, eax
call edi
add ebx, eax
mov eax, dword [ebp + 0x5c]
imul eax, eax, 6
lea eax, [ebx + eax + 0x44]
push 8
mov dword [ebp + 0x68], eax
call edi
push esi
push esi
push esi
push esi
mov ebx, eax
push 0x37
add ebx, ebx
call edi
add eax, ebx
add eax, dword [ebp + 0x68]
push eax
push 7
call edi
mov ebx, dword [ebp + 0x60]
lea eax, [ebx + eax*2]
push eax
push 1
call edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 0x68]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
push ecx
push esi
call edi
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExA]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
push ecx
push 0x10cf0000
push str.License
push str.Input
push esi
call ebx
push esi
push esi
push esi
push eax
push 0x35
push 0xeb
push 2
push 2
push 0x5000000d
push str.logo
push str.STATIC
push esi
mov dword [ebp + 0x6c], eax
call ebx
mov eax, dword [ebp + 0x60]
push esi
push esi
push esi
push dword [ebp + 0x6c]
add eax, 0xffffff0f
push 0x35
push eax
push 2
push 0xef
push 0x50000201
push str.License
push str.STATIC
push esi
call ebx
mov eax, dword [ebp + 0x60]
push esi
push esi
push esi
push dword [ebp + 0x6c]
add eax, 0xfffffffc
push 1
push eax
push 0x39
push 2
push 0x50800000
push 0x40a1c1
push str.STATIC
push esi
call ebx
mov eax, dword [ebp + 0x5c]
push esi
push esi
push esi
push dword [ebp + 0x6c]
shl eax, 2
push eax
mov eax, dword [ebp + 0x60]
add eax, 0xfffffffc
push eax
push 0x3c
push 2
push 0x50000001
push dword [ebp + 0x78]
push str.STATIC
push esi
call ebx
cmp dword [ebp + 0x7c], esi
je 0x4012e9
mov eax, dword [ebp + 0x5c]
push esi
push esi
push esi
push dword [ebp + 0x6c]
lea ecx, [eax + 2]
push ecx
mov ecx, dword [ebp + 0x64]
imul ecx, ecx, 0x30
inc ecx
inc ecx
push ecx
shl eax, 2
add eax, 0x3e
push eax
push 2
push 0x50800000
push dword [ebp + 0x7c]
push str.EDIT
push esi
call ebx
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x64]
imul eax, eax, 6
push 0x2d
mov dword [ebp + 0x64], eax
call edi
mov ecx, dword [ebp + 0x68]
mov edx, dword [ebp + 0x5c]
push esi
push esi
push esi
push dword [ebp + 0x6c]
sub ecx, edx
add edx, 2
push edx
push dword [ebp + 0x64]
mov dword [ebp + 0x68], ecx
sub dword [ebp + 0x68], eax
push 0x2d
call edi
mov ecx, eax
mov eax, dword [ebp + 0x68]
sub eax, ecx
dec eax
dec eax
push eax
mov eax, dword [ebp + 0x60]
sub eax, dword [ebp + 0x64]
dec eax
dec eax
push eax
push 0x50000001
push 0x40a1b8
push str.BUTTON
push esi
call ebx
mov dword [0x417160], eax
mov dword [0x417164], 1
push esi
push esi
push dword [ebp + 0x6c]
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [0x417164], esi
jne 0x401349
cmp dword [ebp + 0x7c], esi
je 0x401387
push 0x40
push dword [ebp + 0x7c]
push dword [ebp + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [ebp + 0x6c]
call dword [sym.imp.USER32.dll_DestroyWindow]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push str.Input
call dword [sym.imp.USER32.dll_UnregisterClassA]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret