Function at 0x4962a2
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x258
push ebx
push ebp
push esi
push edi
push dword [esp + 0x26c]
xor esi, esi
mov dword [esp + 0x14], esi
call fcn.00496184
push dword [esp + 0x274]
mov ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.00496184
push dword [esp + 0x27c]
mov dword [esp + 0x20], eax
call fcn.00496184
add esp, 0xc
mov ebx, eax
mov edi, 0x1f4
cmp dword [0x5adb70], esi
jne 0x49632c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push esi
mov dword [0x5adb70], eax
lea eax, [esp + 0x78]
push eax
push edi
push 0x29
mov dword [esp + 0x84], edi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x49632c
lea eax, [esp + 0x20c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x5adb70], eax
mov eax, dword [0x5acc90]
push 1
push eax
mov dword [esp + 0x30], 0x30
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 0x4961c6
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push esi
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x44], eax
mov eax, dword [str.InputRequester]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x4c], 0x10
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], esi
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [esp + 0x27c]
mov dword [0x5adb6c], esi
test eax, eax
jne 0x4963ac
call fcn.0049677c
push 1
mov dword [0x5adb80], eax
call fcn.0049682c
mov eax, dword [0x5adb80]
test eax, eax
je 0x4963de
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4963de
push esi
push dword [0x5adb80]
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
inc eax
jmp 0x4963e0
mov eax, esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [0x5adb84], eax
call esi
cdq
sub eax, edx
mov edi, eax
push 0
sar edi, 1
call esi
cdq
push 0
push dword [0x5acc90]
sub eax, edx
mov esi, eax
push 0
sar esi, 1
call fcn.0049677c
push eax
push 0x8c
call fcn.004aa999
push eax
push 0x1f4
call fcn.004aa975
push eax
push 0x8c
call fcn.004aa999
cdq
sub eax, edx
sar eax, 1
sub edi, eax
push edi
push 0x1f4
call fcn.004aa975
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
push esi
push 0x10c80000
push ebp
push dword [0x5a83e8]
push 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, eax
test esi, esi
je 0x4966b5
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x5acc90]
push 0
push esi
push 0x16
call fcn.004aa999
push eax
push 0x1e0
call fcn.004aa975
push eax
push 0xa
call fcn.004aa999
push eax
push 0xa
call fcn.004aa975
push eax
push 0x5000000b
push dword [esp + 0x38]
push str.STATIC
push 0
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [0x5adb70]
mov dword [0x5adb7c], eax
push 0x30
push eax
call edi
push 0
push dword [0x5acc90]
push 0xa
push esi
push 0x15
call fcn.004aa999
push eax
push 0x1d1
call fcn.004aa975
push eax
push 0x20
call fcn.004aa999
push eax
push 0xa
call fcn.004aa975
push eax
mov eax, dword [esp + 0x298]
and eax, 1
shl eax, 5
or eax, 0x50010080
push eax
push 0
push str.EDIT
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push dword [0x5adb70]
mov dword [0x5adb78], eax
push 0x30
push eax
call edi
push dword [0x5adb78]
call dword [sym.imp.USER32.dll_SetFocus]
test ebx, ebx
je 0x496576
push ebx
push 0
push 0xc
push dword [0x5adb78]
call edi
push ebx
call fcn.00454608
pop ecx
push eax
push ebx
call fcn.00454608
pop ecx
push eax
push 0xb1
push dword [0x5adb78]
call edi
push 0
push dword [0x5acc90]
mov eax, 0x3e8
push eax
push esi
push 0x19
call fcn.004aa999
push eax
push 0x50
call fcn.004aa975
push eax
push 0x43
call fcn.004aa999
push eax
push 0xd2
call fcn.004aa975
push eax
push 0x50010001
push 0x56cb18
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push dword [0x5adb70]
mov dword [0x5adb74], eax
push 0x30
push eax
call edi
push 0xd
pop eax
mov word [esp + 0x1a], ax
mov eax, 0x3e8
push 0x1b
mov word [esp + 0x20], ax
pop eax
mov word [esp + 0x20], ax
mov eax, 0x3e9
mov word [esp + 0x22], ax
lea eax, [esp + 0x18]
push 2
push eax
mov byte [esp + 0x20], 1
mov byte [esp + 0x26], 1
call dword [sym.imp.USER32.dll_CreateAcceleratorTableW]
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
jmp 0x496669
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x496672
lea eax, [esp + 0x58]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x496669
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x496669
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x5adb6c], 0
je 0x49661e
test edi, edi
je 0x49667d
push edi
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
cmp dword [esp + 0x10], 0
je 0x4966bc
push dword [esp + 0x10]
call fcn.00454608
pop ecx
push dword [esp + 0x280]
push eax
call fcn.004bfd50
push dword [esp + 0x10]
push eax
call fcn.00540568
pop ecx
pop ecx
push dword [esp + 0x10]
push 0
push dword [0x5acc94]
call ebp
cmp dword [esp + 0x10], 0
jne 0x4966c8
push dword [esp + 0x280]
call fcn.004bfe00
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4966db
push eax
push 0
push dword [0x5acc94]
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4966ee
push eax
push 0
push dword [0x5acc94]
call ebp
test ebx, ebx
je 0x4966fd
push ebx
push 0
push dword [0x5acc94]
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret 0x18