Function at 0x424b40
Capabilities:
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x58c6ca
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x5c], 1
mov edi, dword [esp + 0x68]
test edi, edi
je 0x425223
test esi, esi
je 0x425223
cmp dword [esp + 0x70], 0
je 0x425223
push 0
push 0xd59f8
push 0x75c2
mov eax, edi
call fcn.004694b0
add esp, 0xc
call fcn.00425990
mov ebp, dword [esi]
test ebp, ebp
je 0x425223
lea esi, [ebp + 8]
call fcn.004258f0
mov eax, dword [esi]
test eax, eax
je 0x425223
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x64]
mov dword [ebp + 0x74], eax
mov eax, dword [esi]
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x70], edi
mov dword [eax + 0x10], 0
mov esi, dword [esi]
mov dword [esi + 0xc], ecx
lea edx, [esp + 0x78]
lea esi, [ebp + 0x10]
push edx
mov dword [esp + 0x48], esi
call fcn.0042cd20
mov dword [ebp + 0x30], ebp
test ebx, ebx
jne 0x424c67
mov ecx, dword [esp + 0x78]
call fcn.004140d0
mov dword [ebp + 0x98], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x1028]
test eax, eax
je 0x424c2a
sub eax, dword [ecx + 0x1024]
jns 0x424c2c
xor eax, eax
mov dword [ebp + 0x94], eax
mov eax, dword [esp + 0x78]
push 4
lea ecx, [esp + 0x40]
push ecx
mov byte [eax + 0x1031], 1
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 8]
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x50], 0x2ee0
call dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [esp + 0x7c]
push ecx
lea esi, [ebp + 0x40]
call fcn.0042cd20
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [ebp + 0x48], edx
mov edx, dword [esp + 0x90]
mov dword [ebp + 0x44], eax
test edx, edx
je 0x424c98
cmp byte [edx], 0
jne 0x424c9c
mov edx, dword [esp + 0x70]
lea ebx, [ebp + 0x4c]
call fcn.00403440
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x80], ecx
test edx, edx
je 0x424ccd
lea ebx, [ebp + 0x54]
call fcn.00403440
lea edx, [esp + 0x2c]
push edx
call fcn.004030f0
mov byte [esp + 0x5c], 2
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x34]
mov ecx, dword [ecx]
mov esi, dword [eax + 0x20]
mov byte [esp + 0x1b], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], esi
lea ecx, [ecx]
mov ebx, dword [eax + 0x34]
mov eax, dword [eax + 0x20]
test esi, esi
je 0x424d0e
cmp esi, eax
je 0x424d13
call fcn.004a35f3
cmp dword [esp + 0x4c], ebx
je 0x42505d
mov ebx, 1
mov dword [esp + 0x38], ebx
test esi, esi
jne 0x424d7e
call fcn.004a35f3
mov edx, dword [esp + 0x4c]
cmp edx, dword [esi + 0x14]
jne 0x424d3d
call fcn.004a35f3
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 8]
push str.User_Agent
push eax
call fcn.004a4b4f
add esp, 8
lea esi, [esp + 0x48]
test eax, eax
jne 0x424d82
mov byte [esp + 0x1b], bl
call fcn.004145c0
add eax, 4
lea ebx, [esp + 0x2c]
call fcn.00406760
call fcn.00498ff0
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x48]
jmp 0x424d00
mov esi, dword [esi]
jmp 0x424d2f
call fcn.004145c0
mov eax, dword [eax]
push str.360ProxyClient_Https2Http
push eax
call fcn.004a4b4f
add esp, 8
lea esi, [esp + 0x48]
test eax, eax
jne 0x424e11
call fcn.004145c0
add eax, 4
mov eax, dword [eax]
push eax
call fcn.004a3636
add esp, 4
test eax, eax
je 0x424fda
push ecx
mov dword [esp + 0x40], ebx
mov ecx, esp
mov dword [esp + 0x3c], esp
lea ebx, [ebp + 0x4c]
push ebx
push ecx
call fcn.00406380
mov byte [esp + 0x60], 3
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x64], 2
call fcn.00494ec0
add esp, 8
mov byte [esp + 0x5c], 4
call fcn.00406760
mov byte [esp + 0x5c], 2
lea eax, [esp + 0x40]
push eax
call fcn.00403090
call fcn.00498ff0
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x48]
jmp 0x424d00
call fcn.004145c0
push eax
mov ecx, str.Content_Length
call fcn.00408c20
test eax, eax
jne 0x424e50
cmp dword [ebp + 0x38], eax
jne 0x424fb9
lea esi, [esp + 0x48]
call fcn.004145c0
add eax, 4
mov eax, dword [eax]
push eax
call fcn.004a3641
add esp, 4
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], edx
jmp 0x424fb9
lea esi, [esp + 0x48]
call fcn.004145c0
push eax
mov ecx, str.Range
call fcn.00408c20
test eax, eax
jne 0x424e80
call fcn.004145c0
add eax, 4
lea ebx, [ebp + 0x88]
call fcn.00406760
jmp 0x424fb9
mov eax, dword [esp + 0x90]
test eax, eax
je 0x424ff0
cmp byte [eax], 0
je 0x424ff0
lea esi, [esp + 0x48]
call fcn.004145c0
push eax
mov ecx, str.Host
call fcn.00408c20
test eax, eax
jne 0x424ff0
lea ecx, [esp + 0x24]
push ecx
call fcn.004030f0
mov byte [esp + 0x5c], 5
lea eax, [esp + 0x24]
lea esi, [ebp + 0x4c]
call fcn.00423a30
test al, al
je 0x424fa3
lea edx, [esp + 0x34]
push edx
call fcn.004030f0
mov bl, 6
mov byte [esp + 0x5c], bl
lea eax, [esp + 0x20]
push eax
call fcn.004030f0
mov byte [esp + 0x5c], 7
lea ecx, [esp + 0x30]
push ecx
call fcn.004030f0
mov byte [esp + 0x5c], 8
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.00423aa0
add esp, 0x10
test al, al
je 0x424f77
lea eax, [esp + 0x1c]
push eax
call fcn.004030f0
mov byte [esp + 0x5c], 9
mov ecx, dword [esp + 0x20]
push ecx
push str.Host:__s
lea edi, [esp + 0x24]
call fcn.00402e20
mov edx, dword [esp + 0x24]
mov edi, dword [ebp + 0x50]
push edx
call fcn.004762a0
add esp, 0xc
mov dword [ebp + 0x50], eax
mov dword [esp + 0x38], 0
mov byte [esp + 0x5c], 8
lea eax, [esp + 0x1c]
push eax
call fcn.00403090
mov edi, dword [esp + 0x68]
mov byte [esp + 0x5c], 7
lea ecx, [esp + 0x30]
push ecx
call fcn.00403090
mov byte [esp + 0x5c], bl
lea edx, [esp + 0x20]
push edx
call fcn.00403090
mov byte [esp + 0x5c], 5
lea eax, [esp + 0x34]
push eax
call fcn.00403090
mov byte [esp + 0x5c], 2
lea ecx, [esp + 0x24]
push ecx
call fcn.00403090
cmp dword [esp + 0x38], 0
je 0x424fda
lea esi, [esp + 0x48]
call fcn.004145c0
mov edi, dword [ebp + 0x50]
add eax, 8
mov eax, dword [eax]
push eax
call fcn.004762a0
add esp, 4
mov dword [ebp + 0x50], eax
mov edi, dword [esp + 0x68]
lea esi, [esp + 0x48]
call fcn.00498ff0
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x48]
jmp 0x424d00
mov edi, dword [esp + 0x94]
test edi, edi
je 0x424fb9
cmp byte [edi], 0
je 0x424fb9
lea esi, [esp + 0x48]
call fcn.004145c0
push eax
mov ecx, str.Referer
call fcn.00408c20
test eax, eax
jne 0x424fb9
lea edx, [esp + 0x28]
push edx
call fcn.004030f0
mov byte [esp + 0x5c], 0xa
push edi
push str.Referer:__s
lea edi, [esp + 0x30]
call fcn.00402e20
mov eax, dword [esp + 0x30]
mov edi, dword [ebp + 0x50]
push eax
call fcn.004762a0
add esp, 0xc
mov dword [ebp + 0x50], eax
mov byte [esp + 0x5c], 2
lea ecx, [esp + 0x28]
push ecx
call fcn.00403090
jmp 0x424fd6
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x425074
push eax
push 0x2727
mov eax, edi
call fcn.004694b0
add esp, 8
push 1
push 0xfa1
mov eax, edi
call fcn.004694b0
push 1
push 0xfa2
mov eax, edi
call fcn.004694b0
push 0
push 0x34
mov eax, edi
call fcn.004694b0
add esp, 0x18
cmp byte [esp + 0x1b], 0
je 0x4250bf
mov eax, dword [esp + 0x2c]
cmp dword [eax - 0xc], 0
je 0x4250bf
push eax
push 0x2722
mov eax, edi
call fcn.004694b0
add esp, 8
push 0x5d2b98
push 0x2714
mov eax, edi
call fcn.004694b0
push 0xffffffffffffffff
push 0x65
mov eax, edi
call fcn.004694b0
mov eax, dword [ebp + 0x4c]
push eax
push 0x2712
mov eax, edi
call fcn.004694b0
mov edx, dword [ebp + 8]
push edx
push 0x2711
mov eax, edi
call fcn.004694b0
push 0x4244c0
push 0x4e2b
mov eax, edi
call fcn.004694b0
mov eax, dword [ebp + 0x44]
push eax
push 0x9c
mov eax, edi
call fcn.004694b0
mov ecx, dword [ebp + 0x48]
push ecx
push 0x9b
mov eax, edi
call fcn.004694b0
add esp, 0x38
cmp dword [esp + 0x6c], 0
jne 0x425166
mov edx, dword [esp + 0x44]
push edx
push 0x2719
mov eax, edi
call fcn.004694b0
push 0x4249f0
push 0x4e2c
mov eax, edi
call fcn.004694b0
push 1
push 0x2f
mov eax, edi
call fcn.004694b0
add esp, 0x18
push 1
push 0x2a
mov eax, edi
call fcn.004694b0
add esp, 8
cmp dword [esp + 0x3c], 0
je 0x4251a6
cmp byte [0x603f39], 0
jne 0x42518d
call fcn.00495010
test eax, eax
je 0x4251a6
push 0
push 0x40
mov eax, edi
call fcn.004694b0
push 0
push 0x51
mov eax, edi
call fcn.004694b0
add esp, 0x10
mov byte [esp + 0x5c], 1
lea eax, [esp + 0x2c]
push eax
call fcn.00403090
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
je 0x4251e2
mov esi, eax
add eax, 4
push eax
call edi
test eax, eax
jne 0x4251e2
test esi, esi
je 0x4251e2
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x5c], 0xffffffff
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x42520a
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
jne 0x42520a
test esi, esi
je 0x42520a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
je 0x425250
mov esi, eax
add eax, 4
push eax
call edi
test eax, eax
jne 0x425250
test esi, esi
je 0x425250
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x5c], 0xffffffff
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x425278
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
jne 0x425278
test esi, esi
je 0x425278
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret