Function at 0x455550
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
mov eax, dword [0x50bb90]
push ebx
push esi
mov ebx, ecx
push 0xa09
push eax
mov dword [ebp - 0xc], ebx
call fcn.00420d20
xor esi, esi
add esp, 8
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x455ae7
cmp word [eax], si
je 0x455ade
push edi
push 0x7f02
push esi
mov dword [ebp - 8], esi
xor edi, edi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebx + 0xf38d4]
cmp dword [ecx], esi
je 0x455aa8
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
xor eax, eax
jmp 0x4555c0
mov ecx, dword [ecx + eax + 0x88]
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx*4 + 0xf2d64], edi
lea eax, [edx + ecx*4 + 0xf2d64]
je 0x4555e3
mov eax, dword [eax]
push eax
call ebx
test eax, eax
jne 0x4555ff
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0xf38d4]
inc esi
mov eax, esi
imul eax, eax, 0x98
cmp dword [ecx + eax], edi
jne 0x4555c0
jmp 0x455aa8
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xf38d4]
mov edx, esi
imul edx, edx, 0x98
mov ecx, dword [edx + eax + 0x88]
mov eax, dword [ebx + ecx*4 + 0xf2d64]
mov edx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
test eax, eax
je 0x455aa8
cmp dword [0x50db74], eax
je 0x45563c
mov dword [0x50db70], edi
xor ecx, ecx
inc esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], esi
jmp 0x45564a
mov esi, dword [ebp - 0x24]
mov eax, edx
mov dword [ebp - 0x14], esi
cmp ecx, 1
jne 0x45565f
mov eax, esi
mov dword [ebp - 0x14], 0x17
jmp 0x455669
cmp ecx, 2
jne 0x455669
xor eax, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x14]
jae 0x455900
imul eax, eax, 0x98
mov esi, eax
mov dword [ebp - 0x1c], esi
mov edx, dword [ebx + 0xf38d4]
cmp dword [esi + edx], 0
lea eax, [esi + edx]
je 0x4558f6
mov eax, dword [eax + 0x88]
cmp dword [ebx + eax*4 + 0xf2d64], 0
jne 0x4556dc
mov ecx, edx
mov edx, dword [0x50bb90]
lea eax, [esi + ecx]
push eax
movzx eax, word [eax]
push 0x46a150
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [ebx + 0xf38d4]
mov edx, dword [esi + ecx + 0x88]
mov dword [ebx + edx*4 + 0xf2d64], eax
mov ecx, dword [ebx + 0xf38d4]
mov edx, dword [esi + ecx + 0x88]
mov ebx, dword [ebx + edx*4 + 0xf2d64]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x4558da
xor eax, eax
cmp ebx, dword [0x50db74]
push 0
setne al
push 0
dec eax
and eax, dword [0x50db70]
push eax
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
je 0x4558d7
lea esp, [esp]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4558b5
push 0x50
lea eax, [ebp - 0xe0]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4558b5
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.ListBox
lea ecx, [ebp - 0xe0]
push ecx
call esi
test eax, eax
jne 0x45580c
mov edx, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edx
push 0xffffffffffffffff
push 0x18f
push edi
call esi
mov dword [ebp - 0x20], eax
test eax, eax
jge 0x4558d3
push 0
push 0
push 0x18b
push edi
call esi
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x4557fa
jmp 0x4557b0
push 0
push 0
push 0x18a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xff
jae 0x4557f0
lea eax, [ebp - 0x2e0]
push eax
push esi
push 0x189
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x2e0]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4557f7
inc esi
cmp esi, ebx
jl 0x4557b0
jmp 0x4557fa
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x20], 0
jge 0x4558cd
mov ebx, dword [ebp - 8]
jmp 0x4558b5
push str.Button
lea eax, [ebp - 0xe0]
push eax
call esi
test eax, eax
je 0x455834
push str.Static
lea ecx, [ebp - 0xe0]
push ecx
call esi
test eax, eax
jne 0x4558b5
push 0xff
lea edx, [ebp - 0x2e0]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4558b5
cmp word [ebp - 0x2e0], 0
je 0x4558b5
lea eax, [ebp - 0x2e0]
push 0x26
push eax
call fcn.004b03ac
add esp, 8
test eax, eax
je 0x4558a0
lea ebx, [ebx]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x455875
sub ecx, esi
sar ecx, 1
add ecx, ecx
push ecx
lea esi, [eax + 2]
push esi
push eax
call fcn.004b0bb0
push 0x26
push esi
call fcn.004b03ac
add esp, 0x14
test eax, eax
jne 0x455870
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4558cd
push 0
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
jne 0x455730
jmp 0x4558d7
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jne 0x455918
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
inc eax
add esi, 0x98
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
cmp eax, dword [ebp - 0x14]
jb 0x455680
test edi, edi
jne 0x455912
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 2
jbe 0x455647
jmp 0x455aa8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 8]
je 0x455981
mov eax, dword [ebp - 0x28]
mov edx, dword [0x50b3a4]
imul eax, eax, 0x98
mov ecx, dword [edx + 0xf38d4]
mov edx, dword [ecx + eax + 0x90]
mov eax, dword [0x50bb90]
push 0x801
push eax
mov dword [ebp - 4], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 4]
push ecx
push 3
mov ebx, eax
push 0x110a
push ebx
call esi
test eax, eax
je 0x45596f
push eax
push 2
push 0x1102
push ebx
call esi
mov edx, dword [ebp - 4]
push edx
push 9
push 0x110b
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0xfffffffffffffff4
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4559bf
push str.Static
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4559bf
mov ecx, dword [ebp - 8]
push 0xfffffffffffffff4
push eax
push eax
push edi
push ecx
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
xor edx, edx
mov word [0x50cbd0], dx
cmp ebx, 0xffffffff
je 0x4559fd
mov eax, dword [0x50b380]
push 0x7d0
push 0x50cbd0
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x4559f3
xor ecx, ecx
mov word [0x50cbd0], cx
jmp 0x4559fd
cmp word [0x50cbd0], 0
jne 0x455a11
lea edx, [ebp - 0x2e0]
push edx
push 0x50cbd0
call fcn.00454d40
add esp, 8
mov eax, dword [0x50b3a4]
mov ebx, dword [eax + 0xf3860]
add eax, 0xf3864
mov dword [eax + 0x24], 0x50cbd0
mov ecx, dword [0x50b3a4]
cmp dword [ecx + 0xf385c], 0
mov dword [ebp - 4], eax
je 0x455a4f
mov eax, dword [ecx + 0xf385c]
push 0
push 0
push 0x401
push eax
call esi
mov eax, dword [ebp - 4]
push eax
push 0
push 0x439
push ebx
call esi
lea ecx, [ebp - 0x40]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
add edx, 0xa
movzx eax, dx
add ecx, 0xa
movzx edx, cx
shl eax, 0x10
or eax, edx
push eax
push 0
push 0x412
push ebx
call esi
mov eax, dword [ebp - 4]
push eax
push 1
push 0x411
push ebx
call esi
mov ecx, dword [ebp - 8]
push 0
push 0xbb8
push 0x65
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push eax
mov dword [0x50db74], edx
mov dword [0x50db70], edi
call fcn.00441300
add esp, 4
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.00441300
add esp, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret