Function at 0x1043db2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov dword [ebp - 0x818], eax
je 0x1043e48
mov eax, dword [0x1081450]
cmp eax, ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x1043e17
cmp dword [ebp + 0xc], 0x462
jne 0x1043e0a
push dword [ebp + 0x10]
push eax
call esi
push 5
push dword [0x1081450]
call edi
jmp 0x1043e17
push ebx
push eax
call edi
push ebx
push dword [0x1081450]
call esi
mov eax, dword [0x1081454]
cmp eax, ebx
je 0x1043e48
cmp dword [ebp + 0xc], 0x464
jne 0x1043e3b
push dword [ebp + 0x10]
push eax
call esi
push 5
push dword [0x1081454]
call edi
jmp 0x1043e48
push ebx
push eax
call edi
push ebx
push dword [0x1081454]
call esi
cmp dword [ebp + 0x10], ebx
je 0x1043e62
push ebx
push dword [ebp - 0x818]
push 0x20
push dword [ebp - 0x818]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x10813fc]
cmp ecx, ebx
je 0x1044364
call fcn.01045d58
test eax, eax
je 0x1044364
cmp dword [ebp + 0x14], ebx
jne 0x10442b0
mov ecx, dword [0x10813fc]
xor esi, esi
push esi
call fcn.01045d58
mov ecx, eax
call fcn.010489f8
mov ebx, eax
cmp ebx, esi
je 0x10440f9
push dword [ebx + 0xc]
call fcn.0104819f
mov ecx, 0x1001e8c
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1043ed8
cmp dx, si
je 0x1043ed4
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1043ed8
add ecx, 4
add eax, 4
cmp dx, si
jne 0x1043eb2
xor eax, eax
jmp 0x1043edd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x10440e8
push 0x463
push dword [ebp - 0x818]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [0x10813fc]
push ebx
mov dword [ebp - 0x820], eax
call fcn.01045d58
mov ecx, eax
call fcn.0104889e
cmp dword [ebp - 0x820], esi
je 0x10442b0
lea eax, [ebp - 0x614]
push eax
push 0x200
push 0xd
push dword [ebp - 0x820]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10442b0
cmp dword [0x1081cec], esi
jne 0x1043f61
lea eax, [ebp - 0x614]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1043f4e
sub eax, edx
sar eax, 1
mov dword [0x1081cec], eax
lea eax, [ebp - 0x614]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1043f6a
sub eax, edx
sar eax, 1
cmp dword [0x1081cec], eax
jb 0x10442b0
mov ecx, dword [0x10813fc]
mov dword [ebp - 0x81c], 0xe4
call fcn.01045d58
mov ecx, eax
call fcn.0104894c
mov edi, eax
cmp edi, esi
jne 0x1043fbd
push 0x1005110
push 4
call fcn.0105e573
mov dword [0x107fa6c], esi
jmp 0x10442b0
cmp dword [ebx + 0x90], esi
je 0x104402e
push dword [ebx + 0xc]
call fcn.0104819f
push dword [edi + 0xc]
mov esi, eax
call fcn.0104819f
mov cx, word [eax]
cmp cx, word [esi]
jne 0x1043ffd
test cx, cx
je 0x1043ff9
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x1043ffd
add eax, 4
add esi, 4
test cx, cx
jne 0x1043fd7
xor eax, eax
jmp 0x1044002
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x104402e
push dword [ebx + 0xc]
call fcn.0104819f
push eax
push dword [edi + 0xc]
call fcn.0104819f
push eax
push 0x10050b0
push 4
call fcn.0105e5ad
add esp, 0x10
and dword [0x107fa6c], 0
cmp dword [0x107fa6c], 0
je 0x10442b0
cmp dword [ebx + 0x90], 0
jne 0x104404e
mov dword [ebp - 0x81c], 0xe3
mov ecx, ebx
call fcn.010485a8
test eax, eax
je 0x1044060
and dword [ebx + 0xa4], 0
push 0x100
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x81c]
push dword [0x1081390]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x10442b0
push dword [ebx + 0xc]
call fcn.0104819f
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x814]
push 0x200
push eax
call fcn.01034db1
add esp, 0x10
test eax, eax
jl 0x10442b0
lea eax, [ebp - 0x814]
push eax
push 0x400
lea eax, [ebp - 0x614]
push eax
call fcn.01034d30
test eax, eax
jl 0x10442b0
lea eax, [ebp - 0x614]
push eax
push 0
push 0xc
push dword [ebp - 0x820]
jmp 0x10442aa
push 0x1005070
push 2
call fcn.0105e573
jmp 0x10442b0
mov ecx, dword [0x10813fc]
call fcn.01045d58
mov ecx, eax
call fcn.0104894c
test eax, eax
je 0x10442b0
mov ecx, dword [0x10813fc]
call fcn.01045d58
mov ecx, eax
call fcn.0104894c
push 0x463
push dword [ebp - 0x818]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, esi
mov dword [ebp - 0x81c], eax
je 0x10442b0
lea ecx, [ebp - 0x614]
push ecx
push 0x200
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10442b0
cmp dword [0x1081cec], esi
jne 0x1044187
lea eax, [ebp - 0x614]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1044174
sub eax, edx
sar eax, 1
mov dword [0x1081cec], eax
lea eax, [ebp - 0x614]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1044190
sub eax, edx
sar eax, 1
cmp dword [0x1081cec], eax
jb 0x10442b0
mov ecx, edi
mov ebx, 0xe3
call fcn.010485a8
test eax, eax
lea esi, [ebx + 1]
je 0x10441cf
cmp dword [edi + 0x90], 0
je 0x10441c8
mov ebx, esi
and dword [edi + 0xa4], 0
push dword [edi + 0xc]
call fcn.0104819f
test eax, eax
je 0x1044217
push dword [edi + 0xc]
call fcn.0104819f
mov ecx, 0x1001e8c
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x104420e
test dx, dx
je 0x104420a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x104420e
add ecx, 4
add eax, 4
test dx, dx
jne 0x10441e8
xor eax, eax
jmp 0x1044213
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x104422b
push 0x1005028
xor ebx, ebx
push 4
mov dword [0x107fa6c], ebx
call fcn.0105e573
cmp dword [0x107fa6c], 0
jne 0x1044238
cmp ebx, esi
jne 0x10442b0
push 0x100
lea eax, [ebp - 0x814]
push eax
push ebx
push dword [0x1081390]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x10442b0
push dword [edi + 0xc]
call fcn.0104819f
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x214]
push 0x200
push eax
call fcn.01034db1
add esp, 0x10
test eax, eax
jl 0x10442b0
lea eax, [ebp - 0x214]
push eax
push 0x400
lea eax, [ebp - 0x614]
push eax
call fcn.01034d30
test eax, eax
jl 0x10442b0
lea eax, [ebp - 0x614]
push eax
push 0
push 0xc
push dword [ebp - 0x81c]
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x104434b
cmp dword [ebp + 0x14], esi
jne 0x10442d7
mov ecx, dword [0x10813fc]
call fcn.01045d87
test eax, eax
jne 0x104434b
cmp dword [0x107fa6c], esi
je 0x104434b
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x147
push dword [0x1081390]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1044364
cmp dword [ebp + 0x14], esi
jbe 0x1044340
push 8
lea eax, [ebp - 0x14]
push eax
push 0xe9
push dword [0x1081390]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1044340
cmp dword [ebp + 0x14], 0
jbe 0x1044340
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push 0x200
lea eax, [ebp - 0x214]
push eax
call fcn.01034d30
add esi, 0x3e8
cmp esi, dword [ebp + 0x14]
jb 0x1044320
lea eax, [ebp - 0x214]
push eax
push 0
jmp 0x1044351
push 0x1001e8c
push esi
push 0xc
push 0x487
push dword [ebp - 0x818]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047417
leave
ret 0x10