Function at 0x414ed0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492db0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4ae23c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, 0xf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 1
mov dword [esi], ebx
call fcn.00413830
mov edi, eax
add esp, 8
mov dword [ebp - 0x6c], edi
cmp edi, ebx
jne 0x415089
push 5
push ebx
push str.http
lea ecx, [ebp - 0x2c]
call fcn.0040e420
lea ecx, [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x414f5a
add eax, 5
jmp 0x414fb6
push 6
push ebx
push str.https
call fcn.0040e420
lea ecx, [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x414f7a
mov dword [esi], 4
add eax, 6
jmp 0x414fbc
push 6
push ebx
push str.socks
call fcn.0040e420
lea ecx, [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x414f9a
mov dword [esi], 3
add eax, 6
jmp 0x414fbc
push 4
push ebx
push str.all
call fcn.0040e420
cmp eax, 0xffffffff
je 0x41506f
add eax, 4
lea ecx, [ebp - 0x2c]
mov dword [esi], 5
push eax
push ebx
call fcn.004022f0
push 1
push ebx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x68], 0x3b
call fcn.0040e420
cmp eax, 0xffffffff
je 0x414fe6
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x2c]
call fcn.004022f0
push 1
push ebx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x68], 0x3a
call fcn.0040e420
mov edi, eax
cmp edi, 0xffffffff
je 0x415057
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040f5c0
cmp dword [eax + 0x14], 0x10
jb 0x41501a
mov eax, dword [eax]
push eax
call fcn.00463ac4
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov dword [esi + 0x20], eax
jb 0x415038
mov eax, dword [ebp - 0x64]
push eax
call fcn.00460f43
add esp, 4
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2c]
call fcn.004022f0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [esi + 4]
call fcn.00402b00
jmp 0x4150dd
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [esi + 4]
mov dword [esi + 0x20], 0x1f90
call fcn.00402b00
jmp 0x4150dd
lea ecx, [ebp - 0x48]
call fcn.00402690
lea ecx, [ebp - 0x2c]
call fcn.00402690
mov eax, 2
jmp 0x415116
cmp edi, 1
je 0x4150e0
cmp edi, 2
je 0x4150e0
cmp edi, 3
jne 0x4150e0
push 0x10
mov dword [ebp - 0x70], ebx
call fcn.00461610
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
add esp, 4
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x5c]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x60]
lea edx, [ebp - 0x70]
push edx
push ebx
push eax
push 0x414070
push ebx
push ebx
mov dword [eax + 8], ecx
mov dword [ebp - 0x6c], 4
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x6c]
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x4150f6
mov eax, dword [ebp - 0x48]
push eax
call fcn.00460f43
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], esi
jb 0x415114
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00460f43
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004615db
mov esp, ebp
pop ebp
ret