Function at 0x46cf70
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c8678]
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 pe_nt_image_headers32
push eax
call ebx
test eax, eax
je 0x46cfd0
mov ebp, 8
cmp dword [esi + 0x74], ebp
jb 0x46cfac
mov eax, dword [esi + 0x60]
jmp 0x46cfaf
lea eax, [esi + 0x60]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push 0x4b2940
push str.EableP2P
push 0x4b2944
call edi
mov dword [esi + 0x78], 1
jmp 0x46d002
cmp dword [esi + 0x74], 8
jb 0x46cfdb
mov eax, dword [esi + 0x60]
jmp 0x46cfde
lea eax, [esi + 0x60]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push 0x4b2b08
push str.EableP2P
push 0x4b2944
call edi
mov dword [esi + 0x78], 0
mov ebp, 8
mov ecx, dword [esi + 0x28]
push 0
push 0
push pe_nt_image_headers32
push ecx
call ebx
test eax, eax
je 0x46d037
mov dword [esi + 0x7c], 1
cmp dword [esi + 0x74], ebp
jb 0x46d02c
mov eax, dword [esi + 0x60]
push eax
push 0x4b2940
jmp 0x46d051
lea eax, [esi + 0x60]
push eax
push 0x4b2940
jmp 0x46d051
mov dword [esi + 0x7c], 0
cmp dword [esi + 0x74], ebp
jb 0x46d048
mov eax, dword [esi + 0x60]
jmp 0x46d04b
lea eax, [esi + 0x60]
push eax
push 0x4b2b08
push str.Auto
push 0x4b2944
call edi
mov edx, dword [esi + 0x30]
push 0
push 0
push pe_nt_image_headers32
push edx
call ebx
test eax, eax
je 0x46d095
mov dword [esi + 0x80], 1
cmp dword [esi + 0x74], ebp
jb 0x46d08a
mov eax, dword [esi + 0x60]
push eax
push 0x4b2940
jmp 0x46d0b2
lea eax, [esi + 0x60]
push eax
push 0x4b2940
jmp 0x46d0b2
mov dword [esi + 0x80], 0
cmp dword [esi + 0x74], ebp
jb 0x46d0a9
mov eax, dword [esi + 0x60]
jmp 0x46d0ac
lea eax, [esi + 0x60]
push eax
push 0x4b2b08
push str.DownloadEnable
push 0x4b2944
call edi
mov eax, dword [esi + 0x34]
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
test eax, eax
je 0x46d0f6
mov dword [esi + 0x88], 1
cmp dword [esi + 0x74], ebp
jb 0x46d0eb
mov eax, dword [esi + 0x60]
push eax
push 0x4b2940
jmp 0x46d113
lea eax, [esi + 0x60]
push eax
push 0x4b2940
jmp 0x46d113
mov dword [esi + 0x88], 0
cmp dword [esi + 0x74], ebp
jb 0x46d10a
mov eax, dword [esi + 0x60]
jmp 0x46d10d
lea eax, [esi + 0x60]
push eax
push 0x4b2b08
push str.UploadEnable
push 0x4b2944
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.00473e14
add esp, 4
test eax, eax
mov ebp, 0x2800
jg 0x46d16e
mov dword [esi + 0x84], 1
cmp dword [esi + 0x74], 8
jb 0x46d163
mov eax, dword [esi + 0x60]
push eax
push 0x4b2940
jmp 0x46d1ae
lea eax, [esi + 0x60]
push eax
push 0x4b2940
jmp 0x46d1ae
cmp eax, ebp
jle 0x46d194
mov dword [esi + 0x84], ebp
cmp dword [esi + 0x74], 8
jb 0x46d189
mov eax, dword [esi + 0x60]
push eax
push str.10240
jmp 0x46d1ae
lea eax, [esi + 0x60]
push eax
push str.10240
jmp 0x46d1ae
mov dword [esi + 0x84], eax
cmp dword [esi + 0x74], 8
jb 0x46d1a5
mov eax, dword [esi + 0x60]
jmp 0x46d1a8
lea eax, [esi + 0x60]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.DownloadSpeed
push 0x4b2944
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.00473e14
add esp, 4
test eax, eax
jg 0x46d1fe
mov dword [esi + 0x8c], 1
cmp dword [esi + 0x74], 8
jb 0x46d1f3
mov eax, dword [esi + 0x60]
push eax
push 0x4b2940
jmp 0x46d23e
lea eax, [esi + 0x60]
push eax
push 0x4b2940
jmp 0x46d23e
cmp eax, ebp
jle 0x46d224
mov dword [esi + 0x8c], ebp
cmp dword [esi + 0x74], 8
jb 0x46d219
mov eax, dword [esi + 0x60]
push eax
push str.10240
jmp 0x46d23e
lea eax, [esi + 0x60]
push eax
push str.10240
jmp 0x46d23e
mov dword [esi + 0x8c], eax
cmp dword [esi + 0x74], 8
jb 0x46d235
mov eax, dword [esi + 0x60]
jmp 0x46d238
lea eax, [esi + 0x60]
push eax
lea edx, [esp + 0x14]
push edx
push str.UploadSpeed
push 0x4b2944
call edi
mov ecx, esi
call fcn.0046cc90
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046fb90
add esp, 0x18
ret