Function at 0x4817fb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push 0
push 0xc8
push 0x402
push dword [ebx + 0x15c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebx + 0x14]
push 0
call fcn.004885e9
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x184]
mov dword [ebx + 0x170], eax
call fcn.004034d8
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 0xd
je 0x48186e
push dword [ebx + 0x170]
mov ecx, dword [0x5740b0]
call fcn.0045e6f0
test eax, eax
je 0x481872
test esi, esi
jne 0x481879
xor eax, eax
jmp 0x481cb4
mov ecx, dword [ebx + 8]
lea edi, [ebx + 0x164]
mov eax, dword [esi + 4]
mov dword [ebx + 0x16c], eax
mov eax, dword [ecx]
call dword [eax + 0x68]
cmp eax, 2
jne 0x4818d7
push dword [esi]
lea eax, [ebp - 0x20c]
push dword [ebx + 0x160]
push 0x104
push eax
call fcn.004329e6
add esp, 0x10
push 0x43c
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
mov ecx, edi
call fcn.00402bd6
jmp 0x48192a
mov ecx, esi
call fcn.004046aa
push 0x531f90
mov ecx, esi
call fcn.00404622
push esi
mov ecx, edi
call fcn.00402bd6
push dword [esi]
lea eax, [ebp - 0x20c]
push dword [ebx + 0x160]
push 0x104
push eax
call fcn.004329e6
add esp, 0x10
push 0x43c
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x527fb4
push 0x55a
push dword [ebx - 0x1c]
call esi
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 0xd
ja case.0x481950.1
jmp dword [eax*4 + 0x481cc7]
push 0x95
lea ecx, [ebp - 0x228]
call fcn.00402af5
push dword [eax]
push 0x443
push dword [ebx - 0x1c]
call esi
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.004042e9
jmp case.0x481950.1
push 0x99
jmp 0x48195c
push 0x53c480
push 0x443
push dword [ebx - 0x1c]
call esi
jmp case.0x481950.1
push 0x97
jmp 0x48195c
push 0x98
jmp 0x48195c
push 0x53c4d8
jmp 0x481992
push 0x53c538
jmp 0x481992
push 0x53c598
jmp 0x481992
push str._._colorrgb_101_101_101____._IE9
jmp 0x481992
push 0x53c668
jmp 0x481992
push 0x53c6c8
jmp 0x481992
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x68]
cmp eax, 2
jne 0x4819ed
push 0x53c728
jmp 0x481992
sub esp, 0x18
mov ecx, esp
push str.Title
call fcn.004108e3
push dword [ebx + 0x170]
mov ecx, dword [0x5740b0]
lea eax, [ebp - 0x224]
push eax
call fcn.0045e23f
call fcn.00403a64
push eax
lea ecx, [ebp - 0x230]
call fcn.00402a6b
call fcn.00403a64
push eax
lea ecx, [ebp - 0x228]
call fcn.00402a6b
cmp dword [ebp - 0x210], 8
lea edi, [ebp - 0x224]
jb 0x481a4b
mov edi, dword [ebp - 0x224]
push 0x9a
lea ecx, [ebp - 0x234]
call fcn.00402af5
push edi
lea ecx, [ebp - 0x22c]
mov esi, dword [eax]
call fcn.00402af5
push dword [eax]
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00415254
mov ecx, dword [ebp - 0x234]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x94
lea ecx, [ebp - 0x22c]
call fcn.00402af5
mov edi, dword [ebp - 0x230]
push edi
push dword [eax]
lea eax, [ebp - 0x228]
push eax
call fcn.00415254
mov ecx, dword [ebp - 0x22c]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov esi, dword [ebp - 0x228]
push esi
push 0x443
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esi - 0x10]
call fcn.004042e9
lea ecx, [edi - 0x10]
call fcn.004042e9
lea ecx, [ebp - 0x224]
call fcn.00410d88
jmp case.0x481950.1
lea ecx, [ebp - 0x2a4]
call fcn.004425f8
lea eax, [ebp - 0x2a4]
push eax
push dword [ebx + 8]
push dword [ebx + 0x170]
call fcn.004a35b8
add esp, 0xc
lea ecx, [ebp - 0x224]
push dword [ebp - 0x26c]
call fcn.004108e3
call fcn.00403a64
push eax
lea ecx, [ebp - 0x228]
call fcn.00402a6b
call fcn.00403a64
push eax
lea ecx, [ebp - 0x230]
call fcn.00402a6b
cmp dword [ebp - 0x210], 8
lea edi, [ebp - 0x224]
jb 0x481b6d
mov edi, dword [ebp - 0x224]
push 0x9a
lea ecx, [ebp - 0x22c]
call fcn.00402af5
push edi
lea ecx, [ebp - 0x234]
mov esi, dword [eax]
call fcn.00402af5
push dword [eax]
lea eax, [ebp - 0x228]
push esi
push eax
call fcn.00415254
mov ecx, dword [ebp - 0x22c]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x94
lea ecx, [ebp - 0x22c]
call fcn.00402af5
mov edi, dword [ebp - 0x228]
push edi
push dword [eax]
lea eax, [ebp - 0x230]
push eax
call fcn.00415254
mov ecx, dword [ebp - 0x22c]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov esi, dword [ebp - 0x230]
push esi
push 0x443
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esi - 0x10]
call fcn.004042e9
lea ecx, [edi - 0x10]
call fcn.004042e9
lea ecx, [ebp - 0x224]
call fcn.00410d88
lea ecx, [ebp - 0x2a4]
call fcn.0044291d
cmp dword [ebx + 0x170], 0x3e8
jbe 0x481c88
sub esp, 0x18
mov ecx, esp
push str.disable_close_button
call fcn.004108e3
push dword [ebx + 0x170]
mov ecx, dword [0x5740b0]
lea eax, [ebp - 0x224]
push eax
call fcn.0045e199
cmp dword [eax + 0x14], 8
jb 0x481c65
mov eax, dword [eax]
push eax
call sub.msvcrt.dll__wtoi
neg eax
pop ecx
sbb esi, esi
lea ecx, [ebp - 0x224]
inc esi
call fcn.00410d88
mov ecx, dword [ebx + 8]
push esi
mov edx, dword [ecx]
call dword [edx + 0xdc]
push 0
push 0x64
push 2
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebx - 0x20]
push eax
lea ecx, [ebx + 0x14]
call fcn.004885f6
push dword [ebx + 0x170]
lea ecx, [ebx + 0x14]
call fcn.0048883a
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 8