Function at 0x402119
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp - 8]
push ebx
push esi
mov dword [ebp - 0x1c], edx
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x20], ecx
and dword [ebp - 0x10], edx
mov esi, 0x35b3083
and dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], edx
cmp esi, 0x191f13ac
jg 0x4022c7
je 0x4022a8
cmp esi, 0x35b3083
je 0x40229e
cmp esi, 0x4571df5
je 0x402285
cmp esi, 0xb34fc35
je 0x40222f
mov eax, 0xc0c121a
cmp esi, eax
je 0x4021cd
cmp esi, 0xee6b35f
jne 0x4023f6
xor eax, eax
mov edx, 0xb89e9bf9
push eax
push eax
push eax
push eax
push dword [ebp - 0x10]
mov ecx, 0x6c7ada81
push 0x28c
call fcn.00402ec3
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x14], eax
mov esi, 0x2aef0bfc
mov eax, 0x2b8ee6d7
cmovne esi, eax
call fcn.00402f24
jmp 0x4023f3
test edi, edi
je 0x4021e3
mov ecx, 0x409180
call fcn.00402646
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov dword [ebp - 4], edx
xor eax, eax
push eax
push 0x844cc300
push eax
push eax
push eax
push dword [ebp + 8]
push edx
push ecx
push 0x2c
mov edx, 0xbeb72a6f
mov ecx, 0x6c7ada81
call fcn.00402ec3
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
call fcn.00402f24
mov eax, dword [ebp - 8]
mov esi, 0x27070249
test eax, eax
mov ecx, 0x2ea56f8c
cmovne esi, ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
jmp 0x402143
mov eax, 0x200
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00402f7f
mov esi, eax
test esi, esi
je 0x40227b
lea eax, [ebp - 0x18]
mov edx, 0xaeea1513
push eax
push esi
push 0
push 0xff
mov ecx, 0x17161fb4
call fcn.00402ec3
pop ecx
call eax
test eax, eax
jne 0x402274
push ecx
push ecx
mov edx, esi
call fcn.00403d1b
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, esi
call fcn.00402f24
mov esi, 0xee6b35f
mov eax, dword [ebp - 8]
jmp 0x402224
mov edx, dword [ebp + 0x14]
mov ecx, eax
call fcn.00401fea
xor ecx, ecx
mov esi, 0x191f13ac
inc ecx
test eax, eax
cmovne ebx, ecx
jmp 0x402280
mov esi, 0xb34fc35
jmp 0x402143
push eax
push 0x244
mov edx, 0x16f3232a
mov ecx, 0x6c7ada81
call fcn.00402ec3
pop ecx
call eax
mov esi, 0x27070249
jmp 0x402280
cmp esi, 0x19c52444
je 0x4023d4
cmp esi, 0x27070249
je 0x4023b2
mov ecx, 0x2b8ee6d7
cmp esi, ecx
je 0x40236e
mov ecx, 0x2ea56f8c
cmp esi, ecx
je 0x402322
cmp esi, 0x30001f73
jne 0x4023f6
push 0x13
pop edx
mov ecx, eax
call fcn.004020d9
cmp eax, 0xc8
mov esi, 0x191f13ac
mov eax, 0x4571df5
cmove esi, eax
jmp 0x402280
test edi, edi
je 0x40232b
mov ecx, dword [edi + 4]
jmp 0x40232d
xor ecx, ecx
test edi, edi
je 0x402335
mov eax, dword [edi]
jmp 0x402337
xor eax, eax
push ecx
push eax
mov eax, dword [ebp - 8]
mov edx, 0x67ae04cd
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov ecx, 0x6c7ada81
push eax
push 0x203
call fcn.00402ec3
pop ecx
call eax
neg eax
sbb esi, esi
and esi, 0x16e10bc7
add esi, 0x191f13ac
jmp 0x402280
xor eax, eax
mov edx, 0x37456d1b
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x1c]
mov ecx, 0x6c7ada81
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push 0x2e1
call fcn.00402ec3
pop ecx
call eax
mov ecx, eax
mov esi, 0x19c52444
test ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, 0xc0c121a
cmovne esi, eax
mov eax, dword [ebp - 8]
jmp 0x402227
push ecx
push 0x244
mov edx, 0x16f3232a
mov ecx, 0x6c7ada81
call fcn.00402ec3
pop ecx
call eax
mov esi, 0x19c52444
jmp 0x402280
push dword [ebp - 0x14]
mov edx, 0x16f3232a
mov ecx, 0x6c7ada81
push 0x244
call fcn.00402ec3
pop ecx
call eax
mov esi, 0x2aef0bfc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp esi, 0x2aef0bfc
jne 0x402143
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret