Function at 0x100027d0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x10035448]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0xd4], 0
push esi
mov esi, dword [eax]
or dword [ecx], 0xffffffff
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
push edx
push eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xd8], esi
call fcn.10002681
add esp, 0x10
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x1000282e
xor eax, eax
jmp 0x10002a99
push ebx
push edi
lea edi, [ebp - 0xe0]
lea ebx, [ebp - 0x34]
lea esi, [ebp - 0xb4]
call fcn.100022c6
test eax, eax
jne 0x1000288d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push dword [ebp - 0xd0]
call fcn.1002396e
push eax
push esi
push 0x1003580c
push dword [ebp - 0xd8]
call fcn.1001e441
add esp, 0x18
xor esi, esi
push dword [ebp - 0xc8]
push dword [ebp - 0xd0]
call fcn.1000262c
pop ecx
pop ecx
mov eax, esi
jmp 0x10002a97
mov esi, dword [ebp - 0xd8]
lea eax, [ebp - 0x34]
push eax
push 0x100357fc
push esi
call fcn.1001e3ce
add esp, 0xc
cmp dword [ebp - 0xc4], 2
jne 0x100028bd
xor ebx, ebx
inc ebx
cmp dword [ebp - 0xc0], ebx
je 0x1000296b
xor ebx, ebx
mov edi, dword [ebp - 0xd0]
push dword [ebp - 0xc8]
call fcn.100024dc
pop ecx
test ebx, ebx
je 0x100028e9
cmp dword [esi + 0x538], 0
je 0x100028e9
mov ebx, dword [ebp - 0xc8]
call fcn.10001c62
mov eax, dword [esi + 0x1b0]
mov ebx, dword [ebp - 0xc8]
test eax, eax
je 0x1000291a
push 0
push ebx
push dword [esi + 0x1b4]
call eax
add esp, 0xc
cmp eax, 2
jne 0x10002991
mov dword [ebp - 0xd4], 1
cmp dword [ebp - 0xc4], 2
jne 0x1000299d
lea eax, [ebp - 0xb4]
push eax
call sym.libcurl.dll_curl_pushheader_byname
push eax
push dword [ebp - 0xc4]
mov ecx, edi
push ebx
call fcn.10001de9
add esp, 0x10
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x1000299d
push ebx
push edi
call fcn.1000262c
mov eax, dword [ebp - 0xcc]
pop ecx
pop ecx
cmp eax, 1
jne 0x10002a97
push 7
pop eax
jmp 0x10002a97
cmp dword [esi + 0x3f4], 0
je 0x100028bf
push dword [ebp - 0xc8]
mov edi, dword [ebp - 0xd0]
push edi
call fcn.10002487
pop ecx
pop ecx
jmp 0x100028c5
test eax, eax
je 0x1000291a
push 0x2a
pop esi
jmp 0x10002873
push 1
push ebx
call fcn.10019e63
pop ecx
pop ecx
call fcn.10026de2
cmp dword [edi + 0x430], 1
mov dword [edi + 0x428], eax
mov dword [edi + 0x42c], edx
jle 0x100029d6
push dword [edi + 0x43c]
push dword [edi + 0x438]
push esi
call fcn.100184d8
add esp, 0xc
cmp dword [ebp - 0xd4], 0
jne 0x10002a8d
cmp dword [edi + 0x8c], 1
jne 0x10002a8d
cmp dword [edi + 0x410], 0
jne 0x10002a12
push dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10002a74
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0xb
je 0x10002a67
cmp ebx, 0x2732
jle 0x10002a2f
cmp ebx, 0x2734
jle 0x10002a67
push ebx
push edi
call fcn.1002396e
push eax
lea eax, [ebp - 0x34]
push eax
push 0x100357d8
push esi
call fcn.1001e3ce
push dword [ebp - 0xc8]
mov dword [esi + 0x473c], ebx
push edi
call fcn.1000262c
add esp, 0x20
mov dword [ebp - 0xcc], 7
jmp 0x10002a85
and dword [ebp - 0xcc], 0
mov ebx, dword [ebp - 0xc8]
cmp dword [ebp - 0xcc], 0
jne 0x10002a85
mov eax, dword [ebp - 0xdc]
mov dword [eax], ebx
mov eax, dword [ebp - 0xcc]
jmp 0x10002a97
mov eax, dword [ebp - 0xdc]
mov dword [eax], ebx
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10033b66
leave
ret