Function at 0x101507b2
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.1004ed21
mov dword [ebp - 4], eax
push 0x10259736
push dword [ebp - 4]
call fcn.10006935
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x101507f1
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 8], 0
je 0x101508fc
call fcn.1004eda1
mov dword [ebp - 4], eax
call fcn.1000539e
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 8
call fcn.10207bab
add esp, 4
mov dword [ebp - 0x20], eax
mov edi, eax
mov esi, 0x1024f2fe
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push 0x10
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 4]
push eax
push 1
push dword [0x104a659f]
call fcn.1004230e
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x101508a2
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x101508b2
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x101508d0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x101508cc
imul eax, dword [ebx]
jmp 0x101508c1
mov ecx, eax
test ecx, ecx
je 0x101508ef
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x101508e8
push ebx
push eax
call fcn.10207bb1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x101508d6
call fcn.10207bb1
add esp, 4
jmp 0x10150b40
call fcn.1004ed21
mov dword [ebp - 4], eax
push 0x10259736
push dword [ebp - 4]
call fcn.10006935
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10150932
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 8], 0
je 0x10150b40
cmp dword [0x104a682f], 0xcb
je 0x10150973
cmp dword [0x104a682f], 0x12c
je 0x10150973
cmp dword [0x104a682f], 0x190
je 0x10150973
mov eax, 1
jmp 0x10150978
mov eax, 0
test eax, eax
je 0x10150a86
push 0x13
call fcn.1014e1d0
mov dword [ebp - 4], eax
call fcn.1000539e
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 8
call fcn.10207bab
add esp, 4
mov dword [ebp - 0x20], eax
mov edi, eax
mov esi, 0x1024f2fe
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push 0x10
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 4]
push eax
push 1
push dword [0x104a659f]
call fcn.1004230e
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10150a2c
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10150a3c
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10150a5a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10150a56
imul eax, dword [ebx]
jmp 0x10150a4b
mov ecx, eax
test ecx, ecx
je 0x10150a79
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10150a72
push ebx
push eax
call fcn.10207bb1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10150a60
call fcn.10207bb1
add esp, 4
jmp 0x10150b40
cmp dword [0x104a682f], 0xcb
je 0x10150aba
cmp dword [0x104a682f], 0x12c
je 0x10150aba
cmp dword [0x104a682f], 0x190
je 0x10150aba
xor eax, eax
jmp 0x10150abf
mov eax, 1
test eax, eax
je 0x10150b40
mov eax, 0x10285acf
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1000422b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10150aeb
push ebx
call fcn.10207bb1
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10150afe
mov eax, 0x10259736
push eax
push 0x80000301
push 0
push dword [0x104a6827]
push 0x40001
push 0
push dword [0x104a681b]
push 3
mov ebx, 0x18
mov eax, 0x10222ab0
call fcn.102084b0
add esp, 0x28
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10150b40
push ebx
call fcn.10207bb1
add esp, 4
mov esp, ebp
pop ebp
ret