Function at 0x43bbe0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4929f1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
xor esi, esi
mov dword [esp + 0x24], esi
call fcn.0045525d
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x43bc32
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], esi
call fcn.0045525d
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x43bc60
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 1
call fcn.0045525d
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x43bc8f
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x190
mov byte [esp + 0x3c], 2
call fcn.0045fa14
cmp eax, esi
je 0x43bcc1
push 0x190
push eax
lea ecx, [esp + 0x18]
call fcn.00404870
mov edi, dword [ebp + 8]
cmp edi, esi
je 0x43bd37
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jbe 0x43bd37
add esi, 0x104
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00455056
add esp, 4
push esi
mov ebx, eax
push ebx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test ebx, ebx
jne 0x43bd09
xor eax, eax
jmp 0x43bd1f
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43bd10
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00404b00
push ebx
call fcn.0045505b
mov ebx, dword [esp + 0x24]
add esp, 4
push 0x191
call fcn.0045fa14
test eax, eax
je 0x43bd54
push 0x191
push eax
lea ecx, [esp + 0x24]
call fcn.00404870
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call edx
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43bd7c
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov esi, dword [ebp + 0xc]
test esi, esi
mov byte [esp + 0x38], 3
je 0x43bdbe
push esi
call fcn.00433520
add esp, 4
test eax, eax
je 0x43bdac
mov edi, str.Staying
jmp 0x43bdc3
push esi
call fcn.004334c0
add esp, 4
test eax, eax
mov edi, str.Locating
jne 0x43bdc3
mov edi, str.Missing
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x43bdcf
mov ebx, str.None
test esi, esi
jne 0x43bdd8
mov esi, str.None
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jle 0x43bde8
lea eax, [esp + 0x18]
jmp 0x43be03
push str.None
lea ecx, [esp + 0x2c]
call fcn.00404740
mov byte [esp + 0x38], 4
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x28]
mov edx, dword [edx + 0x2c]
mov eax, dword [eax]
push edi
push edx
mov edx, dword [esp + 0x24]
push ecx
push ebx
push esi
push eax
push edx
lea eax, [esp + 0x30]
push str._s_n_nDES:_s_nCMD:_s_nOPT:_s_nFLG:_I64x_nSTS:_s
push eax
call fcn.004045e0
add esp, 0x24
mov dword [esp + 0x38], 3
test byte [esp + 0x24], 1
je 0x43be5b
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43be5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x43bf09
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43be80
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x24], ebx
xor eax, eax
mov byte [esp + 0x38], 5
cmp dword [esi + 4], eax
jle 0x43bee8
add esi, 0x18
nop
mov ecx, dword [esi + 8]
mov edx, dword [esi]
push ecx
mov ecx, dword [esi - 8]
push edx
mov edx, dword [esi - 0x10]
lea edi, [eax + 1]
mov eax, dword [esi - 4]
push eax
push ecx
push edx
push edi
lea eax, [esp + 0x3c]
push str._n_nREG:_d_nROT:_s_nKEY:_s_nENT:_s_nTYP:_s_nVAL:_s
push eax
call fcn.004045e0
mov ebx, dword [esp + 0x44]
mov eax, dword [ebx - 0xc]
add esp, 0x20
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409b30
mov ecx, dword [ebp + 0x14]
mov eax, edi
add esi, 0x20
cmp dword [ecx + 4], eax
jg 0x43bea0
add ebx, 0xfffffff0
mov byte [esp + 0x38], 3
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43bf09
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov edi, dword [ebp + 8]
test edi, edi
je 0x43bf2a
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43bf2a
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push 0x24
push ecx
push esi
push edi
jmp 0x43bf38
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push 0x24
push edx
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
cmp eax, 6
sete cl
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 2
lea edx, [eax + 0xc]
mov edi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43bf69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bf8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bfb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bfdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10