Function at 0x436e00
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
sub esp, 0xc
cmp dword [ecx], 0
mov dword [esp + 8], ecx
jne 0x436e17
mov eax, 1
add esp, 0xc
ret 4
mov eax, dword [ecx + 8]
test eax, eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 0
jbe 0x43710e
lea eax, [ecx + 0x10]
mov dword [esp + 0x10], eax
mov esi, dword [eax + 4]
test esi, esi
je 0x4370eb
mov edi, dword [eax - 4]
test edi, edi
jne 0x436e57
push edi
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.0043e8a0
jmp 0x4370eb
movzx eax, byte [eax]
add eax, 0xfffffffb
cmp eax, 4
ja case.0x436e66.8
jmp dword [eax*4 + 0x43713c]
push 0
push 0
push 0xf0
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, 0
je 0x436eb6
dec eax
je 0x436ea1
dec eax
jne 0x4370eb
push 0
push 0xffffffffffffffff
push 0x456434
mov ecx, esi
call fcn.0043e8a0
jmp 0x4370eb
push 0
push 0xffffffffffffffff
push 0x452c78
mov ecx, esi
call fcn.0043e8a0
jmp 0x4370eb
push 0
push 0xffffffffffffffff
push 0x44f664
mov ecx, esi
call fcn.0043e8a0
jmp 0x4370eb
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push edi
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
push 0
jne 0x436ef5
push eax
push 0
mov ecx, esi
call fcn.0043e8a0
jmp 0x4370eb
push ebp
push 0x18a
push edi
call ebx
cmp eax, 0xffffffff
mov ecx, esi
push 0
jne 0x436f14
push eax
push 0
call fcn.0043e8a0
jmp 0x4370eb
push eax
push 0
call fcn.0043e8a0
cmp eax, 1
jne 0x437130
mov ecx, esi
call fcn.00401080
push eax
push ebp
push 0x189
push edi
call ebx
cmp eax, 0xffffffff
jne 0x436f54
mov ecx, esi
call fcn.0040e480
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0043e8a0
jmp 0x4370eb
mov cl, byte [esi + 0x14]
test cl, cl
lea ecx, [esi + 4]
je 0x436f63
mov ecx, 0x461128
mov dword [ecx], eax
mov ecx, esi
call fcn.0040e480
jmp 0x4370eb
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push edi
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
je case.0x436e66.8
push 0
push ebp
push 0x149
push edi
call ebx
cmp eax, 0xffffffff
mov ecx, esi
push 0
jne 0x436fab
push eax
push 0
call fcn.0043e8a0
jmp 0x4370eb
push eax
push 0
call fcn.0043e8a0
cmp eax, 1
jne 0x437130
mov ecx, esi
call fcn.00401080
push eax
push ebp
push 0x148
push edi
call ebx
cmp eax, 0xffffffff
jne 0x436feb
mov ecx, esi
call fcn.0040e480
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0043e8a0
jmp 0x4370eb
mov cl, byte [esi + 0x14]
test cl, cl
lea ecx, [esi + 4]
je 0x436ffa
mov ecx, 0x461128
mov dword [ecx], eax
mov ecx, esi
call fcn.0040e480
jmp 0x4370eb
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push 0
mov ebp, eax
push ebp
push 0
mov ecx, esi
call fcn.0043e8a0
cmp eax, 1
jne 0x437130
mov al, byte [esi + 0x14]
test al, al
lea ebx, [esi + 4]
je 0x437045
cmp al, 1
mov ebx, 0x461128
jne 0x437049
mov ecx, 0x45ef58
call section..text
jmp 0x43704e
mov eax, dword [esi]
jmp 0x43704e
mov eax, str.Unsupported_script_variable_type.
inc ebp
push ebp
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
mov dword [ebx], eax
jne 0x437089
mov al, byte [esi + 0x14]
test al, al
jne 0x43706c
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x4370d2
cmp al, 1
jne 0x43707f
mov ecx, 0x45ef58
call section..text
mov byte [eax], 0
jmp 0x4370d2
mov eax, str.Unsupported_script_variable_type.
mov byte [eax], 0
jmp 0x4370d2
mov eax, dword [esp + 0x10]
cmp byte [eax], 0xa
jne 0x4370d2
push 1
push 0x456d18
push 0x456374
mov ecx, esi
call fcn.00401080
push eax
call fcn.0043c770
add esp, 0x10
mov ecx, esi
call fcn.00401080
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4370b8
mov cl, byte [esi + 0x14]
sub eax, edx
test cl, cl
lea ecx, [esi + 4]
je 0x4370d0
mov ecx, 0x461128
mov dword [ecx], eax
cmp byte [esi + 0x14], 1
jne 0x4370eb
mov eax, dword [0x45ef64]
test eax, eax
je 0x4370eb
mov ecx, 0x45ef58
call fcn.00402af0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 8]
inc edx
add eax, 0x1c
cmp edx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
jb 0x436e35
mov al, byte [esp + 0x20]
test al, al
je 0x437121
mov ecx, dword [ecx]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4