Function at 0x405380
Capabilities:
Set socket configuration

Disassembly:
push ebp
lea ebp, [esp - 0x114]
sub esp, 0x114
push 0xffffffffffffffff
push 0x470bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x487550]
xor eax, ebp
mov dword [ebp + 0x110], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, 0xf
mov dword [ebp - 0x20], ecx
mov dword [ebp + 0x10c], edi
mov dword [ebp + 0x108], ebx
mov byte [ebp + 0xf8], bl
lea eax, [ebp + 0x7c]
push eax
mov byte [ebp - 4], 1
call fcn.00433bd0
or eax, 0xffffffff
mov dword [ebp + 0x9c], ebx
mov dword [ebp + 0xa0], ebx
mov dword [ebp + 0xa4], eax
mov dword [ebp + 0xa8], eax
mov dword [ebp + 0xac], ebx
mov dword [ebp + 0xc8], edi
mov dword [ebp + 0xc4], ebx
mov byte [ebp + 0xb4], bl
mov dword [ebp + 0xcc], ebx
mov dword [ebp + 0xd0], ebx
mov dword [ebp + 0xec], edi
mov dword [ebp + 0xe8], ebx
mov byte [ebp + 0xd8], bl
lea ecx, [ebp + 0x7c]
push ecx
mov byte [ebp - 4], 2
call fcn.004047f0
cmp al, bl
jne 0x405462
push 0x47de10
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], str.get_uid_or_product_name_failed
call fcn.0044f4cb
xor esi, esi
cmp esi, 3
mov dword [ebp - 0x14], esi
jge 0x40562d
cmp esi, ebx
je 0x40547f
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 3
push edi
push str.dtac.aunapi.com
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
call fcn.00403b10
push 0x50
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.00430b80
mov byte [ebp - 4], 6
cmp dword [ebp - 0x40], 0x10
jb 0x4054c2
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0044caf8
add esp, 4
mov eax, dword [ebp + 0x34]
mov ecx, 0x1388
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
cmp dword [ebp + 0x28], ecx
je 0x4054ff
mov dword [ebp + 0x28], ecx
cmp eax, 0xffffffff
je 0x4054ff
push 4
lea edx, [ebp + 0x28]
push edx
push 0x1006
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp + 0x34]
mov ecx, 0x1388
cmp dword [ebp + 0x2c], ecx
je 0x405523
mov dword [ebp + 0x2c], ecx
cmp eax, 0xffffffff
je 0x405523
push 4
lea ecx, [ebp + 0x2c]
push ecx
push 0x1005
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x12
push str._v1_install_baizhu
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x70], bl
call fcn.00403b10
mov byte [ebp - 4], 7
push edi
push str.dtac.aunapi.com
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00403b10
lea edx, [ebp + 0x7c]
push edx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x90]
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.00430f50
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0xf4]
mov byte [ebp - 4], 9
call fcn.004038f0
cmp dword [ebp - 0x78], 0x10
jb 0x40559c
mov edx, dword [ebp - 0x8c]
push edx
call fcn.0044caf8
add esp, 4
cmp dword [ebp - 0x24], 0x10
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
jb 0x4055ba
mov eax, dword [ebp - 0x38]
push eax
call fcn.0044caf8
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
jb 0x4055d5
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0044caf8
add esp, 4
lea ecx, [ebp]
mov dword [ebp], vtable.CTCPHttp.0
call fcn.0042f840
mov dword [ebp - 4], 2
jmp 0x405602
cmp dword [ebp + 0x108], ebx
jne 0x40562d
mov edx, dword [ebp - 0x20]
cmp byte [edx + 0xc], bl
je 0x405627
push 0x47de10
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], str.user_cancel
call fcn.0044f4cb
inc esi
jmp 0x405464
lea esi, [ebp + 0xf4]
call fcn.004056a0
lea ecx, [ebp + 0x7c]
push ecx
mov byte [ebp - 4], 1
call fcn.00430180
cmp dword [ebp + 0x10c], 0x10
jb 0x40565d
mov edx, dword [ebp + 0xf8]
push edx
call fcn.0044caf8
add esp, 4
xor eax, eax
jmp 0x40566c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x110]
xor ecx, ebp
call fcn.0044c790
add ebp, 0x114
mov esp, ebp
pop ebp
ret