Function at 0x40118c
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4a53fc
call fcn.00483228
sub esp, 0x134
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004a14d9
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp dword [esi], ebx
je 0x401703
lea ecx, [ebp - 0x140]
push 0x104
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x140]
lea ecx, [ebp - 0x10]
push eax
call fcn.0049d946
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.0049835d
lea eax, [ebp - 0x3c]
push 0x5c
push eax
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 1
call fcn.0049d64d
call fcn.0044d661
add esp, 0xc
mov esi, 0x4e7e70
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push esi
call fcn.0049da15
xor edi, edi
cmp dword [ebp - 0x1c], ebx
jle 0x401275
push 0x5c
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401720
lea eax, [ebp - 0x20]
push eax
call fcn.0044cdd9
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00496b3d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0049dca4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0049d8d8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0049d8d8
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x40121f
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 1
pop edi
push edi
push 0x5c
call fcn.00496af4
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 4
call fcn.0049d64d
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
call fcn.0044cf68
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0049d9c5
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0049d8d8
push esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
call fcn.0049d946
push str.Browser_Error
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0049d946
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 7
cmp dword [eax - 8], ebx
jne 0x401321
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x401395
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push esi
call fcn.0049d64d
lea eax, [ebp + 0x10]
push eax
call fcn.00447404
mov eax, dword [eax]
pop ecx
pop ecx
xor ecx, ecx
cmp dword [eax - 8], ebx
sete cl
mov edi, ecx
lea ecx, [ebp + 0x10]
jmp 0x401389
push str.______
lea ecx, [ebp - 0x10]
call fcn.0049dd8e
test eax, eax
jl 0x4013a4
mov esi, dword [ebp + 0x24]
cmp dword [esi], ebx
je 0x401359
push 0xa2e
lea ecx, [ebp + 0xc]
call fcn.0049de81
push 0x10
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esi], ebx
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x401395
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push esi
call fcn.0049d64d
lea eax, [ebp + 0x10]
push eax
call fcn.00447404
mov eax, dword [eax]
pop ecx
pop ecx
xor ecx, ecx
cmp dword [eax - 8], ebx
sete cl
mov edi, ecx
lea ecx, [ebp + 0x10]
call fcn.0049d8d8
cmp edi, ebx
je 0x40139d
push 1
pop edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], edi
mov dword [eax], ebx
push dword [esi]
jmp 0x4016bc
mov eax, dword [ebp + 0x1c]
cmp dword [eax], ebx
mov eax, dword [ebp - 0x10]
jne 0x4013f3
cmp dword [eax - 8], 2
jle 0x4013f3
cmp byte [eax], 0x5c
jne 0x4013f3
cmp byte [eax + 1], 0x5c
jne 0x4013f3
mov esi, dword [ebp + 0x24]
cmp dword [esi], ebx
je 0x4013e6
push 0xb30
lea ecx, [ebp + 0xc]
call fcn.0049de81
push 0x10
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esi], ebx
mov eax, dword [ebp + 0x10]
push dword [eax]
push dword [ebp - 0x14]
jmp 0x4015db
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], ebx
jne 0x40141b
cmp dword [eax - 8], 2
jle 0x40141b
cmp byte [eax + 1], 0x3a
jne 0x40141b
mov esi, dword [ebp + 0x24]
cmp dword [esi], ebx
je 0x401676
push 0xb2f
jmp 0x40165b
mov ecx, dword [ebp + 0x20]
cmp dword [ecx], ebx
jne 0x40145a
cmp dword [eax - 8], 2
jle 0x40145a
cmp byte [eax + 1], 0x3a
jne 0x40145a
mov ecx, dword [ebp + 0x28]
push ebx
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004047a2
cmp eax, 5
jne 0x40145a
mov esi, dword [ebp + 0x24]
cmp dword [esi], ebx
je 0x401676
push 0xb39
jmp 0x40165b
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.0049d64d
call fcn.00449f55
test al, 8
pop ecx
je 0x401485
mov esi, dword [ebp + 0x24]
cmp dword [esi], ebx
je 0x401676
push 0x6e
jmp 0x40165b
test al, 4
je 0x40149b
mov esi, dword [ebp + 0x24]
cmp dword [esi], ebx
je 0x401676
push 0x71
jmp 0x40165b
test al, 0xa0
jne 0x40168b
test al, 0x50
jne 0x401652
test al, 2
je 0x4015e6
mov eax, dword [ebp + 0x24]
cmp dword [eax], ebx
je 0x4016d2
push str.Create_Confirm
lea ecx, [ebp - 0x18]
mov dword [eax], ebx
call fcn.0049da15
push 0x69
lea ecx, [ebp + 0xc]
call fcn.0049de81
mov edi, dword [ebp - 0x14]
push 0x124
push dword [ebp - 0x18]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp + 0xc]
push edi
call esi
cmp eax, 6
jne 0x4015d5
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 0x24], esp
push eax
call fcn.0049d64d
call fcn.00446d96
cmp eax, ebx
pop ecx
jne 0x40153b
push 0x6c
lea ecx, [ebp + 0xc]
call fcn.0049de81
push 0x10
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push edi
call esi
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
jmp 0x4016ca
push dword [ebp - 0x10]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call fcn.0049d9c5
mov edi, dword [ebp + 0x28]
push dword [ebp + 0x10]
mov esi, dword [edi + 0x5c]
mov ecx, esi
call fcn.00402e66
cmp eax, ebx
jne 0x4015b3
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 8], ebx
je 0x4015af
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 0x24], esp
push eax
call fcn.0049d64d
lea eax, [ebp + 0x10]
push eax
call fcn.00447289
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0049d9c5
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call fcn.0049d8d8
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00402e66
cmp eax, ebx
je 0x401565
cmp eax, ebx
je 0x4015c7
cmp edi, ebx
jne 0x4015bb
xor ecx, ecx
jmp 0x4015be
mov ecx, dword [edi + 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.00405c03
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x4016d2
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x4016d2
push ebx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 0x28], esp
push eax
call fcn.0049d64d
call fcn.004466f0
pop ecx
cmp eax, ebx
pop ecx
jne 0x401630
mov edi, dword [ebp + 0x24]
cmp dword [edi], ebx
je 0x401676
push esi
lea ecx, [ebp + 0xc]
call fcn.0049da15
push 0x6d
lea ecx, [ebp + 0xc]
call fcn.0049de81
push 0x10
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [edi], ebx
jmp 0x401676
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call fcn.0049d9c5
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
jmp 0x4016d2
mov esi, dword [ebp + 0x24]
cmp dword [esi], ebx
je 0x401676
push 0x70
lea ecx, [ebp + 0xc]
call fcn.0049de81
push 0x10
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esi], ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x4016ca
mov esi, dword [ebp + 0x24]
cmp dword [esi], ebx
je 0x4016af
push 0x6f
lea ecx, [ebp + 0xc]
call fcn.0049de81
push 0x10
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esi], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], edi
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebp - 0x1c], ebx
je 0x4016d2
mov ecx, dword [ebp + 8]
call fcn.004a151f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0049d8d8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0049d8d8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00498390
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
jmp 0x40170f
mov ecx, dword [ebp + 0x10]
push dword [ecx]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x24