Function at 0x43bfe5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xcc
push ebx
push esi
push edi
mov ebx, eax
lea eax, [ebp - 4]
push eax
lea esi, [ebp + 8]
mov edi, 0x489108
call fcn.0043a3a8
test al, al
jne 0x43c013
and dword [ebx], 0
jmp 0x43c6ca
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
mov edx, dword [ebp - 4]
je 0x43c02c
push edx
push ecx
call fcn.0043a23d
mov dword [ebp + 8], eax
xor edi, edi
jmp 0x43c031
xor edi, edi
mov dword [ebp + 8], edi
mov eax, dword [ecx*4 + 0x489158]
mov esi, dword [eax + edx*4 + 0x58]
mov ecx, dword [esi]
or dword [ebx], 0xffffffff
mov dword [ebp - 4], ecx
movzx ecx, byte [esi + 0x70]
cmp ecx, 0x11
jg 0x43c3d6
je 0x43c316
cmp ecx, 0xa
jg 0x43c169
je 0x43c124
sub ecx, edi
je 0x43c0d6
dec ecx
je 0x43c082
sub ecx, 7
jne 0x43c4c8
push edi
push edi
push 0x408
jmp 0x43c6bf
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x188
push dword [ebp - 4]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43c4c8
push edi
push ebx
push 0x18a
push dword [ebp - 4]
call esi
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044de32
pop ecx
mov edi, eax
push edi
push ebx
push 0x189
push dword [ebp - 4]
call esi
mov eax, edi
jmp 0x43c6cc
push edi
push edi
push 0x147
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43c4c8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push ebx
push 0x149
push dword [ebp - 4]
call esi
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044de32
pop ecx
mov edi, eax
push edi
push ebx
push 0x148
jmp 0x43c0ca
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x130b
push dword [ebp - 4]
call esi
cmp byte [ebp + 0xc], 0
mov dword [ebx], eax
je 0x43c6ca
lea ecx, [ebp - 0xc8]
push ecx
push eax
push 0x133c
push dword [ebp - 4]
mov dword [ebp - 0xc8], 8
call esi
mov eax, dword [ebp - 0xb0]
jmp 0x43c6c8
cmp ecx, 0xc
je 0x43c30f
cmp ecx, 0xd
jle 0x43c4c8
cmp ecx, 0xf
jle 0x43c21d
cmp ecx, 0x10
jne 0x43c4c8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 9
push 0x110a
push dword [ebp - 4]
mov dword [ebx], edi
call esi
cmp eax, edi
je 0x43c6ca
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], 4
je 0x43c1fe
push 0x2000
call fcn.0044de32
pop ecx
mov ebx, eax
lea eax, [ebp - 0x58]
push eax
push edi
push 0x113e
push dword [ebp - 4]
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xfff
call esi
test eax, eax
je 0x43c1f2
mov eax, ebx
jmp 0x43c6cc
push ebx
call fcn.0044de9c
pop ecx
jmp 0x43c6ca
lea eax, [ebp - 0x58]
push eax
push edi
push 0x113e
push dword [ebp - 4]
call esi
test eax, eax
je 0x43c6ca
mov eax, dword [ebp - 0x34]
jmp 0x43c6c8
cmp dword [eax + 0x4164], edi
jne 0x43c231
cmp dword [eax + 0x4168], edi
jne 0x43c6ca
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x43c6ca
push 0x208
call fcn.0044de32
cmp byte [ebp + 0xc], 0
pop ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x94], 0x2c
je 0x43c29e
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x94]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 0x90], 0x10
push dword [esi + 4]
mov dword [ebp - 0x6c], 0x104
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
jne 0x43c296
push dword [ebp - 4]
mov dword [ebx], edi
jmp 0x43c1f3
mov eax, dword [ebp - 4]
jmp 0x43c6cc
lea eax, [ebp - 0x94]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 0x90], 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
push dword [ebp - 4]
je 0x43c1f3
call fcn.0044de9c
mov eax, dword [ebp - 0x88]
pop ecx
mov cl, al
and cl, 3
neg cl
mov dword [ebx], eax
sbb ecx, ecx
and ecx, 0x40
add ecx, 0x40
test ax, 0x8080
je 0x43c2f0
or ecx, 0x100
test al, 8
je 0x43c2f9
or ecx, 1
jmp 0x43c2fc
or ecx, 4
test ax, 0x1000
je 0x43c308
or ecx, 0x200
mov dword [ebx], ecx
jmp 0x43c6ca
mov dword [ebx], edi
jmp 0x43c6ca
mov eax, dword [esi + 8]
push 0xfffffffffffffff0
push dword [esi + 0x24]
mov dword [ebp - 0x54], eax
mov dword [ebx], edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp byte [ebp + 0xc], 0
mov dword [ebp + 8], eax
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x4c], 0xf000
je 0x43c376
push 0x2000
call fcn.0044de32
pop ecx
mov ebx, eax
lea eax, [ebp - 0x58]
push eax
push edi
push 0x113e
push dword [esi + 0x24]
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xfff
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43c1e7
lea eax, [ebp - 0x58]
push eax
push edi
push 0x113e
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43c6ca
mov ecx, dword [ebp - 0x50]
mov eax, pe_nt_image_headers32
test dword [ebp + 8], eax
je 0x43c3b0
mov edx, ecx
shr edx, 0xc
dec edx
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 4
mov dword [ebx], edx
test cl, 2
je 0x43c3b7
or dword [ebx], eax
test cl, 0x20
je 0x43c3c2
or dword [ebx], 0x400
test cl, 0x10
je 0x43c6ca
or dword [ebx], 0x200
jmp 0x43c6ca
cmp ecx, 0x12
je 0x43c6b8
cmp ecx, 0x13
je 0x43c66f
cmp ecx, 0x14
je 0x43c521
cmp ecx, 0x15
je 0x43c501
cmp ecx, 0x18
jle 0x43c4c8
cmp ecx, 0x1a
jle 0x43c45b
cmp ecx, 0x1c
jne 0x43c4c8
lea eax, [ebp - 0x68]
push eax
push edi
push 0x1001
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43c30f
push 0x16
call fcn.0044de32
mov esi, eax
movzx eax, word [ebp - 0x62]
pop ecx
push eax
movzx eax, word [ebp - 0x66]
push eax
movzx eax, word [ebp - 0x68]
push eax
push str._d__02d__02d
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov eax, esi
jmp 0x43c6cc
cmp byte [ebp + 0xc], 0
push edi
push edi
je 0x43c4a5
push 0xe
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044de32
pop ecx
push esi
mov edi, eax
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x43c0cf
and dword [ebx], eax
push edi
jmp 0x43c1f3
push 0xf0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edi
mov dword [ebx], eax
jne 0x43c6ca
mov dword [ebx], 4
jmp 0x43c6ca
push edi
push edi
push 0xe
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044de32
pop ecx
push esi
mov edi, eax
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43c0cf
cmp dword [esi + 0x58], 4
jne 0x43c514
add esi, 0x50
call fcn.0040fc0c
jmp 0x43c6cc
lea eax, [esi + 0x50]
call fcn.0040fce4
jmp 0x43c6c8
mov eax, dword [esi + 0x24]
or dword [ebx], 0xffffffff
push 0xffffffffffffffec
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x28
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00450990
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xac]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [ebp - 4]
mov dword [ebp - 0xac], 1
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
mov dword [ebp - 0x2c], eax
je 0x43c6ca
test byte [ebp - 8], 4
je 0x43c5c6
cmp byte [ebp + 0xc], 0
je 0x43c5c6
lea eax, [ebp - 0x30]
push eax
push edi
push 0x104b
push dword [ebp - 4]
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x20], 0xf000
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43c6ca
mov eax, dword [ebp - 0x24]
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
jmp 0x43c6c8
push 0x2000
call fcn.0044de32
cmp word [esi + 0x74], di
mov ebx, eax
pop ecx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 0xfff
mov dword [ebp + 0xc], edi
jle 0x43c64e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push edi
push 0x104b
push dword [esi + 0x24]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call fcn.0044e3ca
pop ecx
mov ecx, 0xffe
sub ecx, eax
cmp ecx, edi
mov dword [ebp - 0x18], ecx
jle 0x43c66a
mov ebx, dword [ebp + 8]
push ebx
call fcn.0044e3ca
lea eax, [ebx + eax*2]
pop ecx
mov cx, word [0x48911c]
push eax
mov word [eax], cx
mov word [eax + 2], di
call dword [sym.imp.USER32.dll_CharNextW]
inc dword [ebp + 0xc]
mov ebx, eax
movsx eax, word [esi + 0x74]
cmp dword [ebp + 0xc], eax
jl 0x43c5ed
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push edi
push 0x104b
push dword [esi + 0x24]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 8]
jmp 0x43c6cc
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebp - 4]
call esi
push 0x28
mov dword [ebx], eax
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00450990
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push edi
push 0x104b
push dword [ebp - 4]
mov dword [ebp - 0x30], 4
call esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
jmp 0x43c6c8
push edi
push edi
push 0x400
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8