Function at 0x402143
Capabilities:
Check http status code

Disassembly:
sub esp, 0x1c
and dword [esp + 0x10], 0
push ebx
push ebp
push esi
mov dword [esp + 0x24], ecx
mov esi, 0x3a05e904
mov ebp, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x20], edx
xor edx, edx
push edi
mov edi, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
cmp esi, 0x1fd030db
jg 0x4022f5
je 0x4022d3
cmp esi, 0xfd4cb77
je 0x4022b1
cmp esi, 0x12eb3d56
je 0x40226e
cmp esi, 0x146457b1
je 0x40222f
cmp esi, 0x19ff13c0
je 0x402424
cmp esi, 0x1f543030
jne 0x402417
test edi, edi
je 0x4021dc
mov ecx, 0x409180
call fcn.00402686
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
xor edx, edx
push edx
push 0x844cc300
push edx
push edx
push edx
push dword [esp + 0x44]
mov edx, 0x9214309d
push ecx
push eax
push 0x9c
mov ecx, 0x39a9092e
call fcn.00402eec
pop ecx
call eax
mov ecx, dword [esp + 0x10]
mov ebp, eax
call fcn.00402f47
test ebp, ebp
mov esi, 0x1fd030db
mov eax, 0x35230c47
cmovne esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x402176
xor eax, eax
mov ecx, 0x39a9092e
push eax
push eax
push eax
push eax
push edx
push 0xd7
mov edx, 0x943d810b
call fcn.00402eec
pop ecx
call eax
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x1c], eax
mov esi, 0x17b0e2e9
mov eax, 0x12eb3d56
cmovne esi, eax
call fcn.00402f47
jmp 0x40240f
xor eax, eax
mov edx, 0x1be677e9
push eax
push eax
push 3
push eax
push eax
push dword [esp + 0x38]
mov ecx, 0x39a9092e
push dword [esp + 0x40]
push dword [esp + 0x38]
push 0x12e
call fcn.00402eec
pop ecx
call eax
test eax, eax
mov dword [esp + 0x18], eax
mov esi, 0x19ff13c0
mov ecx, 0x1f543030
cmovne esi, ecx
jmp 0x402222
push ebp
push 0xf2
mov edx, 0x3a5039d8
mov ecx, 0x39a9092e
call fcn.00402eec
pop ecx
call eax
mov esi, 0x1fd030db
jmp 0x40221e
push eax
push 0xf2
mov edx, 0x3a5039d8
mov ecx, 0x39a9092e
call fcn.00402eec
pop ecx
call eax
mov esi, 0x19ff13c0
jmp 0x40221e
cmp esi, 0x2294e8c1
je 0x4023f7
cmp esi, 0x28e7c1c4
je 0x40239e
cmp esi, 0x2c308692
je 0x40237d
cmp esi, 0x35230c47
je 0x402333
cmp esi, 0x3a05e904
jne 0x402417
mov esi, 0x28e7c1c4
jmp 0x402176
test edi, edi
je 0x40233c
mov ecx, dword [edi + 4]
jmp 0x40233e
xor ecx, ecx
test edi, edi
je 0x402346
mov eax, dword [edi]
jmp 0x402348
xor eax, eax
push ecx
push eax
push 0xffffffffffffffff
push dword [esp + 0x40]
mov edx, 0x4b0d1e3f
mov ecx, 0x39a9092e
push ebp
push 0x194
call fcn.00402eec
pop ecx
call eax
neg eax
sbb esi, esi
and esi, 0x1c5bbb1b
add esi, 0xfd4cb77
jmp 0x40221e
push 0x13
pop edx
mov ecx, ebp
call fcn.00402103
cmp eax, 0xc8
mov esi, 0xfd4cb77
mov eax, 0x2294e8c1
cmove esi, eax
jmp 0x40221e
mov eax, 0x200
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.00402f9c
mov esi, eax
test esi, esi
je 0x4023ed
lea eax, [esp + 0x20]
mov edx, 0x82490fe1
push eax
push esi
push 0
push 0x19a
mov ecx, 0x42c5cc1b
call fcn.00402eec
pop ecx
call eax
test eax, eax
jne 0x4023e6
push ecx
push ecx
mov edx, esi
call fcn.00403cdb
pop ecx
pop ecx
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00402f47
mov esi, 0x146457b1
jmp 0x40221e
mov edx, dword [esp + 0x3c]
mov ecx, ebp
call fcn.00402025
xor ecx, ecx
mov esi, 0xfd4cb77
inc ecx
test eax, eax
cmovne ebx, ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp esi, 0x17b0e2e9
je 0x40243f
jmp 0x402172
push dword [esp + 0x1c]
mov edx, 0x3a5039d8
mov ecx, 0x39a9092e
push 0xf2
call fcn.00402eec
pop ecx
call eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x1c
ret