Function at 0x439940
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x560e5b
call fcn.0053c1d0
sub esp, 0x580
mov eax, dword [0x5af710]
push ebx
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x420]
push eax
push str.ProxyEnable
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push esi
mov ebx, 0x3ff
push edi
mov dword [ebp - 0x420], 3
mov dword [ebp - 0x418], ebx
call fcn.0050427e
add esp, 0x18
test al, al
je 0x439f70
cmp byte [ebp - 0x410], 1
jne 0x439f70
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0053c340
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x420]
push eax
push str.ProxyServer
push esi
push edi
mov dword [ebp - 0x420], 1
mov dword [ebp - 0x418], ebx
call fcn.0050427e
add esp, 0x24
test al, al
je 0x439da9
cmp dword [ebp - 0x418], 0x400
jae 0x439da9
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
mov byte [ebp - 0x11], 0
call fcn.004071e0
xor ebx, ebx
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], ebx
call fcn.0042a797
push ebx
push 0x574bf8
lea ecx, [ebp - 0x414]
call fcn.00429be2
mov esi, eax
cmp esi, ebx
jl 0x439aa9
lea eax, [esi + 1]
push eax
push 0x572ff4
lea ecx, [ebp - 0x414]
call fcn.00429be2
sub eax, esi
sub eax, 5
push eax
add esi, 5
push esi
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x414]
call fcn.00418cc9
push eax
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 1
call fcn.0040b4e0
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401250
push ebx
mov esi, 0x572a3c
push esi
lea ecx, [ebp - 0x414]
call fcn.00429be2
mov edi, eax
cmp edi, ebx
jle 0x439b50
push edi
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x414]
call fcn.00418d7f
mov eax, dword [ebp - 0x414]
mov eax, dword [eax - 0xc]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 2
call fcn.00418d32
push dword [ebp - 0x438]
mov esi, dword [ebp - 0x424]
push esi
mov byte [ebp - 4], 3
call fcn.0053c6a5
mov edi, dword [ebp - 0x41c]
pop ecx
push eax
push edi
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call fcn.00438eea
add esp, 0xc
lea ecx, [esi - 0x10]
mov ebx, eax
call fcn.00401250
lea ecx, [edi - 0x10]
call fcn.00401250
mov ecx, dword [ebp - 0x414]
add ecx, 0xfffffff0
call fcn.00401250
mov eax, ebx
jmp 0x43a139
push 1
push 2
lea ecx, [ebp - 0x570]
call fcn.00404a20
push dword [ebp - 0x414]
lea eax, [ebp - 0x570]
push 0x574bec
push eax
mov byte [ebp - 4], 4
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
mov ebx, 0x211
cmp dword [0x5b21c0], ebx
pop ecx
pop ecx
jne 0x439d72
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x4f0]
call fcn.00404a20
mov edi, 0x572a6c
push edi
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x570]
mov byte [ebp - 4], 5
call fcn.00407320
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 6
jb 0x439bdc
mov eax, dword [eax + 4]
jmp 0x439bdf
add eax, 4
push eax
push 0x572a4c
push edi
push 0x572a48
push ebx
push 0x572a40
push dword [ebp - 0x428]
mov ecx, 0x572a38
push esi
push dword [ebp - 0x42a]
mov eax, 0x572a34
push esi
push dword [ebp - 0x42c]
push ecx
push dword [ebp - 0x42e]
push eax
push dword [ebp - 0x432]
push eax
push dword [ebp - 0x434]
push ecx
push 0x92c
push esi
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x41c], esp
push str..FunctionEx.cpp
call fcn.00405500
lea eax, [ebp - 0x454]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 7
jb 0x439c60
mov eax, dword [eax + 4]
jmp 0x439c63
add eax, 4
push eax
lea eax, [ebp - 0x4f0]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x454]
call fcn.00402c50
push 0
push 1
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 5
call fcn.00402c50
lea eax, [ebp - 0x4f0]
push eax
call fcn.00407930
pop ecx
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 4
call fcn.004028d0
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x4a4], 0x572840
call fcn.0054dfcb
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 0
call fcn.004028d0
lea ecx, [ebp - 0x524]
mov dword [ebp - 0x524], 0x572840
call fcn.0054dfcb
mov ecx, dword [ebp - 0x414]
add ecx, 0xfffffff0
call fcn.00401250
jmp 0x43a137
mov ebx, 0x211
cmp dword [0x5b21c0], ebx
jne 0x43a137
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x570]
call fcn.00404a20
mov edi, 0x572a6c
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings__ProxyServer
push 0x572a4c
push edi
push 0x572a48
push ebx
push 0x572a40
push dword [ebp - 0x428]
mov esi, 0x572a3c
push esi
push dword [ebp - 0x42a]
mov ecx, 0x572a38
push esi
push dword [ebp - 0x42c]
mov eax, 0x572a34
push ecx
push dword [ebp - 0x42e]
mov dword [ebp - 4], 8
push eax
push dword [ebp - 0x432]
push eax
push dword [ebp - 0x434]
push ecx
push 0x931
push esi
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x41c], esp
push str..FunctionEx.cpp
call fcn.00405500
lea eax, [ebp - 0x470]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 9
jb 0x439e6d
mov eax, dword [eax + 4]
jmp 0x439e70
add eax, 4
push eax
lea eax, [ebp - 0x570]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov byte [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0x470]
call fcn.00402c50
lea eax, [ebp - 0x570]
push eax
call fcn.00407930
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x524]
call fcn.004028d0
mov dword [ebp - 0x524], 0x572840
lea ecx, [ebp - 0x524]
jmp 0x43a132
mov ebx, 0x211
cmp dword [0x5b21c0], ebx
jne 0x43a137
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x4f0]
call fcn.00404a20
mov edi, 0x572a6c
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings__ProxyEnable
push 0x572a4c
push edi
push 0x572a48
push ebx
push 0x572a40
push dword [ebp - 0x43c]
mov esi, 0x572a3c
push esi
push dword [ebp - 0x43e]
mov ecx, 0x572a38
push esi
push dword [ebp - 0x440]
mov eax, 0x572a34
push ecx
push dword [ebp - 0x442]
mov dword [ebp - 4], 0xa
push eax
push dword [ebp - 0x446]
push eax
push dword [ebp - 0x448]
push ecx
push 0x936
push esi
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x41c], esp
push str..FunctionEx.cpp
call fcn.00405500
lea eax, [ebp - 0x58c]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xb
jb 0x43a034
mov eax, dword [eax + 4]
jmp 0x43a037
add eax, 4
push eax
lea eax, [ebp - 0x4f0]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push 0
push 1
lea ecx, [ebp - 0x58c]
call fcn.00402c50
lea eax, [ebp - 0x4f0]
push eax
call fcn.00407930
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x4a4]
call fcn.004028d0
mov dword [ebp - 0x4a4], 0x572840
lea ecx, [ebp - 0x4a4]
call fcn.0054dfcb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aaae
leave
ret