Function at 0x10057ca7
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.1004ed21
mov dword [ebp - 0xc], eax
push 0x10259736
push dword [ebp - 0xc]
call fcn.10006935
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10057cf4
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x10057e18
push 1
push 0
push 0x104a65cf
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1b0]
call fcn.1004eda1
mov dword [ebp - 0xc], eax
call fcn.1000539e
mov dword [ebp - 0x10], eax
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]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.10207bab
add esp, 4
mov dword [ebp - 0x28], 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 - 0x28]
push eax
push 1
push 0x10
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
push eax
push 1
push dword [0x104a659f]
call fcn.1004230e
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10057dbe
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10057dce
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10057dec
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10057de8
imul eax, dword [ebx]
jmp 0x10057ddd
mov ecx, eax
test ecx, ecx
je 0x10057e0b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10057e04
push ebx
push eax
call fcn.10207bb1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10057df2
call fcn.10207bb1
add esp, 4
jmp 0x100583a4
call fcn.1004ed21
mov dword [ebp - 0xc], eax
push 0x10259736
push dword [ebp - 0xc]
call fcn.10006935
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10057e4e
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x100583a4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x104a65cf
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1b0]
mov dword [ebp - 4], eax
cmp dword [0x104a682f], 0x12c
je 0x10057ea0
cmp dword [0x104a682f], 0x190
je 0x10057ea0
mov eax, 1
jmp 0x10057ea5
mov eax, 0
test eax, eax
je 0x100580e6
cmp dword [ebp - 4], 0
jne 0x10057fd6
push 1
push 0
push 0x104a65cf
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1b0]
push 1
call fcn.1004eec4
mov dword [ebp - 0xc], eax
call fcn.1000539e
mov dword [ebp - 0x10], eax
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]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.10207bab
add esp, 4
mov dword [ebp - 0x28], 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 - 0x28]
push eax
push 1
push 0x10
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
push eax
push 1
push dword [0x104a659f]
call fcn.1004230e
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10057f7c
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10057f8c
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10057faa
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10057fa6
imul eax, dword [ebx]
jmp 0x10057f9b
mov ecx, eax
test ecx, ecx
je 0x10057fc9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10057fc2
push ebx
push eax
call fcn.10207bb1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10057fb0
call fcn.10207bb1
add esp, 4
jmp 0x100583a4
cmp dword [ebp - 4], 1
jne 0x100580e6
push 1
call fcn.1004eec4
mov dword [ebp - 0xc], eax
call fcn.1000539e
mov dword [ebp - 0x10], eax
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]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.10207bab
add esp, 4
mov dword [ebp - 0x28], 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 - 0x28]
push eax
push 1
push 0x10
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
push eax
push 1
push dword [0x104a659f]
call fcn.1004230e
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1005808c
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1005809c
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100580ba
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100580b6
imul eax, dword [ebx]
jmp 0x100580ab
mov ecx, eax
test ecx, ecx
je 0x100580d9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x100580d2
push ebx
push eax
call fcn.10207bb1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100580c0
call fcn.10207bb1
add esp, 4
jmp 0x100583a4
cmp dword [0x104a682f], 0x12c
je 0x1005810a
cmp dword [0x104a682f], 0x190
je 0x1005810a
xor eax, eax
jmp 0x1005810f
mov eax, 1
test eax, eax
je 0x100583a4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x104a65cb
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1b0]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x10058248
push 0x13
call fcn.1004f5d5
mov dword [ebp - 0xc], eax
call fcn.1000539e
mov dword [ebp - 0x10], eax
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]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.10207bab
add esp, 4
mov dword [ebp - 0x28], 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 - 0x28]
push eax
push 1
push 0x10
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
push eax
push 1
push dword [0x104a659f]
call fcn.1004230e
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100581ee
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100581fe
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1005821c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10058218
imul eax, dword [ebx]
jmp 0x1005820d
mov ecx, eax
test ecx, ecx
je 0x1005823b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10058234
push ebx
push eax
call fcn.10207bb1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10058222
call fcn.10207bb1
add esp, 4
jmp 0x100583a4
cmp dword [ebp - 8], 0
jne 0x100583a4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x104a65cf
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1b0]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x100582fb
mov eax, 0x1028508d
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1000422b
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100582a1
push ebx
call fcn.10207bb1
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x100582b4
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 - 0x10]
test ebx, ebx
je 0x100582f6
push ebx
call fcn.10207bb1
add esp, 4
jmp 0x100583a4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x104a65cf
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1b0]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100583a4
mov eax, 0x1028509f
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1000422b
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1005834a
push ebx
call fcn.10207bb1
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1005835d
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 - 0x10]
test ebx, ebx
je 0x1005839f
push ebx
call fcn.10207bb1
add esp, 4
jmp 0x100583a4
mov esp, ebp
pop ebp
ret