Function at 0x441ba7
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 edi, [ebp - 4]
lea esi, [ebp - 8]
mov eax, 0x4914d0
call 0x480cab
test al, al
jne 0x441bd4
and dword [ebx], 0
jmp 0x442244
mov eax, dword [ebp - 4]
mov ecx, dword [0x491544]
mov eax, dword [ecx + eax*4]
mov esi, dword [eax]
mov eax, dword [esi]
or dword [ebx], 0xffffffff
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], eax
movzx eax, byte [esi + 0x88]
cmp eax, 0x11
jg 0x441f54
je 0x441e92
cmp eax, 0xa
jg 0x441d10
je 0x441cc9
sub eax, 0
je 0x441c82
dec eax
je 0x441c32
sub eax, 7
jne 0x44203e
push eax
push eax
push 0x408
jmp 0x442239
xor ebx, ebx
push ebx
push ebx
push 0x188
push dword [ebp - 4]
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x44203e
push ebx
push esi
push 0x18a
push dword [ebp - 4]
call edi
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x4964af
pop ecx
mov ebx, eax
push ebx
push esi
push 0x189
push dword [ebp - 4]
call edi
mov eax, ebx
jmp 0x442246
push 0
push 0
push 0x147
push dword [ebp - 4]
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x44203e
push 0
push esi
push 0x149
push dword [ebp - 4]
call edi
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x496500
pop ecx
mov ebx, eax
push ebx
push esi
push 0x148
jmp 0x441c76
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x130b
push dword [ebp - 4]
call esi
cmp byte [ebp + 0xc], 0
mov dword [ebx], eax
je 0x442244
lea ecx, [ebp - 0xcc]
push ecx
push eax
push 0x133c
push dword [ebp - 4]
mov dword [ebp - 0xcc], 8
call esi
mov eax, dword [ebp - 0xb4]
jmp 0x442242
cmp eax, 0xc
je 0x441bcc
cmp eax, 0xd
jle 0x44203e
cmp eax, 0xf
jle 0x441dc3
cmp eax, 0x10
jne 0x44203e
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push 9
push 0x110a
push dword [ebp - 4]
mov dword [ebx], edi
call esi
cmp eax, edi
je 0x442244
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], 4
je 0x441da4
push 0x2000
call 0x4965b0
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
jne 0x441c7b
push ebx
call 0x4961e6
pop ecx
jmp 0x442244
lea eax, [ebp - 0x58]
push eax
push edi
push 0x113e
push dword [ebp - 4]
call esi
test eax, eax
je 0x442244
mov eax, dword [ebp - 0x34]
jmp 0x442242
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x442244
push 0x208
call 0x496621
cmp byte [ebp + 0xc], 0
pop ecx
mov edi, eax
lea eax, [ebp - 0x98]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp - 0x98], 0x30
push dword [esi + 8]
je 0x441e2a
mov dword [ebp - 0x94], 0x10
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], 0x104
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
jne 0x442070
and dword [ebx], eax
push edi
jmp 0x441d99
mov dword [ebp - 0x94], 1
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
push edi
test eax, eax
je 0x441d99
call 0x496290
pop ecx
mov ecx, dword [ebp - 0x8c]
mov al, cl
and al, 3
movsx eax, al
neg eax
sbb eax, eax
and eax, 0x40
add eax, 0x40
mov dword [ebx], ecx
test ecx, 0x8080
je 0x441e6f
or eax, 0x100
test cl, 8
je 0x441e79
or eax, 1
jmp 0x441e7c
or eax, 4
test ecx, 0x1000
je 0x442242
or eax, 0x200
jmp 0x442242
mov eax, dword [esi + 0xc]
push 0xfffffffffffffff0
push dword [esi + 0x30]
xor edi, edi
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 0x441ef4
push 0x2000
call 0x49670b
pop ecx
mov ebx, eax
lea eax, [ebp - 0x58]
push eax
push edi
push 0x113e
push dword [esi + 0x30]
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xfff
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x441d90
lea eax, [ebp - 0x58]
push eax
push edi
push 0x113e
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x442244
mov ecx, dword [ebp - 0x50]
mov eax, pe_nt_image_headers32
test dword [ebp + 8], eax
je 0x441f2e
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 0x441f35
or dword [ebx], eax
test cl, 0x20
je 0x441f40
or dword [ebx], 0x400
test cl, 0x10
je 0x442244
or dword [ebx], 0x200
jmp 0x442244
cmp eax, 0x12
je 0x442230
cmp eax, 0x13
je 0x4421e5
cmp eax, 0x14
je 0x442094
cmp eax, 0x15
je 0x442077
cmp eax, 0x18
jle 0x44203e
cmp eax, 0x1a
jle 0x441fda
cmp eax, 0x1c
jne 0x44203e
lea eax, [ebp - 0x68]
push eax
push 0
push 0x1001
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x441bcc
push 0x16
call 0x4967f5
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 0x442246
xor esi, esi
cmp byte [ebp + 0xc], 0
push esi
push esi
je 0x44201b
push 0xe
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x49684b
pop ecx
push esi
mov edi, eax
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x441e1a
push 0xf0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx], eax
cmp eax, esi
jne 0x442244
mov dword [ebx], 4
jmp 0x442244
push 0
push 0
push 0xe
push dword [ebp - 4]
call edi
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x4968a5
pop ecx
push esi
mov edi, eax
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, edi
jmp 0x442246
cmp dword [esi + 0x70], 4
lea eax, [esi + 0x68]
jne 0x44208a
call fcn.00453fee
jmp 0x442246
call fcn.004540d9
jmp 0x442242
mov edi, dword [esi + 0x30]
or dword [ebx], 0xffffffff
push 0xffffffffffffffec
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x28
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push 0
push eax
call 0x498262
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xb0]
push eax
push 0xffffffffffffffff
push 0x1053
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xb0], 1
call edi
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x442244
test byte [ebp - 4], 4
je 0x442137
cmp byte [ebp + 0xc], 0
je 0x442137
lea eax, [ebp - 0x30]
push eax
push 0
push 0x104b
push dword [ebp - 8]
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x20], 0xf000
call edi
test eax, eax
je 0x442244
mov eax, dword [ebp - 0x24]
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
jmp 0x442242
add dword [eax], eax
invalid
push 0x2000
call 0x496984
and dword [ebp + 0xc], 0
mov ebx, eax
xor eax, eax
pop ecx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 0x42556
cmp ax, word [esi + 0x8c]
jge 0x4421c7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0x104b
push dword [esi + 0x30]
mov dword [ebp - 0x1c], ebx
call edi
push ebx
call 0x4965b0
pop ecx
mov ecx, 0xffe
sub ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
jle 0x4421e0
mov ebx, dword [ebp + 8]
push ebx
call 0x4965c8
pop ecx
mov cx, word [0x4914e4]
lea eax, [ebx + eax*2]
mov word [eax], cx
xor ecx, ecx
push eax
mov word [eax + 2], cx
call dword [sym.imp.USER32.dll_CharNextW]
inc dword [ebp + 0xc]
mov ebx, eax
movsx eax, word [esi + 0x8c]
cmp dword [ebp + 0xc], eax
jl 0x442164
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0x104b
push dword [esi + 0x30]
mov dword [ebp - 0x1c], ebx
call edi
mov eax, dword [ebp + 8]
jmp 0x442246
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 0
push eax
call 0x4983b4
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0x104b
push dword [ebp - 4]
mov dword [ebp - 0x30], 4
call esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
jmp 0x442242
push 0
push 0
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