Function at 0x100b4310
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10200e98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x10], 0
jne 0x100b435b
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, dword [edi + 0x6c]
cmp ebp, dword [edi + 0x70]
jbe 0x100b4373
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0x70]
cmp dword [edi + 0x6c], ebx
lea esi, [edi + 0x68]
jbe 0x100b4384
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test esi, esi
je 0x100b438c
cmp esi, esi
je 0x100b4392
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, ebx
je 0x100b444a
test esi, esi
jne 0x100b43a4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 8]
jb 0x100b43af
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebp]
mov ecx, dword [edi - 0x1c]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
sete bl
sub esi, 0x7e7
mov byte [esp + 0x14], bl
je 0x100b440e
sub esi, 5
je 0x100b43fa
sub esi, 1
jne 0x100b4434
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x30]
push eax
call edx
jmp 0x100b4434
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0xf0]
push edx
call eax
jmp 0x100b4434
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x28]
push eax
call edx
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
push 0
movzx edx, bl
push edx
push 0x147
push 0
call eax
cmp ebp, dword [edi + 0x70]
lea eax, [edi + 0x68]
jb 0x100b4442
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebp, 4
jmp 0x100b4373
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
push 1
call eax
mov ecx, dword [edi - 0x1c]
push 0x8aa
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
xor ecx, ecx
lea eax, [ebp + 1]
mov dword [esp + 0x14], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101d19a9
mov ebx, eax
lea eax, [ebp + ebp + 2]
push eax
xor ebp, ebp
push ebp
push ebx
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ecx
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x100b44c3
sub eax, edx
sar eax, 1
push eax
push ebx
lea esi, [esp + 0x20]
call fcn.10007a00
mov dword [esp + 0x40], ebp
mov edi, dword [edi + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x100b450c
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebx, ebp
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
je 0x100b452a
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret