Function at 0x429fd0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4701aa
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x487550]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], esi
mov byte [ebp - 0x145], bl
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], ebx
call fcn.00433790
mov edx, esi
mov byte [ebp - 4], 1
call fcn.0042bbd0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x42a06d
mov edx, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x1c]
push edx
call fcn.004157f0
mov eax, dword [ebp - 0x20]
add esp, 4
push eax
call fcn.0044caf8
add esp, 4
mov ecx, dword [ebp - 0x2c]
push ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0044caf8
mov edx, dword [ebp - 0x158]
add esp, 4
push edx
lea ecx, [ebp - 0xc0]
call fcn.0042b660
add esp, 4
mov byte [ebp - 4], 2
mov dword [ebp - 0x144], ebx
cmp dword [ebp - 0x144], 0xa
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
jge 0x42a245
mov eax, dword [ebp - 0x15c]
cmp byte [eax + 0xc], bl
je 0x42a0da
push 0x47de10
lea ecx, [ebp - 0x160]
push ecx
mov dword [ebp - 0x160], str.user_query_stop_thread
call fcn.0044f4cb
mov edx, dword [ebp - 0xa4]
push edx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x140]
call fcn.00430b80
mov eax, dword [ebp - 0x10c]
mov ebx, 0xbb8
cmp dword [ebp - 0x118], ebx
je 0x42a12d
mov dword [ebp - 0x118], ebx
cmp eax, 0xffffffff
je 0x42a12d
push 4
lea ecx, [ebp - 0x118]
push ecx
push 0x1006
push 0xffff
push eax
call edi
mov eax, dword [ebp - 0x10c]
cmp dword [ebp - 0x114], ebx
je 0x42a156
mov dword [ebp - 0x114], ebx
cmp eax, 0xffffffff
je 0x42a156
push 4
lea edx, [ebp - 0x114]
push edx
push 0x1005
push 0xffff
push eax
call edi
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x140]
push edx
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.004314e0
push esi
mov ebx, eax
mov byte [ebp - 4], 5
call fcn.00429280
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x20]
xor ebx, ebx
cmp edi, ebx
je 0x42a1d8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14c], eax
nop
cmp edi, dword [ebp - 0x14c]
je 0x42a1cc
cmp dword [edi + 0x18], 0x10
jb 0x42a1ba
mov ecx, dword [edi + 4]
push ecx
call fcn.0044caf8
add esp, 4
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
add edi, 0x1c
jmp 0x42a1a0
mov edx, dword [ebp - 0x20]
push edx
call fcn.0044caf8
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0044caf8
add esp, 4
mov dword [ebp - 4], 3
jmp 0x42a20b
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x42a2fd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
mov dword [ebp - method.CTCPHttp.virtual_0], vtable.CTCPHttp.0
call fcn.0042f840
xor ebx, ebx
cmp dword [ebp - 0x70], ebx
je 0x42a7e9
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
jae 0x42a266
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x150]
push edx
push 0x47a358
push eax
call fcn.0044d7d7
mov eax, dword [ebp - 0x150]
add esp, 0xc
cmp eax, 0x12c
jl 0x42a7de
cmp eax, 0x190
jge 0x42a7e9
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x42a8c0
mov dword [ebp - 0x144], ebx
mov edi, edi
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x42a2e2
call fcn.0044cae8
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x144]
cmp dword [eax + 0x18], 0x10
jb 0x42a4b7
mov eax, dword [eax + 4]
jmp 0x42a4ba
mov eax, dword [ebp - 0x144]
inc eax
cmp eax, 0xa
mov dword [ebp - 0x14c], eax
jge 0x42a31c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42a48b
call fcn.0041fe10
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
xor ecx, ecx
push 0xa
mov eax, 0x47a184
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
call fcn.00403ee0
mov byte [ebp - 4], 7
call fcn.0041fe10
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x68]
mov esi, eax
call fcn.0042c040
add esp, 4
mov edi, 0x10
mov byte [ebp - 4], 8
cmp dword [eax + 0x18], edi
jb 0x42a375
mov eax, dword [eax + 4]
jmp 0x42a378
add eax, 4
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
push eax
push str.error_type
push esi
call edx
cmp dword [ebp - 0x50], edi
jb 0x42a397
mov eax, dword [ebp - 0x64]
push eax
call fcn.0044caf8
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
jb 0x42a3ba
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0044caf8
add esp, 4
xor edx, edx
push 6
mov eax, str._kpe
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.00403ee0
mov byte [ebp - 4], 9
call fcn.0041fe10
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0042c040
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x18], edi
jb 0x42a401
mov eax, dword [eax + 4]
jmp 0x42a404
add eax, 4
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
push eax
push str.error_status
push esi
call edx
cmp dword [ebp - 0x50], edi
jb 0x42a423
mov eax, dword [ebp - 0x64]
push eax
call fcn.0044caf8
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
jb 0x42a447
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0044caf8
add esp, 4
push 0x12
push str.vSoftDownloadError
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403b10
mov byte [ebp - 4], 0xb
call fcn.0041fe10
mov edx, dword [eax]
mov edx, dword [edx + 8]
lea ecx, [ebp - 0x4c]
push ecx
push eax
call edx
cmp dword [ebp - 0x34], edi
jb 0x42a485
mov eax, dword [ebp - 0x48]
push eax
call fcn.0044caf8
add esp, 4
mov esi, dword [ebp - 0x154]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
mov dword [ebp - method.CTCPHttp.virtual_0], vtable.CTCPHttp.0
call fcn.0042f840
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x144], ecx
xor ebx, ebx
jmp 0x42a0a1
add eax, 4
push 9
push str.Location:
push eax
call fcn.0044d4e4
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add esp, 0xc
test eax, eax
mov eax, 0x92492493
je 0x42a4fc
add dword [ebp - 0x144], 0x1c
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x42a2c0
jmp 0x42a8c0
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x42a513
call fcn.0044cae8
mov eax, dword [esi + 0xc]
lea edx, [edi*8]
push 0xffffffffffffffff
sub edx, edi
lea eax, [eax + edx*4]
push ebx
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.004038f0
push 0xffffffffffffffff
mov ecx, 9
lea esi, [ebp - 0x30]
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.00418b90
mov byte [ebp - 4], 0xd
push 1
push 0x47a138
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403b10
lea ecx, [ebp - 0x4c]
push ecx
mov eax, esi
lea edi, [ebp - 0x17c]
mov byte [ebp - 4], 0xe
call fcn.0042dc50
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.004038f0
cmp dword [ebp - 0x164], 0x10
jb 0x42a5b0
mov edx, dword [ebp - 0x178]
push edx
call fcn.0044caf8
add esp, 4
mov esi, 0x10
mov edi, 0xf
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x168], ebx
mov byte [ebp - 0x178], bl
cmp dword [ebp - 0x34], esi
jb 0x42a5e1
mov eax, dword [ebp - 0x48]
push eax
call fcn.0044caf8
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x42a5ec
lea eax, [ebp - 0x2c]
push 4
push str.http
push eax
call fcn.0044d4e4
add esp, 0xc
test eax, eax
je 0x42a6f5
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x42a60f
lea eax, [ebp - 0x2c]
cmp byte [eax], 0x2f
jne 0x42a6f5
push 7
push str.http:__
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403b10
mov edi, dword [ebp - 0x15c]
push ebx
lea ecx, [edi + 0x74]
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.0040c5c0
push 1
push 0x478ef4
mov eax, esi
call fcn.0040c4b0
movzx eax, word [edi + 0x90]
cdq
push edx
push eax
lea esi, [ebp - 0x17c]
call fcn.0042dbb0
add esp, 8
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
call fcn.0040c5c0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x164], 0x10
jb 0x42a69d
mov edx, dword [ebp - 0x178]
push edx
call fcn.0044caf8
add esp, 4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edi, [ebp - 0x17c]
call fcn.004295b0
add esp, 8
mov ecx, dword [ebp - 0x158]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x12
call fcn.004038f0
mov esi, 0x10
cmp dword [ebp - 0x164], esi
jb 0x42a6e2
mov edx, dword [ebp - 0x178]
push edx
call fcn.0044caf8
add esp, 4
cmp dword [ebp - 0x34], esi
jb 0x42a707
mov eax, dword [ebp - 0x48]
push eax
call fcn.0044caf8
add esp, 4
jmp 0x42a707
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x158]
call fcn.004038f0
cmp dword [ebp - 0x18], esi
jb 0x42a718
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0044caf8
add esp, 4
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x50], esi
jb 0x42a73a
mov eax, dword [ebp - 0x64]
push eax
call fcn.0044caf8
add esp, 4
mov esi, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x158]
push esi
push ecx
mov ecx, dword [ebp - 0x15c]
call fcn.00429fd0
mov esi, 0x10
cmp dword [ebp - 0x88], esi
jb 0x42a76f
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0044caf8
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0xa8], esi
jb 0x42a79d
mov eax, dword [ebp - 0xbc]
push eax
call fcn.0044caf8
add esp, 4
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
cmp dword [ebp - 0x6c], esi
jb 0x42a7c0
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0044caf8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044c790
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x190
jl 0x42a8c0
push 4
call fcn.0044cbec
add esp, 4
cmp eax, ebx
je 0x42a800
lea ecx, [ebp - 0x2c]
mov dword [eax], ecx
mov ecx, eax
jmp 0x42a802
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x2c], edx
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x2c]
cmp edi, esi
je 0x42a885
mov edx, dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [esi], ecx
cmp edx, ecx
je 0x42a832
mov eax, dword [edx]
mov edi, dword [ecx]
mov dword [edx], edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
lea ecx, [esi + 0xc]
lea edi, [ebp - 0x20]
cmp edi, ecx
je 0x42a845
mov edi, eax
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
mov dword [ecx], edi
lea ecx, [esi + 0x10]
lea edi, [ebp - 0x1c]
cmp edi, ecx
je 0x42a865
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x14c], edi
mov edi, dword [ecx]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x14c]
mov dword [ecx], edi
lea ecx, [esi + 0x14]
lea edi, [ebp - 0x18]
cmp edi, ecx
je 0x42a885
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14c], edi
mov edi, dword [ecx]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x14c]
mov dword [ecx], edi
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x42a8ae
mov edx, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x1c]
push edx
call fcn.004157f0
mov eax, dword [ebp - 0x20]
add esp, 4
push eax
call fcn.0044caf8
mov edx, dword [ebp - 0x2c]
add esp, 4
push edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0044caf8
add esp, 4
cmp byte [ebp - 0x145], bl
jne 0x42a740
jmp 0x42a753