Function at 0x46e370
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c66b8]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push esi
push edi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x24]
push 0xf0
push eax
call ebx
test eax, eax
je 0x46e3d0
mov ebp, 8
cmp dword [esi + 0x74], ebp
jb 0x46e3ac
mov eax, dword [esi + 0x60]
jmp 0x46e3af
lea eax, [esi + 0x60]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push 0x4b1ac0
push str.EableP2P
push 0x4b1ac4
call edi
mov dword [esi + 0x78], 1
jmp 0x46e402
cmp dword [esi + 0x74], 8
jb 0x46e3db
mov eax, dword [esi + 0x60]
jmp 0x46e3de
lea eax, [esi + 0x60]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push 0x4b1c88
push str.EableP2P
push 0x4b1ac4
call edi
mov dword [esi + 0x78], 0
mov ebp, 8
mov ecx, dword [esi + 0x28]
push 0
push 0
push 0xf0
push ecx
call ebx
test eax, eax
je 0x46e437
mov dword [esi + 0x7c], 1
cmp dword [esi + 0x74], ebp
jb 0x46e42c
mov eax, dword [esi + 0x60]
push eax
push 0x4b1ac0
jmp 0x46e451
lea eax, [esi + 0x60]
push eax
push 0x4b1ac0
jmp 0x46e451
mov dword [esi + 0x7c], 0
cmp dword [esi + 0x74], ebp
jb 0x46e448
mov eax, dword [esi + 0x60]
jmp 0x46e44b
lea eax, [esi + 0x60]
push eax
push 0x4b1c88
push str.Auto
push 0x4b1ac4
call edi
mov edx, dword [esi + 0x30]
push 0
push 0
push 0xf0
push edx
call ebx
test eax, eax
je 0x46e495
mov dword [esi + 0x80], 1
cmp dword [esi + 0x74], ebp
jb 0x46e48a
mov eax, dword [esi + 0x60]
push eax
push 0x4b1ac0
jmp 0x46e4b2
lea eax, [esi + 0x60]
push eax
push 0x4b1ac0
jmp 0x46e4b2
mov dword [esi + 0x80], 0
cmp dword [esi + 0x74], ebp
jb 0x46e4a9
mov eax, dword [esi + 0x60]
jmp 0x46e4ac
lea eax, [esi + 0x60]
push eax
push 0x4b1c88
push str.DownloadEnable
push 0x4b1ac4
call edi
mov eax, dword [esi + 0x34]
push 0
push 0
push 0xf0
push eax
call ebx
test eax, eax
je 0x46e4f6
mov dword [esi + 0x88], 1
cmp dword [esi + 0x74], ebp
jb 0x46e4eb
mov eax, dword [esi + 0x60]
push eax
push 0x4b1ac0
jmp 0x46e513
lea eax, [esi + 0x60]
push eax
push 0x4b1ac0
jmp 0x46e513
mov dword [esi + 0x88], 0
cmp dword [esi + 0x74], ebp
jb 0x46e50a
mov eax, dword [esi + 0x60]
jmp 0x46e50d
lea eax, [esi + 0x60]
push eax
push 0x4b1c88
push str.UploadEnable
push 0x4b1ac4
call edi
mov edx, dword [esi + 0x4c]
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xa
lea ecx, [esp + 0x14]
push ecx
push edx
call ebx
lea eax, [esp + 0x10]
push eax
call fcn.004752c4
add esp, 4
test eax, eax
mov ebp, 0x2800
jg 0x46e56e
mov dword [esi + 0x84], 1
cmp dword [esi + 0x74], 8
jb 0x46e563
mov eax, dword [esi + 0x60]
push eax
push 0x4b1ac0
jmp 0x46e5ae
lea eax, [esi + 0x60]
push eax
push 0x4b1ac0
jmp 0x46e5ae
cmp eax, ebp
jle 0x46e594
mov dword [esi + 0x84], ebp
cmp dword [esi + 0x74], 8
jb 0x46e589
mov eax, dword [esi + 0x60]
push eax
push str.10240
jmp 0x46e5ae
lea eax, [esi + 0x60]
push eax
push str.10240
jmp 0x46e5ae
mov dword [esi + 0x84], eax
cmp dword [esi + 0x74], 8
jb 0x46e5a5
mov eax, dword [esi + 0x60]
jmp 0x46e5a8
lea eax, [esi + 0x60]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.DownloadSpeed
push 0x4b1ac4
call edi
mov eax, dword [esi + 0x50]
push 0xa
lea edx, [esp + 0x14]
push edx
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
call fcn.004752c4
add esp, 4
test eax, eax
jg 0x46e5fe
mov dword [esi + 0x8c], 1
cmp dword [esi + 0x74], 8
jb 0x46e5f3
mov eax, dword [esi + 0x60]
push eax
push 0x4b1ac0
jmp 0x46e63e
lea eax, [esi + 0x60]
push eax
push 0x4b1ac0
jmp 0x46e63e
cmp eax, ebp
jle 0x46e624
mov dword [esi + 0x8c], ebp
cmp dword [esi + 0x74], 8
jb 0x46e619
mov eax, dword [esi + 0x60]
push eax
push str.10240
jmp 0x46e63e
lea eax, [esi + 0x60]
push eax
push str.10240
jmp 0x46e63e
mov dword [esi + 0x8c], eax
cmp dword [esi + 0x74], 8
jb 0x46e635
mov eax, dword [esi + 0x60]
jmp 0x46e638
lea eax, [esi + 0x60]
push eax
lea edx, [esp + 0x14]
push edx
push str.UploadSpeed
push 0x4b1ac4
call edi
mov ecx, esi
call fcn.0046e090
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00470f90
add esp, 0x18
ret