Function at 0x40b4a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47932d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x49f014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x1d0]
mov byte [ebp - 0x81], 1
mov ecx, dword [eax + 4]
cmp ecx, 8
ja case.default.0x40b4e6
jmp dword [ecx*4 + 0x40b7bc]
push dword [ebx + 0x150]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 2]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045fbbb
add esp, 4
mov edi, eax
xor eax, eax
push esi
push edi
mov word [edi], ax
push dword [ebx + 0x150]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x14]
push eax
push 0x48766c
push edi
mov dword [ebp - 0x14], 0
call fcn.0040af10
add esp, 0xc
cmp eax, 1
jne 0x40b563
mov eax, dword [ebx + 0x1d0]
mov bl, byte [ebp - 0x81]
mov ecx, dword [eax + 0x50]
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
jmp 0x40b72a
xor bl, bl
jmp 0x40b724
push dword [ebx + 0x150]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 2]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045fbbb
add esp, 4
mov edi, eax
xor eax, eax
push esi
push edi
mov word [edi], ax
push dword [ebx + 0x150]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x14]
push eax
push 0x487674
jmp 0x40b535
push dword [eax + 0x58]
push dword [eax + 0x50]
push dword [ebx + 0x150]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp case.default.0x40b4e6
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push dword [ebx + 0x18c]
call esi
cmp eax, 0xffffffff
je 0x40b609
push 0
push eax
push 0x150
push dword [ebx + 0x18c]
call esi
mov ecx, eax
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax + 0x50]
mov dword [eax], ecx
jmp case.default.0x40b4e6
mov byte [ebp - 0x81], 0
jmp 0x40b737
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x188
push dword [ebx + 0x1c8]
call esi
cmp eax, 0xffffffff
je 0x40b609
push 0
push eax
push 0x199
push dword [ebx + 0x1c8]
call esi
mov ecx, eax
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax + 0x50]
mov dword [eax], ecx
jmp case.default.0x40b4e6
push dword [ebx + 0x150]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 2]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045fbbb
add esp, 4
mov edi, eax
xor eax, eax
push esi
push edi
mov word [edi], ax
push dword [ebx + 0x150]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x48767c
push edi
call fcn.0040af10
add esp, 0xc
cmp eax, 1
jne 0x40b563
movss xmm0, dword [ebp - 0x14]
mov eax, dword [ebx + 0x1d0]
mov bl, byte [ebp - 0x81]
cvtps2pd xmm0, xmm0
mov eax, dword [eax + 0x50]
movsd qword [eax], xmm0
jmp 0x40b72a
push dword [ebx + 0x150]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 8]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045fbbb
add esp, 4
mov edi, eax
xor eax, eax
push esi
push edi
mov word [edi], ax
push dword [ebx + 0x150]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx + 0x1d0]
push dword [eax + 0x54]
push dword [eax + 0x50]
push edi
call fcn.0040b1c0
mov bl, al
mov byte [ebp - 0x81], bl
push edi
call fcn.0045fbb6
add esp, 4
test bl, bl
jne case.default.0x40b4e6
push 0x4826b4
call dword [sym.imp.Sm2Lib.dll_sm2lib_83]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x80]
push 0x64
push 0
push eax
call fcn.00461200
add esp, 8
lea ecx, [ebp - 0x80]
push 0
call fcn.00459cc0
mov dword [ebp - 0x80], 0x493364
push 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0
call fcn.00459e90
push 0x10
push 0x486a14
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x80]
call fcn.0045a070
lea ecx, [ebp - 0x80]
call fcn.00459d90
mov al, byte [ebp - 0x81]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f9ee
mov esp, ebp
pop ebp
ret