Function at 0x4034a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
push edi
mov edi, dword [ebp + 0x14]
cmp eax, 0x111
ja 0x403887
je 0x4036a3
add eax, 0xfffffffe
cmp eax, 0x4c
ja case.0x40389c.278
movzx eax, byte [eax + 0x4039d0]
jmp dword [eax*4 + 0x4039a0]
test ebx, ebx
je case.0x40389c.278
movzx eax, word [0x450370]
push eax
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je case.0x40389c.278
mov ecx, dword [eax]
mov dword [ebp - 0x18], 0
mov edx, dword [ecx + 0x18]
lea ecx, [ebp - 0x18]
push ecx
push edi
push ebx
push dword [ebp + 0xc]
mov ecx, eax
call edx
test al, al
je case.0x40389c.278
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
movzx eax, word [0x450370]
push eax
push dword [edi]
jmp 0x403503
test ebx, ebx
je case.0x40389c.278
push dword [edi + 4]
movzx esi, word [0x450370]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x40359c
mov ecx, dword [eax]
mov dword [ebp - 0x18], 0
mov edx, dword [ecx + 0x18]
lea ecx, [ebp - 0x18]
push ecx
push edi
push ebx
push dword [ebp + 0xc]
mov ecx, eax
call edx
test al, al
jne 0x4037c6
mov esi, dword [ebp - 0x1c]
jmp case.0x40389c.278
movzx eax, word [0x450370]
push eax
push dword [edi + 8]
jmp 0x403503
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ecx + 0x4c], eax
mov eax, dword [ecx]
call dword [eax + 0xb0]
jmp case.0x40389c.278
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x44], eax
mov eax, dword [ecx]
call dword [eax + 0xac]
jmp case.0x40389c.278
test ebx, ebx
jne case.0x40389c.278
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx + 0x8c], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ecx + 0x8c]
test eax, eax
jne 0x40364d
push eax
push eax
push dword [ecx + 0x2c]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ecx]
call dword [eax + 0x94]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ecx]
call dword [eax + 0x98]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
mov eax, ebx
shr eax, 0x10
test eax, eax
jne 0x403790
test edi, edi
jne 0x403794
call fcn.00403cb0
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x40374c
movzx eax, bx
lea ecx, [edx + 0x10]
sub eax, 0x7531
cmp byte [edx + 0x28], 0
mov dword [ebp - 0x18], eax
je 0x4036ec
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, dword [edx]
setl cl
xor eax, eax
cmp dword [ebp - 0x18], eax
setge al
test eax, ecx
je 0x40373c
cmp byte [edx + 0x28], 0
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x18], ecx
je 0x40371e
lea eax, [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40374c
mov eax, dword [ecx]
call dword [eax + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edx + 0x28], 0
je 0x40374c
lea eax, [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, word [0x45035c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x40387b
cmp eax, 0x401fe0
je 0x40387b
push edi
push ebx
push 0x111
push esi
push eax
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x4037dc
movzx eax, word [0x450370]
push eax
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x40374c
mov ecx, dword [eax]
mov dword [ebp - 0x18], 0
mov edx, dword [ecx + 0x18]
lea ecx, [ebp - 0x18]
push ecx
push edi
push ebx
push 0x111
mov ecx, eax
call edx
test al, al
je 0x40374c
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
movzx eax, bx
cmp eax, 1
jne 0x40382b
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push 0
push 0xd
push 0x100
push edi
call esi
push 0
push 0xd
push 0x101
push edi
call esi
push 0
push 0xd
push 0x102
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 2
jne 0x40374c
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push 0
push 0x1b
push 0x100
push edi
call esi
push 0
push 0x1b
push 0x101
push edi
call esi
push 0
push 0x1b
push 0x102
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
push edi
push ebx
push 0x111
jmp 0x403986
add eax, 0xfffffeed
cmp eax, 0x25
ja case.0x40389c.278
movzx eax, byte [eax + 0x403a2c]
jmp dword [eax*4 + 0x403a20]
movzx eax, word [0x450370]
push eax
push edi
jmp 0x403503
call fcn.00403cb0
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x40389c.278
cmp byte [edx + 0x28], 0
lea eax, [ebx - 0x3e9]
mov dword [ebp - 0x1c], eax
lea eax, [edx + 0x10]
je 0x4038e0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x18]
xor ecx, ecx
lea eax, [ebx - 0x3e9]
cmp eax, dword [edx]
setl cl
xor eax, eax
cmp dword [ebp - 0x1c], eax
setge al
test eax, ecx
je 0x403937
cmp byte [edx + 0x28], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + ebx*4 - 0xfa4]
mov dword [ebp - 0x18], ecx
je 0x403919
lea eax, [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je case.0x40389c.278
mov eax, dword [ecx]
call dword [eax + 0x24]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edx + 0x28], 0
je case.0x40389c.278
lea eax, [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, word [0x45035c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x403981
cmp eax, 0x401fe0
je 0x403981
push edi
push ebx
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10
push edi
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c670
mov esp, ebp
pop ebp
ret 0x10