Function at 0x40212f
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x18], 0
push ebx
push esi
mov dword [ebp - 0x1c], edx
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov dword [ebp - 8], edx
push edi
mov edi, dword [ebp + 0x10]
mov esi, 0x151cd938
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0xc]
cmp esi, 0x266d5a33
jg 0x402258
je 0x4023ec
cmp esi, 0x173603d
je 0x40220c
cmp esi, 0xf303cf6
je 0x4021ee
cmp esi, 0x151cd938
je 0x4021e4
cmp esi, 0x1c7cb699
je 0x4021c3
cmp esi, 0x258d3247
jne 0x4023df
push eax
push 0x2cc
mov edx, 0x6dea43bf
mov ecx, 0x778a108c
call fcn.00402e7c
pop ecx
call eax
mov esi, 0x1c7cb699
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
jmp 0x402159
push dword [ebp - 0x10]
mov edx, 0x6dea43bf
mov ecx, 0x778a108c
push 0x2cc
call fcn.00402e7c
pop ecx
call eax
mov esi, 0x266d5a33
jmp 0x4021b8
mov esi, 0x312c0b61
jmp 0x402159
push 0x13
pop edx
mov ecx, eax
call fcn.004020ef
cmp eax, 0xc8
mov esi, 0x258d3247
mov eax, 0x2a5f11d0
cmove esi, eax
jmp 0x4021b8
test edi, edi
je 0x402215
mov ecx, dword [edi + 4]
jmp 0x402217
xor ecx, ecx
test edi, edi
je 0x40221f
mov eax, dword [edi]
jmp 0x402221
xor eax, eax
push ecx
push eax
mov eax, dword [ebp - 0xc]
mov edx, 0x1cb76458
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov ecx, 0x778a108c
push eax
push 0x144
call fcn.00402e7c
pop ecx
call eax
neg eax
sbb esi, esi
and esi, 0xe9a30aaf
add esi, 0x258d3247
jmp 0x4021b8
cmp esi, 0x28b2c69a
je 0x4023a1
cmp esi, 0x2a5f11d0
je 0x402385
cmp esi, 0x312c0b61
je 0x40232f
mov eax, 0x33839ab1
cmp esi, eax
je 0x4022d1
mov eax, 0x34b2c2b4
cmp esi, eax
jne 0x4023df
xor eax, eax
mov edx, 0x4c5c0d8e
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x1c]
mov ecx, 0x778a108c
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push 0x1ff
call fcn.00402e7c
pop ecx
call eax
test eax, eax
mov dword [ebp - 0x10], eax
mov esi, 0x266d5a33
mov eax, 0x33839ab1
cmovne esi, eax
jmp 0x4021b8
test edi, edi
je 0x4022e4
mov ecx, 0x4091b0
call fcn.00402638
mov ecx, eax
mov dword [ebp - 4], ecx
xor eax, eax
mov edx, 0xc5ae4afa
push eax
push 0x844cc300
push eax
push eax
push eax
push dword [ebp + 8]
push ecx
push dword [ebp - 0x10]
mov ecx, 0x778a108c
push 0xfa
call fcn.00402e7c
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
call fcn.00402edd
mov eax, dword [ebp - 0xc]
mov esi, 0x1c7cb699
test eax, eax
mov ecx, 0x173603d
cmovne esi, ecx
jmp 0x4021bb
mov eax, 0x200
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00402f38
mov esi, eax
test esi, esi
je 0x40237b
lea eax, [ebp - 0x18]
mov edx, 0xd5f37586
push eax
push esi
push 0
push 0x138
mov ecx, 0xce6d5b9
call fcn.00402e7c
pop ecx
call eax
test eax, eax
jne 0x402374
push ecx
push ecx
mov edx, esi
call fcn.00403ce8
pop ecx
pop ecx
mov dword [ebp - 8], eax
mov ecx, esi
call fcn.00402edd
mov esi, 0x28b2c69a
jmp 0x4021b8
mov edx, dword [ebp + 0x14]
mov ecx, eax
call fcn.0040200a
xor ecx, ecx
mov esi, 0x258d3247
inc ecx
test eax, eax
cmovne ebx, ecx
jmp 0x4021b8
xor eax, eax
mov ecx, 0x778a108c
push eax
push eax
push eax
push eax
push edx
push 0xf4
mov edx, 0xc387fb6c
call fcn.00402e7c
pop ecx
call eax
mov ecx, dword [ebp - 8]
test eax, eax
mov dword [ebp - 0x14], eax
mov esi, 0x20576f01
mov eax, 0x34b2c2b4
cmovne esi, eax
call fcn.00402edd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp esi, 0x20576f01
je 0x402406
jmp 0x402156
push dword [ebp - 0x14]
mov edx, 0x6dea43bf
mov ecx, 0x778a108c
push 0x2cc
call fcn.00402e7c
pop ecx
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret